i've got a question about JTextField
background color. How can I change it in enabled text field (while editing) ? setBackground
works only for disabled text field. UIManager.put
can change this background for all of my text field in window but i want to do that only for one of them.
Ok, there is what i needed:
Properties props = new Properties(); props.put("showFocusFrame", "off");
((AbstractLookAndFeel)UIManager.getLookAndFeel()).getTheme().setProperties(props);