摘要:
代码如下:import java.awt.FlowLayout;import java.awt.Frame;import java.awt.GridLayout;import javax.swing.BorderFactory;import javax.swing.ImageIcon;import javax.swing.JButton;import javax.swing.JFrame;import javax.swing.JLabel;import javax.swing.JPanel;public class JFrameBackground extends JFrame {public 阅读全文
摘要:
先调用setSize() 最后调用setVisible() 阅读全文