摘要: import javax.swing.ImageIcon;import javax.swing.JFrame;import javax.swing.JLabel;import javax.swing.JPanel;public class MainJFrame extends JFrame { public MainJFrame() { //设置标题 super("JFram设置背景图片(Cannel_2020)"); //设置大小 setSize(500, 400); //设置位置 setLocation(200, 50); //背景图片的路径。(相对路径或者绝对路径。本 阅读全文
posted @ 2011-12-12 14:04 我的IT技术 阅读(13558) 评论(0) 推荐(0)