linux - How can I check is desktop HighContrast turned on by using Java? -


i've encountered problem need know "highcontrast" turned on operating system.

that's how in windows os:

toolkit toolkit = toolkit.getdefaulttoolkit(); boolean highcontrast = (boolean)toolkit.getdesktopproperty("win.highcontrast.on"); 

but want know how can check on mac/unix os. if have ideas on how this, grateful you.

thanks


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -