high-contrast

How do I detect if a display is in High Contrast mode?

I'm testing my company's established Swing application for accessibility issues. With high contrast mode enabled on my PC certain parts of this application are rendered properly (white-on-black) and some incorrectly (black-on-white). The bits that are correct are the native components (JButton, JLabel and whatnot) and third party compo...

JTree view under High Contrast Mode

Hi, I have one issue related to JTree swing component, I want to use JTree under Windows high contrast Mode, but it never shows tree nodes according to windows High contrast theme. Jtree view Under Normal Mode Jtree view Under High Contrast Mode Eclipse Package Explorer view Under Normal Mode Eclipse Package Explorer view Un...