litesoft
@ 947
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
// This Source Code is in the Public Domain per: http://unlicense.org package org.litesoft.aokeyhole.swing.simplecomponents; import javax.swing.*; public class JCheckBoxPlus extends JCheckBox { @Override public void setEnabled( boolean enabled ) { super.setEnabled( enabled ); setBackground( ComponentColors.get( enabled ) ); } } |