Search
 
SCRIPT & CODE EXAMPLE
 

JAVA

turn off focus border java

// Removes the dotted border around controls which is not consistent with Windows
        UIManager.put("Button.focus", new ColorUIResource(new Color(0, 0, 0, 0)));
        UIManager.put("ToggleButton.focus", new ColorUIResource(new Color(0, 0, 0, 0)));

        // ways to remove it from other controls...
        UIManager.put("CheckBox.focus", new ColorUIResource(new Color(0, 0, 0, 0)));
        UIManager.put("TabbedPane.focus", new ColorUIResource(new Color(0, 0, 0, 0)));
        UIManager.put("RadioButton.focus", new ColorUIResource(new Color(0, 0, 0, 0)));
        UIManager.put("Slider.focus", new ColorUIResource(new Color(0, 0, 0, 0)));

        // figure out combobox
        UIManager.put("ComboBox.focus", new ColorUIResource(new Color(0, 0, 0, 0)));
Comment

PREVIOUS NEXT
Code Example
Java :: protocollib onenable 
Java :: java kommentointi 
Java :: java ee service formparam optional 
Java :: how to convert int to string java 
Java :: android how to start a new activity on button click 
Java :: java get amount of enums 
Java :: how to open whatsapp using an intent in your android app 
Java :: method to check parameters in java 
Java :: cast double to string java 
Java :: scanner in java 
Java :: comment out and uncomment in netbeans java 
Java :: android volley 
Java :: how to encrypt a n image using java 
Java :: set drawableleft programmatically android 
Java :: frequency of number in java using hashmap using getordefault 
Java :: how to get date android studio 
Java :: java execute funtions at same time 
Java :: java par o impar 
Java :: get block player is looking at bukkit 
Java :: java switch class instanceof 
Java :: primefaces calendar min date validation 
Java :: java http request post 
Java :: java switch 
Java :: compare date with current date in android 
Java :: arraylist string to string array 
Java :: how to make a char uppercase in java 
Java :: java get cunnect date time 
Java :: java string builder 
Java :: java array to list 
Java :: java foreach list 
ADD CONTENT
Topic
Content
Source link
Name
9+2 =