自制Border

public class BorderTest extends AbstractBorder{ protected Color lineColor; protected int thick; public BorderTest() { this(Color.black, 6); } p...

2013-11-16 10:46:04

阅读数 647

评论数 0

Border边框代码1

public class BorderTest extends JApplet{ public void init() { JPanel jpanel = new AllBordersPanel(); getContentPane().add(jpanel, BorderLayout.CEN...

2013-11-16 09:43:01

阅读数 1502

评论数 0

JRadioButton单选按钮代码2

public class JRadioButtonTest extends JApplet{ public JRadioButtonTest () { Container contentPane = getContentPane(); Icon icon = new ImageIcon(&q...

2013-11-16 09:26:16

阅读数 646

评论数 0

JRadioButton单选按钮代码1

public class JRadioButtonTest extends JApplet{ public void init() { Container contentPane = getContentPane(); contentPane.add(new PrintRangePa...

2013-11-16 09:20:29

阅读数 734

评论数 0

JCheckBox复选框代码1

public class JToggleButtonTest extends JApplet{ public void init() { Container contentPane = getContentPane(); contentPane.add(new PrintOptionsPanel(...

2013-11-16 09:09:28

阅读数 730

评论数 0

JToggleButton反转按钮代码2

public class JToggleButtonTest extends JApplet{ public JToggleButtonTest() { Container contentPane = getContentPane(); ButtonGroup group = new Button...

2013-11-16 09:03:19

阅读数 834

评论数 0

JToggleButton反转按钮代码1

public class JToggleButtonTest extends JApplet{ public JToggleButtonTest() { Container contentPane = getContentPane(); ImageIcon icon = new ImageI...

2013-11-16 08:51:32

阅读数 713

评论数 0

提示
确定要删除当前文章?
取消 删除
关闭
关闭