2011年12月25日

Swing BorderFactory类 (一)

摘要: javax.swing.BorderFactory类是直接继承于java.lang.Object类的, 它定义了34个类方法 1 public class BorderFactory extends Object 2 { 3 public static Border createBevelBorder(int type); 4 public static Border createBevelBorder(int type, Color highlight, Color shadow); 5 public static Border createBevelBorder(i... 阅读全文

posted @ 2011-12-25 21:50 cssin 阅读(1540) 评论(0) 推荐(0)

Swing JFrame API 常用方法

摘要: 1. 构造和设置JFrameJFrame()JFrame(String)Create a frame that is initially invisible. TheStringargument provides a title for the frame. To make the frame visible, invokesetVisible(true)on it.void setDefaultCloseOperation(int)int getDefaultCloseOperation()Set or get the operation that occurs when the user 阅读全文

posted @ 2011-12-25 14:14 cssin 阅读(2034) 评论(0) 推荐(0)

导航