Isn’t that what -Dapple.awt.application.appearance=system does?

> On Nov 30, 2020, at 12:56 AM, Prasanta Sadhukhan 
> <psadhuk...@openjdk.java.net> wrote:
> 
> On Mon, 30 Nov 2020 04:49:25 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> 
> wrote:
> 
>>> Since color of tabpane is controlled by Apple, Can you point me to the code 
>>> where we call Apple api to draw the color of tabpane?
>> 
>> Since the apple forum post is still unanswered and if we want it to be fixed 
>> for JDK16, I dont see any other alternative than to fix by what I did in the 
>> 1st iteration of this by hardcoding. I dont think we are going to enable 
>> dark mode in JDk16 so we will have time to think on that when we enable that 
>> and hopefully Apple will come back by that time and we can revisit this.
> 
> I dot see any further legibility issue with dark mode in macos11 (set with 
> General->Theme)with SwingSet2 unless there's a dark mode commandline option 
> to enable it for Java, which I am unaware of.
> 
> -------------
> 
> PR: https://git.openjdk.java.net/jdk/pull/1182
> 

Reply via email to