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
Post a Comment