1 7 8 package javax.swing.plaf.basic; 9 10 import javax.swing.*; 11 12 import java.awt.*; 13 import java.awt.event.*; 14 import javax.swing.plaf.*; 15 import java.io.Serializable ; 16 17 18 33 public class BasicCheckBoxUI extends BasicRadioButtonUI { 34 35 private final static BasicCheckBoxUI checkboxUI = new BasicCheckBoxUI (); 36 37 private final static String propertyPrefix = "CheckBox" + "."; 38 39 public static ComponentUI createUI(JComponent b) { 43 return checkboxUI; 44 } 45 46 public String getPropertyPrefix() { 47 return propertyPrefix; 48 } 49 50 } 51 | Popular Tags |