1 21 22 package org.armedbear.j; 23 24 import java.awt.Graphics ; 25 import javax.swing.JCheckBox ; 26 27 public final class CheckBox extends JCheckBox  28 { 29 public CheckBox(String text) 30 { 31 super(text); 32 } 33 34 public CheckBox(String text, boolean selected) 35 { 36 super(text, selected); 37 } 38 39 public void paintComponent(Graphics g) 40 { 41 Display.setRenderingHints(g); 42 super.paintComponent(g); 43 } 44 } 45 | Popular Tags |