JAVA如何在为窗口设置背景图片(1.JFrame)

JAVA如何在为窗口设置背景图片


  1. 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    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);  
            //背景图片的路径。(相对路径或者绝对路径。本例图片放于"java项目名"的文件下)   
            String path = "background.jpg";  
            // 背景图片   
            ImageIcon background = new ImageIcon(path);  
            // 把背景图片显示在一个标签里面   
            JLabel label = new JLabel(background);  
            // 把标签的大小位置设置为图片刚好填充整个面板   
            label.setBounds(0, 0, this.getWidth(), this.getHeight());  
            // 把内容窗格转化为JPanel,否则不能用方法setOpaque()来使内容窗格透明   
            JPanel imagePanel = (JPanel) this.getContentPane();  
            imagePanel.setOpaque(false);  
            // 把背景图片添加到分层窗格的最底层作为背景   
            this.getLayeredPane().add(label, new Integer(Integer.MIN_VALUE));  
            //设置可见   
            setVisible(true);  
            //点关闭按钮时退出   
            setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);  
        }  
      
        public static void main(String[] args) {  
            new MainJFrame();  
        }  
    }  
    
    
    
    
    <div class="reader-txt-layer" style="margin: 0px; padding: 0px; -webkit-transform: scale(0.1); -webkit-transform-origin: 0% 0%; position: absolute; top: 0px; left: 0px; width: 0px; height: 0px; z-index: 1; zoom: 1; color: rgb(51, 51, 51); font-family: 'Microsoft YaHei', 微软雅黑, 黑体, 宋体; line-height: 15px; "><div class="ie-fix" style="margin: 0px; padding: 0px; "><p class="reader-word-layer reader-word-s1-6" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 256px; font-family: 'Cambria Bold', a65b003010661ed9ad51f3790020001, 'Cambria Bold'; font-weight: 600; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 484px; height: 300px; line-height: 300px; top: 1449px; left: 2779px; z-index: 2; letter-spacing: -4.28px; ">
    </p><p class="reader-word-layer reader-word-s1-6" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 256px; font-family: 'Cambria Bold', a65b003010661ed9ad51f3790020001, 'Cambria Bold'; font-weight: 600; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 484px; height: 300px; line-height: 300px; top: 1449px; left: 2779px; z-index: 2; letter-spacing: -4.28px; ">
    </p><p class="reader-word-layer reader-word-s1-6" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 256px; font-family: 'Cambria Bold', a65b003010661ed9ad51f3790020001, 'Cambria Bold'; font-weight: 600; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 484px; height: 300px; line-height: 300px; top: 1449px; left: 2779px; z-index: 2; letter-spacing: -4.28px; ">
    </p><p class="reader-word-layer reader-word-s1-6" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 256px; font-family: 'Cambria Bold', a65b003010661ed9ad51f3790020001, 'Cambria Bold'; font-weight: 600; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 484px; height: 300px; line-height: 300px; top: 1449px; left: 2779px; z-index: 2; letter-spacing: -4.28px; ">
    </p><p class="reader-word-layer reader-word-s1-6" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 256px; font-family: 'Cambria Bold', a65b003010661ed9ad51f3790020001, 'Cambria Bold'; font-weight: 600; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 484px; height: 300px; line-height: 300px; top: 1449px; left: 2779px; z-index: 2; letter-spacing: -4.28px; ">
    </p><p class="reader-word-layer reader-word-s1-6" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 256px; font-family: 'Cambria Bold', a65b003010661ed9ad51f3790020001, 'Cambria Bold'; font-weight: 600; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 484px; height: 300px; line-height: 300px; top: 1449px; left: 2779px; z-index: 2; letter-spacing: -4.28px; ">
    </p><p class="reader-word-layer reader-word-s1-6" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 256px; font-family: 'Cambria Bold', a65b003010661ed9ad51f3790020001, 'Cambria Bold'; font-weight: 600; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 484px; height: 300px; line-height: 300px; top: 1449px; left: 2779px; z-index: 2; letter-spacing: -4.28px; ">
    </p><p class="reader-word-layer reader-word-s1-6" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 256px; font-family: 'Cambria Bold', a65b003010661ed9ad51f3790020001, 'Cambria Bold'; font-weight: 600; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 484px; height: 300px; line-height: 300px; top: 1449px; left: 2779px; z-index: 2; letter-spacing: -4.28px; ">
    </p><p class="reader-word-layer reader-word-s1-6" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 256px; font-family: 'Cambria Bold', a65b003010661ed9ad51f3790020001, 'Cambria Bold'; font-weight: 600; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 484px; height: 300px; line-height: 300px; top: 1449px; left: 2779px; z-index: 2; letter-spacing: -4.28px; ">
    </p><p class="reader-word-layer reader-word-s1-6" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 256px; font-family: 'Cambria Bold', a65b003010661ed9ad51f3790020001, 'Cambria Bold'; font-weight: 600; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 484px; height: 300px; line-height: 300px; top: 1449px; left: 2779px; z-index: 2; letter-spacing: -4.28px; ">
    </p><p class="reader-word-layer reader-word-s1-6" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 256px; font-family: 'Cambria Bold', a65b003010661ed9ad51f3790020001, 'Cambria Bold'; font-weight: 600; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 484px; height: 300px; line-height: 300px; top: 1449px; left: 2779px; z-index: 2; letter-spacing: -4.28px; ">
    </p><p class="reader-word-layer reader-word-s1-6" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 256px; font-family: 'Cambria Bold', a65b003010661ed9ad51f3790020001, 'Cambria Bold'; font-weight: 600; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 484px; height: 300px; line-height: 300px; top: 1449px; left: 2779px; z-index: 2; letter-spacing: -4.28px; ">
    </p><p class="reader-word-layer reader-word-s1-6" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 256px; font-family: 'Cambria Bold', a65b003010661ed9ad51f3790020001, 'Cambria Bold'; font-weight: 600; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 484px; height: 300px; line-height: 300px; top: 1449px; left: 2779px; z-index: 2; letter-spacing: -4.28px; ">
    </p><p class="reader-word-layer reader-word-s1-6" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 256px; font-family: 'Cambria Bold', a65b003010661ed9ad51f3790020001, 'Cambria Bold'; font-weight: 600; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 484px; height: 300px; line-height: 300px; top: 1449px; left: 2779px; z-index: 2; letter-spacing: -4.28px; ">
    </p><p class="reader-word-layer reader-word-s1-6" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 256px; font-family: 'Cambria Bold', a65b003010661ed9ad51f3790020001, 'Cambria Bold'; font-weight: 600; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 484px; height: 300px; line-height: 300px; top: 1449px; left: 2779px; z-index: 2; letter-spacing: -4.28px; ">
    </p><p class="reader-word-layer reader-word-s1-6" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 256px; font-family: 'Cambria Bold', a65b003010661ed9ad51f3790020001, 'Cambria Bold'; font-weight: 600; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 484px; height: 300px; line-height: 300px; top: 1449px; left: 2779px; z-index: 2; letter-spacing: -4.28px; ">
    </p><p class="reader-word-layer reader-word-s1-6" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 256px; font-family: 'Cambria Bold', a65b003010661ed9ad51f3790020001, 'Cambria Bold'; font-weight: 600; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 484px; height: 300px; line-height: 300px; top: 1449px; left: 2779px; z-index: 2; letter-spacing: -4.28px; ">
    </p><p class="reader-word-layer reader-word-s1-6" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 256px; font-family: 'Cambria Bold', a65b003010661ed9ad51f3790020001, 'Cambria Bold'; font-weight: 600; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 484px; height: 300px; line-height: 300px; top: 1449px; left: 2779px; z-index: 2; letter-spacing: -4.28px; ">Java</p><p class="reader-word-layer reader-word-s1-9" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 256px; font-weight: 600; font-family: 宋体, a65b003010661ed9ad51f3790030001, 宋体; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 774px; height: 300px; line-height: 300px; top: 1449px; left: 3327px; z-index: 3; letter-spacing: 1.7999999999999998px; ">中有关</p><p class="reader-word-layer reader-word-s1-6" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 256px; font-family: 'Cambria Bold', a65b003010661ed9ad51f3790020001, 'Cambria Bold'; font-weight: 600; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 754px; height: 300px; line-height: 300px; top: 1449px; left: 4169px; z-index: 4; letter-spacing: -1.73px; ">Frame</p><p class="reader-word-layer reader-word-s1-9" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 256px; font-weight: 600; font-family: 宋体, a65b003010661ed9ad51f3790030001, 宋体; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 1809px; height: 300px; line-height: 300px; top: 1449px; left: 4988px; z-index: 5; letter-spacing: 1.79px; ">背景的设置总结</p><p class="reader-word-layer reader-word-s1-6" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 256px; font-family: simsun; font-weight: 600; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 56px; height: 300px; line-height: 300px; top: 1449px; left: 6800px; z-index: 6; "> </p><p class="reader-word-layer reader-word-s1-15" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-family: 宋体, a65b003010661ed9ad51f3790030001, 宋体; font-size: 169px; letter-spacing: -0.74px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 2537px; height: 169px; line-height: 169px; top: 1943px; left: 1786px; z-index: 7; ">我们在进行图形用户界面编程时,</p><p class="reader-word-layer reader-word-s1-16" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-family: 宋体, a65b003010661ed9ad51f3790030001, 宋体; font-size: 169px; letter-spacing: -0.65px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 1523px; height: 169px; line-height: 169px; top: 1943px; left: 4297px; z-index: 8; ">为了做出一个漂亮、</p><p class="reader-word-layer reader-word-s1-17" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-family: 宋体, a65b003010661ed9ad51f3790030001, 宋体; font-size: 169px; letter-spacing: -0.8699999999999999px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 1183px; height: 169px; line-height: 169px; top: 1943px; left: 5794px; z-index: 9; ">个性化的界面,</p><p class="reader-word-layer reader-word-s1-17" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-family: 宋体, a65b003010661ed9ad51f3790030001, 宋体; font-size: 169px; letter-spacing: -0.8699999999999999px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 1183px; height: 169px; line-height: 169px; top: 1943px; left: 6952px; z-index: 10; ">那么界面的背景</p><p class="reader-word-layer reader-word-s1-13" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-family: 宋体, a65b003010661ed9ad51f3790030001, 宋体; font-size: 169px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 1185px; height: 169px; line-height: 169px; top: 2194px; left: 1448px; z-index: 11; letter-spacing: -0.5800000000000001px; ">就必须考虑了。</p><p class="reader-word-layer reader-word-s1-16" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-family: 宋体, a65b003010661ed9ad51f3790030001, 宋体; font-size: 169px; letter-spacing: -0.65px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 1523px; height: 169px; line-height: 169px; top: 2194px; left: 2605px; z-index: 12; ">要想灵活使用背景,</p><p class="reader-word-layer reader-word-s1-17" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-family: 宋体, a65b003010661ed9ad51f3790030001, 宋体; font-size: 169px; letter-spacing: -0.8699999999999999px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 845px; height: 169px; line-height: 169px; top: 2194px; left: 4100px; z-index: 13; ">就一定要对</p><p class="reader-word-layer reader-word-s1-18" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-family: Calibri, a65b003010661ed9ad51f3790010001, Calibri; font-size: 169px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 405px; height: 169px; line-height: 169px; top: 2194px; left: 4988px; z-index: 14; letter-spacing: -1.8199999999999998px; ">frame</p><p class="reader-word-layer reader-word-s1-17" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-family: 宋体, a65b003010661ed9ad51f3790030001, 宋体; font-size: 169px; letter-spacing: -0.8699999999999999px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 1521px; height: 169px; line-height: 169px; top: 2194px; left: 5437px; z-index: 15; ">的基本有一些了解,</p><p class="reader-word-layer reader-word-s1-17" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-family: 宋体, a65b003010661ed9ad51f3790030001, 宋体; font-size: 169px; letter-spacing: -0.8699999999999999px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 507px; height: 169px; line-height: 169px; top: 2194px; left: 6931px; z-index: 16; ">因为在</p><p class="reader-word-layer reader-word-s1-18" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-family: Calibri, a65b003010661ed9ad51f3790010001, Calibri; font-size: 169px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 272px; height: 169px; line-height: 169px; top: 2194px; left: 7482px; z-index: 17; letter-spacing: -2.37px; ">java</p><p class="reader-word-layer reader-word-s1-13" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-family: 宋体, a65b003010661ed9ad51f3790030001, 宋体; font-size: 169px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 337px; height: 169px; line-height: 169px; top: 2194px; left: 7797px; z-index: 18; letter-spacing: -1.7999999999999998px; ">编程</p><p class="reader-word-layer reader-word-s1-19" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-family: 宋体, a65b003010661ed9ad51f3790030001, 宋体; font-size: 169px; letter-spacing: -0.77px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 6257px; height: 169px; line-height: 169px; top: 2445px; left: 1448px; z-index: 19; ">中没有直接设置背景的有关方法,了解一些基本知识后我们就可以随意设置背景了。</p><p class="reader-word-layer reader-word-s1-18" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-family: simsun; font-size: 169px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 38px; height: 169px; line-height: 169px; top: 2445px; left: 7704px; z-index: 20; "> </p><p class="reader-word-layer reader-word-s1-17" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-family: 宋体, a65b003010661ed9ad51f3790030001, 宋体; font-size: 169px; letter-spacing: -0.8699999999999999px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 1521px; height: 169px; line-height: 169px; top: 2696px; left: 1786px; z-index: 21; ">首先还是要了解框架</p><p class="reader-word-layer reader-word-s1-20" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-family: Calibri, a65b003010661ed9ad51f3790010001, Calibri; font-size: 169px; letter-spacing: -1.29px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 486px; height: 169px; line-height: 169px; top: 2696px; left: 3351px; z-index: 22; ">JFrame</p><p class="reader-word-layer reader-word-s1-17" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-family: 宋体, a65b003010661ed9ad51f3790030001, 宋体; font-size: 169px; letter-spacing: -0.8699999999999999px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 1183px; height: 169px; line-height: 169px; top: 2696px; left: 3880px; z-index: 23; ">中的层次结构。</p><p class="reader-word-layer reader-word-s1-20" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-family: Calibri, a65b003010661ed9ad51f3790010001, Calibri; font-size: 169px; letter-spacing: -1.29px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 486px; height: 169px; line-height: 169px; top: 2696px; left: 5025px; z-index: 24; ">JFrame</p><p class="reader-word-layer reader-word-s1-13" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-family: 宋体, a65b003010661ed9ad51f3790030001, 宋体; font-size: 169px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 2029px; height: 169px; line-height: 169px; top: 2696px; left: 5554px; z-index: 25; letter-spacing: -0.79px; ">中的层次分布及相对关系是</p><p class="reader-word-layer reader-word-s1-18" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-family: Calibri, a65b003010661ed9ad51f3790010001, Calibri; font-size: 169px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 45px; height: 169px; line-height: 169px; top: 2696px; left: 7582px; z-index: 26; ">:</p><p class="reader-word-layer reader-word-s1-13" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-family: 宋体, a65b003010661ed9ad51f3790030001, 宋体; font-size: 169px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 509px; height: 169px; line-height: 169px; top: 2696px; left: 7627px; z-index: 27; ">最底层</p><p class="reader-word-layer reader-word-s1-13" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-family: 宋体, a65b003010661ed9ad51f3790030001, 宋体; font-size: 169px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 339px; height: 169px; line-height: 169px; top: 2947px; left: 1448px; z-index: 28; ">是:</p><p class="reader-word-layer reader-word-s1-18" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-family: Calibri, a65b003010661ed9ad51f3790010001, Calibri; font-size: 169px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 714px; height: 169px; line-height: 169px; top: 2947px; left: 1788px; z-index: 29; letter-spacing: -1.3px; ">JRootPane</p><p class="reader-word-layer reader-word-s1-13" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-family: 宋体, a65b003010661ed9ad51f3790030001, 宋体; font-size: 169px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 1014px; height: 169px; line-height: 169px; top: 2947px; left: 2502px; z-index: 30; letter-spacing: -0.98px; ">;第二层是:</p><p class="reader-word-layer reader-word-s1-21" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-family: Calibri, a65b003010661ed9ad51f3790010001, Calibri; font-size: 169px; letter-spacing: -1.35px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 725px; height: 169px; line-height: 169px; top: 2947px; left: 3517px; z-index: 31; ">JlayerPane</p><p class="reader-word-layer reader-word-s1-13" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-family: 宋体, a65b003010661ed9ad51f3790030001, 宋体; font-size: 169px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 1016px; height: 169px; line-height: 169px; top: 2947px; left: 4243px; z-index: 32; letter-spacing: -0.63px; ">;最上层就是</p><p class="reader-word-layer reader-word-s1-18" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-family: Calibri, a65b003010661ed9ad51f3790010001, Calibri; font-size: 169px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 928px; height: 169px; line-height: 169px; top: 2947px; left: 5344px; z-index: 33; letter-spacing: -1.19px; ">ContentPane,</p><p class="reader-word-layer reader-word-s1-13" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-family: 宋体, a65b003010661ed9ad51f3790030001, 宋体; font-size: 169px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 1861px; height: 169px; line-height: 169px; top: 2947px; left: 6273px; z-index: 34; letter-spacing: -0.6900000000000001px; ">也正是我们常说的内容面</p><p class="reader-word-layer reader-word-s1-13" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-family: 宋体, a65b003010661ed9ad51f3790030001, 宋体; font-size: 169px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 2705px; height: 169px; line-height: 169px; top: 3198px; left: 1448px; z-index: 35; letter-spacing: -0.81px; ">板。所以一般我们拖放的控件就是在</p><p class="reader-word-layer reader-word-s1-22" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-family: Calibri, a65b003010661ed9ad51f3790010001, Calibri; font-size: 169px; letter-spacing: -1.31px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 886px; height: 169px; line-height: 169px; top: 3198px; left: 4196px; z-index: 36; ">ContentPane</p><p class="reader-word-layer reader-word-s1-13" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-family: 宋体, a65b003010661ed9ad51f3790030001, 宋体; font-size: 169px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 509px; height: 169px; line-height: 169px; top: 3198px; left: 5124px; z-index: 37; ">层上。</p><p class="reader-word-layer reader-word-s1-18" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-family: simsun; font-size: 169px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 38px; height: 169px; line-height: 169px; top: 3198px; left: 5632px; z-index: 38; "> </p><p class="reader-word-layer reader-word-s1-13" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-family: 宋体, a65b003010661ed9ad51f3790030001, 宋体; font-size: 169px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 3381px; height: 169px; line-height: 169px; top: 3449px; left: 1786px; z-index: 39; letter-spacing: -0.8200000000000001px; ">有了这些常识后我们就可以随意设计背景了。</p><p class="reader-word-layer reader-word-s1-13" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-family: 宋体, a65b003010661ed9ad51f3790030001, 宋体; font-size: 169px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 2365px; height: 169px; line-height: 169px; top: 3449px; left: 5108px; z-index: 40; letter-spacing: -0.9299999999999999px; ">在这里笔者提供两种方法为一个</p><p class="reader-word-layer reader-word-s1-18" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-family: Calibri, a65b003010661ed9ad51f3790010001, Calibri; font-size: 169px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 407px; height: 169px; line-height: 169px; top: 3449px; left: 7517px; z-index: 41; letter-spacing: -1.34px; ">frame</p><p class="reader-word-layer reader-word-s1-13" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-family: 宋体, a65b003010661ed9ad51f3790030001, 宋体; font-size: 169px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 169px; height: 169px; line-height: 169px; top: 3449px; left: 7965px; z-index: 42; ">设</p><p class="reader-word-layer reader-word-s1-15" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-family: 宋体, a65b003010661ed9ad51f3790030001, 宋体; font-size: 169px; letter-spacing: -0.74px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 1353px; height: 169px; line-height: 169px; top: 3700px; left: 1448px; z-index: 43; ">置一张背景图片。</p><p class="reader-word-layer reader-word-s1-18" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-family: simsun; font-size: 169px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 38px; height: 169px; line-height: 169px; top: 3700px; left: 2800px; z-index: 44; "> </p><p class="reader-word-layer reader-word-s1-24" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-weight: 600; font-family: 宋体, a65b003010661ed9ad51f3790030001, 宋体; font-size: 169px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 679px; height: 169px; line-height: 169px; top: 3952px; left: 1448px; z-index: 45; ">方法一:</p><p class="reader-word-layer reader-word-s1-25" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-weight: 600; font-size: 169px; font-family: simsun; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 38px; height: 169px; line-height: 169px; top: 3952px; left: 2126px; z-index: 46; "> </p><p class="reader-word-layer reader-word-s1-24" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-weight: 600; font-family: 宋体, a65b003010661ed9ad51f3790030001, 宋体; font-size: 169px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 343px; height: 169px; line-height: 169px; top: 4203px; left: 1780px; z-index: 47; letter-spacing: 3.59px; ">原理</p><p class="reader-word-layer reader-word-s1-13" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-family: 宋体, a65b003010661ed9ad51f3790030001, 宋体; font-size: 169px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 2235px; height: 169px; line-height: 169px; top: 4203px; left: 2128px; z-index: 48; letter-spacing: 2.06px; ">:我们把图片放置在第二层:</p><p class="reader-word-layer reader-word-s1-21" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-family: Calibri, a65b003010661ed9ad51f3790010001, Calibri; font-size: 169px; letter-spacing: -1.35px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 725px; height: 169px; line-height: 169px; top: 4203px; left: 4369px; z-index: 49; ">JlayerPane</p><p class="reader-word-layer reader-word-s1-13" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-family: 宋体, a65b003010661ed9ad51f3790030001, 宋体; font-size: 169px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 2061px; height: 169px; line-height: 169px; top: 4203px; left: 5180px; z-index: 50; letter-spacing: 1.92px; ">容器上,然后让最上层的:</p><p class="reader-word-layer reader-word-s1-22" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-family: Calibri, a65b003010661ed9ad51f3790010001, Calibri; font-size: 169px; letter-spacing: -1.31px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 886px; height: 169px; line-height: 169px; top: 4203px; left: 7246px; z-index: 51; ">ContentPane</p><p class="reader-word-layer reader-word-s1-15" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-family: 宋体, a65b003010661ed9ad51f3790030001, 宋体; font-size: 169px; letter-spacing: -0.74px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 2537px; height: 169px; line-height: 169px; top: 4454px; left: 1531px; z-index: 52; ">透明,这样就实现了背景的设置。</p><p class="reader-word-layer reader-word-s1-17" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-family: 宋体, a65b003010661ed9ad51f3790030001, 宋体; font-size: 169px; letter-spacing: -0.8699999999999999px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 4225px; height: 169px; line-height: 169px; top: 4454px; left: 3984px; z-index: 53; ">(当然把图片放置最低层,让上面两层透明也是可以的)</p><p class="reader-word-layer reader-word-s1-18" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-family: simsun; font-size: 169px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 38px; height: 169px; line-height: 169px; top: 4454px; left: 8133px; z-index: 54; "> </p><p class="reader-word-layer reader-word-s1-24" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-weight: 600; font-family: 宋体, a65b003010661ed9ad51f3790030001, 宋体; font-size: 169px; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 849px; height: 169px; line-height: 169px; top: 4705px; left: 1448px; z-index: 55; ">具体步骤:</p><p class="reader-word-layer reader-word-s1-25" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-weight: 600; font-size: 169px; font-family: simsun; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 38px; height: 169px; line-height: 169px; top: 4705px; left: 2296px; z-index: 56; "> </p><p class="reader-word-layer reader-word-s1-29" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-size: 144px; color: rgb(62, 126, 95); font-family: 'Courier New', a65b003010661ed9ad51f3790050001, 'Courier New'; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 260px; height: 147px; line-height: 147px; top: 4970px; left: 2124px; z-index: 57; ">// </p><p class="reader-word-layer reader-word-s1-31" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-size: 144px; font-family: 宋体, a65b003010661ed9ad51f3790030001, 宋体; color: rgb(62, 126, 95); position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 868px; height: 147px; line-height: 147px; top: 4970px; left: 2369px; z-index: 58; ">加载背景图片</p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: simsun; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 86px; height: 147px; line-height: 147px; top: 4970px; left: 3241px; z-index: 59; "> </p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: 'Courier New', a65b003010661ed9ad51f3790050001, 'Courier New'; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 1303px; height: 147px; line-height: 147px; top: 5207px; left: 2124px; z-index: 60; ">ImageIcon bg = </p><p class="reader-word-layer reader-word-s1-36" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-size: 144px; font-weight: 600; color: rgb(126, 0, 84); font-family: 'Courier New Bold', a65b003010661ed9ad51f3790060001, 'Courier New Bold'; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 260px; height: 147px; line-height: 147px; top: 5207px; left: 3428px; z-index: 61; ">new</p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: 'Courier New', a65b003010661ed9ad51f3790050001, 'Courier New'; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 955px; height: 147px; line-height: 147px; top: 5207px; left: 3689px; z-index: 62; "> ImageIcon(</p><p class="reader-word-layer reader-word-s1-38" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-size: 144px; font-family: 'Courier New', a65b003010661ed9ad51f3790050001, 'Courier New'; color: rgb(42, 0, 255); position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 1390px; height: 147px; line-height: 147px; top: 5207px; left: 4645px; z-index: 63; ">"background.jpg"</p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: 'Courier New', a65b003010661ed9ad51f3790050001, 'Courier New'; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 173px; height: 147px; line-height: 147px; top: 5207px; left: 6036px; z-index: 64; ">);</p><p class="reader-word-layer reader-word-s1-26 reader-word-s1-39" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-weight: 600; font-family: simsun; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 32px; height: 147px; line-height: 147px; top: 5207px; left: 6209px; z-index: 65; "> </p><p class="reader-word-layer reader-word-s1-29" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-size: 144px; color: rgb(62, 126, 95); font-family: 'Courier New', a65b003010661ed9ad51f3790050001, 'Courier New'; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 260px; height: 147px; line-height: 147px; top: 5472px; left: 2124px; z-index: 66; ">// </p><p class="reader-word-layer reader-word-s1-31" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-size: 144px; font-family: 宋体, a65b003010661ed9ad51f3790030001, 宋体; color: rgb(62, 126, 95); position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 1739px; height: 147px; line-height: 147px; top: 5472px; left: 2369px; z-index: 67; letter-spacing: 0.14px; ">把背景图片显示在一个标签</p></div></div><div class="reader-pic-layer" style="margin: 0px; padding: 0px; position: absolute; top: 0px; left: 0px; width: 0px; height: 0px; z-index: 2; color: rgb(51, 51, 51); font-family: 'Microsoft YaHei', 微软雅黑, 黑体, 宋体; line-height: 15px; "><div class="ie-fix" style="margin: 0px; padding: 0px; "><div class="reader-pic-item" style="margin: 0px; padding: 0px; background-image: url(http://bcs.wenku.bdimg.com/docconvert1097-nj/%2Fwk%2F4b01cde59f0dc93e38eb145a8b4f4edc%2F0.png?sign=MBOT:y1jXjmMD4FchJHFHIGN4z:fg4gtVihEWVmj4xciiTaBUTnsuQ%3D&time=1409826707&range=0-21429&response-cache-control=max-age=3888000&response-expires=Sun%2C%2019%20Oct%202014%2017%3A31%3A47%20%2B0800); width: 50px; height: 20px; z-index: 68; left: 214.1644px; top: 567.1384px; opacity: 1; -webkit-transform: scale(1.07, 1.07); position: absolute; overflow: hidden; background-position: 0px 0px; background-repeat: no-repeat no-repeat; "></div><div class="reader-pic-item" style="margin: 0px; padding: 0px; background-image: url(http://bcs.wenku.bdimg.com/docconvert1097-nj/%2Fwk%2F4b01cde59f0dc93e38eb145a8b4f4edc%2F0.png?sign=MBOT:y1jXjmMD4FchJHFHIGN4z:fg4gtVihEWVmj4xciiTaBUTnsuQ%3D&time=1409826707&range=0-21429&response-cache-control=max-age=3888000&response-expires=Sun%2C%2019%20Oct%202014%2017%3A31%3A47%20%2B0800); width: 51px; height: 20px; z-index: 69; left: 378.3378px; top: 567.1384px; opacity: 1; -webkit-transform: scale(1.07, 1.07); position: absolute; overflow: hidden; background-position: 0px -25px; background-repeat: no-repeat no-repeat; "></div></div></div><div class="reader-txt-layer" style="margin: 0px; padding: 0px; -webkit-transform: scale(0.1); -webkit-transform-origin: 0% 0%; position: absolute; top: 0px; left: 0px; width: 0px; height: 0px; z-index: 3; zoom: 1; color: rgb(51, 51, 51); font-family: 'Microsoft YaHei', 微软雅黑, 黑体, 宋体; line-height: 15px; "><div class="ie-fix" style="margin: 0px; padding: 0px; "><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: simsun; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 86px; height: 147px; line-height: 147px; top: 5472px; left: 4110px; z-index: 70; "> </p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: 'Courier New', a65b003010661ed9ad51f3790050001, 'Courier New'; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 1303px; height: 147px; line-height: 147px; top: 5709px; left: 2124px; z-index: 71; ">JLabel label = </p><p class="reader-word-layer reader-word-s1-36" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-size: 144px; font-weight: 600; color: rgb(126, 0, 84); font-family: 'Courier New Bold', a65b003010661ed9ad51f3790060001, 'Courier New Bold'; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 260px; height: 147px; line-height: 147px; top: 5709px; left: 3428px; z-index: 72; ">new</p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: 'Courier New', a65b003010661ed9ad51f3790050001, 'Courier New'; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 1129px; height: 147px; line-height: 147px; top: 5709px; left: 3689px; z-index: 73; "> JLabel(bg); </p><p class="reader-word-layer reader-word-s1-29" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-size: 144px; color: rgb(62, 126, 95); font-family: 'Courier New', a65b003010661ed9ad51f3790050001, 'Courier New'; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 173px; height: 147px; line-height: 147px; top: 5974px; left: 2124px; z-index: 74; ">//</p><p class="reader-word-layer reader-word-s1-31" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-size: 144px; font-family: 宋体, a65b003010661ed9ad51f3790030001, 宋体; color: rgb(62, 126, 95); position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 2896px; height: 147px; line-height: 147px; top: 5974px; left: 2298px; z-index: 75; ">把标签的大小位置设置为图片刚好填充整个面</p></div></div><div class="reader-pic-layer" style="margin: 0px; padding: 0px; position: absolute; top: 0px; left: 0px; width: 0px; height: 0px; z-index: 4; color: rgb(51, 51, 51); font-family: 'Microsoft YaHei', 微软雅黑, 黑体, 宋体; line-height: 15px; "><div class="ie-fix" style="margin: 0px; padding: 0px; "><div class="reader-pic-item" style="margin: 0px; padding: 0px; background-image: url(http://bcs.wenku.bdimg.com/docconvert1097-nj/%2Fwk%2F4b01cde59f0dc93e38eb145a8b4f4edc%2F0.png?sign=MBOT:y1jXjmMD4FchJHFHIGN4z:fg4gtVihEWVmj4xciiTaBUTnsuQ%3D&time=1409826707&range=0-21429&response-cache-control=max-age=3888000&response-expires=Sun%2C%2019%20Oct%202014%2017%3A31%3A47%20%2B0800); width: 10px; height: 2px; z-index: 76; left: 524.9492px; top: 635.4358000000001px; opacity: 1; -webkit-transform: scale(1.07, 1.07); position: absolute; overflow: hidden; background-position: 0px -50px; background-repeat: no-repeat no-repeat; "></div><div class="reader-pic-item" style="margin: 0px; padding: 0px; background-image: url(http://bcs.wenku.bdimg.com/docconvert1097-nj/%2Fwk%2F4b01cde59f0dc93e38eb145a8b4f4edc%2F0.png?sign=MBOT:y1jXjmMD4FchJHFHIGN4z:fg4gtVihEWVmj4xciiTaBUTnsuQ%3D&time=1409826707&range=0-21429&response-cache-control=max-age=3888000&response-expires=Sun%2C%2019%20Oct%202014%2017%3A31%3A47%20%2B0800); width: 10px; height: 2px; z-index: 77; left: 690.1604px; top: 635.4358000000001px; opacity: 1; -webkit-transform: scale(1.07, 1.07); position: absolute; overflow: hidden; background-position: 0px -57px; background-repeat: no-repeat no-repeat; "></div></div></div><div class="reader-txt-layer" style="margin: 0px; padding: 0px; -webkit-transform: scale(0.1); -webkit-transform-origin: 0% 0%; position: absolute; top: 0px; left: 0px; width: 0px; height: 0px; z-index: 5; zoom: 1; color: rgb(51, 51, 51); font-family: 'Microsoft YaHei', 微软雅黑, 黑体, 宋体; line-height: 15px; "><div class="ie-fix" style="margin: 0px; padding: 0px; "><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: 'Courier New', a65b003010661ed9ad51f3790050001, 'Courier New'; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 5128px; height: 147px; line-height: 147px; top: 6212px; left: 2124px; z-index: 78; ">label.setBounds(0,0,bg.getIconWidth(),bg.getIconHeight()); </p><p class="reader-word-layer reader-word-s1-29" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-size: 144px; color: rgb(62, 126, 95); font-family: 'Courier New', a65b003010661ed9ad51f3790050001, 'Courier New'; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 173px; height: 147px; line-height: 147px; top: 6476px; left: 2124px; z-index: 79; ">//</p><p class="reader-word-layer reader-word-s1-31" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-size: 144px; font-family: 宋体, a65b003010661ed9ad51f3790030001, 宋体; color: rgb(62, 126, 95); position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 724px; height: 147px; line-height: 147px; top: 6476px; left: 2298px; z-index: 80; ">添加图片到</p><p class="reader-word-layer reader-word-s1-29" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-size: 144px; color: rgb(62, 126, 95); font-family: 'Courier New', a65b003010661ed9ad51f3790050001, 'Courier New'; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 434px; height: 147px; line-height: 147px; top: 6476px; left: 3022px; z-index: 81; ">frame</p><p class="reader-word-layer reader-word-s1-31" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-size: 144px; font-family: 宋体, a65b003010661ed9ad51f3790030001, 宋体; color: rgb(62, 126, 95); position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 579px; height: 147px; line-height: 147px; top: 6476px; left: 3457px; z-index: 82; ">的第二层</p><p class="reader-word-layer reader-word-s1-29" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-size: 144px; color: rgb(62, 126, 95); font-family: simsun; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 86px; height: 147px; line-height: 147px; top: 6476px; left: 4036px; z-index: 83; "> </p><p class="reader-word-layer reader-word-s1-41" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-size: 144px; font-family: 'Courier New', a65b003010661ed9ad51f3790050001, 'Courier New'; color: rgb(0, 0, 192); position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 434px; height: 147px; line-height: 147px; top: 6716px; left: 2124px; z-index: 84; ">frame</p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: 'Courier New', a65b003010661ed9ad51f3790050001, 'Courier New'; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 2433px; height: 147px; line-height: 147px; top: 6716px; left: 2558px; z-index: 85; ">.getLayeredPane().add(label,</p><p class="reader-word-layer reader-word-s1-36" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-size: 144px; font-weight: 600; color: rgb(126, 0, 84); font-family: 'Courier New Bold', a65b003010661ed9ad51f3790060001, 'Courier New Bold'; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 347px; height: 147px; line-height: 147px; top: 6716px; left: 4992px; z-index: 86; ">new </p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: 'Courier New', a65b003010661ed9ad51f3790050001, 'Courier New'; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 1390px; height: 147px; line-height: 147px; top: 6716px; left: 5340px; z-index: 87; ">Integer(Integer.</p><p class="reader-word-layer reader-word-s1-40" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-size: 144px; color: rgb(0, 0, 192); position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 782px; height: 147px; line-height: 147px; top: 6716px; left: 6731px; z-index: 88; font-family: 'Courier New Italic', a65b003010661ed9ad51f3790070001, 'Courier New Italic'; font-style: italic; ">MIN_VALUE</p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: 'Courier New', a65b003010661ed9ad51f3790050001, 'Courier New'; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 347px; height: 147px; line-height: 147px; top: 6716px; left: 7513px; z-index: 89; letter-spacing: 0.1px; ">)); </p><p class="reader-word-layer reader-word-s1-29" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-size: 144px; color: rgb(62, 126, 95); font-family: 'Courier New', a65b003010661ed9ad51f3790050001, 'Courier New'; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 173px; height: 147px; line-height: 147px; top: 6978px; left: 2124px; z-index: 90; ">//</p><p class="reader-word-layer reader-word-s1-31" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-size: 144px; font-family: 宋体, a65b003010661ed9ad51f3790030001, 宋体; color: rgb(62, 126, 95); position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 289px; height: 147px; line-height: 147px; top: 6978px; left: 2298px; z-index: 91; ">获取</p><p class="reader-word-layer reader-word-s1-29" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-size: 144px; color: rgb(62, 126, 95); font-family: 'Courier New', a65b003010661ed9ad51f3790050001, 'Courier New'; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 434px; height: 147px; line-height: 147px; top: 6978px; left: 2588px; z-index: 92; ">frame</p><p class="reader-word-layer reader-word-s1-31" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-size: 144px; font-family: 宋体, a65b003010661ed9ad51f3790030001, 宋体; color: rgb(62, 126, 95); position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 2317px; height: 147px; line-height: 147px; top: 6978px; left: 3022px; z-index: 93; ">的最上层面板为了设置其背景颜色(</p><p class="reader-word-layer reader-word-s1-29" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-size: 144px; color: rgb(62, 126, 95); font-family: 'Courier New', a65b003010661ed9ad51f3790050001, 'Courier New'; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 521px; height: 147px; line-height: 147px; top: 6978px; left: 5340px; z-index: 94; ">JPanel</p><p class="reader-word-layer reader-word-s1-31" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-size: 144px; font-family: 宋体, a65b003010661ed9ad51f3790030001, 宋体; color: rgb(62, 126, 95); position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 1303px; height: 147px; line-height: 147px; top: 6978px; left: 5861px; z-index: 95; ">有设置透明的方法)</p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: simsun; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 86px; height: 147px; line-height: 147px; top: 6978px; left: 7165px; z-index: 96; "> </p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: 'Courier New', a65b003010661ed9ad51f3790050001, 'Courier New'; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 1564px; height: 147px; line-height: 147px; top: 7216px; left: 2124px; z-index: 97; ">JPanel jp=(JPanel)</p><p class="reader-word-layer reader-word-s1-41" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-size: 144px; font-family: 'Courier New', a65b003010661ed9ad51f3790050001, 'Courier New'; color: rgb(0, 0, 192); position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 434px; height: 147px; line-height: 147px; top: 7216px; left: 3689px; z-index: 98; ">frame</p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: 'Courier New', a65b003010661ed9ad51f3790050001, 'Courier New'; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 1651px; height: 147px; line-height: 147px; top: 7216px; left: 4123px; z-index: 99; ">.getContentPane(); </p><p class="reader-word-layer reader-word-s1-29" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-size: 144px; color: rgb(62, 126, 95); font-family: 'Courier New', a65b003010661ed9ad51f3790050001, 'Courier New'; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 173px; height: 147px; line-height: 147px; top: 7481px; left: 2124px; z-index: 100; ">jp</p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: 'Courier New', a65b003010661ed9ad51f3790050001, 'Courier New'; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 1564px; height: 147px; line-height: 147px; top: 7481px; left: 2298px; z-index: 101; ">.setOpaque(false);</p><p class="reader-word-layer reader-word-s1-29" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-size: 144px; color: rgb(62, 126, 95); font-family: 'Courier New', a65b003010661ed9ad51f3790050001, 'Courier New'; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 173px; height: 147px; line-height: 147px; top: 7481px; left: 3862px; z-index: 102; ">//</p><p class="reader-word-layer reader-word-s1-31" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-size: 144px; font-family: 宋体, a65b003010661ed9ad51f3790030001, 宋体; color: rgb(62, 126, 95); position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 579px; height: 147px; line-height: 147px; top: 7481px; left: 4036px; z-index: 103; ">设置透明</p><p class="reader-word-layer reader-word-s1-29" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-size: 144px; color: rgb(62, 126, 95); font-family: simsun; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 86px; height: 147px; line-height: 147px; top: 7481px; left: 4616px; z-index: 104; "> </p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: simsun; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 86px; height: 147px; line-height: 147px; top: 7732px; left: 1448px; z-index: 105; "> </p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: simsun; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 86px; height: 147px; line-height: 147px; top: 7732px; left: 1786px; z-index: 106; "> </p><p class="reader-word-layer reader-word-s1-29" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-size: 144px; color: rgb(62, 126, 95); font-family: 'Courier New', a65b003010661ed9ad51f3790050001, 'Courier New'; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 173px; height: 147px; line-height: 147px; top: 7732px; left: 2124px; z-index: 107; ">//</p><p class="reader-word-layer reader-word-s1-31" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-size: 144px; font-family: 宋体, a65b003010661ed9ad51f3790030001, 宋体; color: rgb(62, 126, 95); position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 579px; height: 147px; line-height: 147px; top: 7732px; left: 2298px; z-index: 108; ">测试用的</p><p class="reader-word-layer reader-word-s1-29" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-size: 144px; color: rgb(62, 126, 95); font-family: 'Courier New', a65b003010661ed9ad51f3790050001, 'Courier New'; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 521px; height: 147px; line-height: 147px; top: 7732px; left: 2878px; z-index: 109; ">JPanel</p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: simsun; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 86px; height: 147px; line-height: 147px; top: 7732px; left: 3399px; z-index: 110; "> </p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: simsun; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 86px; height: 147px; line-height: 147px; top: 7969px; left: 1448px; z-index: 111; "> </p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: simsun; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 86px; height: 147px; line-height: 147px; top: 7969px; left: 1786px; z-index: 112; "> </p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: 'Courier New', a65b003010661ed9ad51f3790050001, 'Courier New'; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 1129px; height: 147px; line-height: 147px; top: 7969px; left: 2124px; z-index: 113; ">JPanel panel=</p><p class="reader-word-layer reader-word-s1-36" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-size: 144px; font-weight: 600; color: rgb(126, 0, 84); font-family: 'Courier New Bold', a65b003010661ed9ad51f3790060001, 'Courier New Bold'; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 260px; height: 147px; line-height: 147px; top: 7969px; left: 3254px; z-index: 114; ">new</p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: 'Courier New', a65b003010661ed9ad51f3790050001, 'Courier New'; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 956px; height: 147px; line-height: 147px; top: 7969px; left: 3515px; z-index: 115; "> JPanel(); </p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: simsun; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 86px; height: 147px; line-height: 147px; top: 7969px; left: 4490px; z-index: 116; "> </p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: simsun; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 86px; height: 147px; line-height: 147px; top: 8234px; left: 1448px; z-index: 117; "> </p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: simsun; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 86px; height: 147px; line-height: 147px; top: 8234px; left: 1786px; z-index: 118; "> </p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: 'Courier New', a65b003010661ed9ad51f3790050001, 'Courier New'; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 1390px; height: 147px; line-height: 147px; top: 8234px; left: 2124px; z-index: 119; ">panel.setOpaque(</p><p class="reader-word-layer reader-word-s1-36" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-size: 144px; font-weight: 600; color: rgb(126, 0, 84); font-family: 'Courier New Bold', a65b003010661ed9ad51f3790060001, 'Courier New Bold'; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 434px; height: 147px; line-height: 147px; top: 8234px; left: 3515px; z-index: 120; ">false</p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: 'Courier New', a65b003010661ed9ad51f3790050001, 'Courier New'; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 173px; height: 147px; line-height: 147px; top: 8234px; left: 3949px; z-index: 121; ">);</p><p class="reader-word-layer reader-word-s1-29" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-size: 144px; color: rgb(62, 126, 95); font-family: 'Courier New', a65b003010661ed9ad51f3790050001, 'Courier New'; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 173px; height: 147px; line-height: 147px; top: 8234px; left: 4123px; z-index: 122; ">//</p><p class="reader-word-layer reader-word-s1-31" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-size: 144px; font-family: 宋体, a65b003010661ed9ad51f3790030001, 宋体; color: rgb(62, 126, 95); position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 868px; height: 147px; line-height: 147px; top: 8234px; left: 4297px; z-index: 123; ">也要让他透明</p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: simsun; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 86px; height: 147px; line-height: 147px; top: 8234px; left: 5166px; z-index: 124; "> </p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: simsun; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 86px; height: 147px; line-height: 147px; top: 8485px; left: 1448px; z-index: 125; "> </p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: simsun; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 86px; height: 147px; line-height: 147px; top: 8485px; left: 1786px; z-index: 126; "> </p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: 'Courier New', a65b003010661ed9ad51f3790050001, 'Courier New'; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 1390px; height: 147px; line-height: 147px; top: 8485px; left: 2124px; z-index: 127; ">panel.setLayout(</p><p class="reader-word-layer reader-word-s1-36" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-size: 144px; font-weight: 600; color: rgb(126, 0, 84); font-family: 'Courier New Bold', a65b003010661ed9ad51f3790060001, 'Courier New Bold'; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 347px; height: 147px; line-height: 147px; top: 8485px; left: 3515px; z-index: 128; ">null</p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: 'Courier New', a65b003010661ed9ad51f3790050001, 'Courier New'; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 173px; height: 147px; line-height: 147px; top: 8485px; left: 3862px; z-index: 129; ">);</p><p class="reader-word-layer reader-word-s1-29" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-size: 144px; color: rgb(62, 126, 95); font-family: 'Courier New', a65b003010661ed9ad51f3790050001, 'Courier New'; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 173px; height: 147px; line-height: 147px; top: 8485px; left: 4036px; z-index: 130; ">//</p><p class="reader-word-layer reader-word-s1-31" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-size: 144px; font-family: 宋体, a65b003010661ed9ad51f3790030001, 宋体; color: rgb(62, 126, 95); position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 1303px; height: 147px; line-height: 147px; top: 8485px; left: 4210px; z-index: 131; ">为了使用按钮的定位</p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: simsun; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 86px; height: 147px; line-height: 147px; top: 8485px; left: 5514px; z-index: 132; "> </p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: simsun; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 86px; height: 147px; line-height: 147px; top: 8722px; left: 1448px; z-index: 133; "> </p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: simsun; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 86px; height: 147px; line-height: 147px; top: 8722px; left: 1786px; z-index: 134; "> </p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: 'Courier New', a65b003010661ed9ad51f3790050001, 'Courier New'; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 1303px; height: 147px; line-height: 147px; top: 8722px; left: 2124px; z-index: 135; ">JButton button=</p><p class="reader-word-layer reader-word-s1-36" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-size: 144px; font-weight: 600; color: rgb(126, 0, 84); font-family: 'Courier New Bold', a65b003010661ed9ad51f3790060001, 'Courier New Bold'; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 260px; height: 147px; line-height: 147px; top: 8722px; left: 3428px; z-index: 136; ">new</p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: 'Courier New', a65b003010661ed9ad51f3790050001, 'Courier New'; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 782px; height: 147px; line-height: 147px; top: 8722px; left: 3689px; z-index: 137; "> JButton(</p><p class="reader-word-layer reader-word-s1-38" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; font-size: 144px; font-family: 'Courier New', a65b003010661ed9ad51f3790050001, 'Courier New'; color: rgb(42, 0, 255); position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 347px; height: 147px; line-height: 147px; top: 8722px; left: 4471px; z-index: 138; ">"OK"</p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: 'Courier New', a65b003010661ed9ad51f3790050001, 'Courier New'; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 260px; height: 147px; line-height: 147px; top: 8722px; left: 4819px; z-index: 139; ">); </p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: simsun; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 86px; height: 147px; line-height: 147px; top: 8973px; left: 1448px; z-index: 140; "> </p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: simsun; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 86px; height: 147px; line-height: 147px; top: 8973px; left: 1786px; z-index: 141; "> </p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: 'Courier New', a65b003010661ed9ad51f3790050001, 'Courier New'; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 2172px; height: 147px; line-height: 147px; top: 8973px; left: 2124px; z-index: 142; ">button.setSize(100, 20); </p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: simsun; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 86px; height: 147px; line-height: 147px; top: 9224px; left: 1448px; z-index: 143; "> </p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: simsun; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 86px; height: 147px; line-height: 147px; top: 9224px; left: 1786px; z-index: 144; "> </p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: 'Courier New', a65b003010661ed9ad51f3790050001, 'Courier New'; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 2520px; height: 147px; line-height: 147px; top: 9224px; left: 2124px; z-index: 145; ">button.setLocation(100, 50); </p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: simsun; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 86px; height: 147px; line-height: 147px; top: 9475px; left: 1448px; z-index: 146; "> </p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: simsun; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 86px; height: 147px; line-height: 147px; top: 9475px; left: 1786px; z-index: 147; "> </p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: 'Courier New', a65b003010661ed9ad51f3790050001, 'Courier New'; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 1651px; height: 147px; line-height: 147px; top: 9475px; left: 2124px; z-index: 148; ">panel.add(button); </p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: simsun; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 86px; height: 147px; line-height: 147px; top: 9726px; left: 1448px; z-index: 149; "> </p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: simsun; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 86px; height: 147px; line-height: 147px; top: 9726px; left: 1786px; z-index: 150; "> </p><p class="reader-word-layer reader-word-s1-33" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-family: 'Courier New', a65b003010661ed9ad51f3790050001, 'Courier New'; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 1564px; height: 147px; line-height: 147px; top: 9726px; left: 2124px; z-index: 151; ">frame.add(panel); </p><p class="reader-word-layer reader-word-s1-42" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-weight: 600; font-family: simsun; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 86px; height: 150px; line-height: 150px; top: 9991px; left: 1448px; z-index: 152; "> </p><p class="reader-word-layer reader-word-s1-11 reader-word-s1-32 reader-word-s1-39" style="margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; color: rgb(0, 0, 0); font-size: 144px; font-weight: 600; font-family: 宋体, a65b003010661ed9ad51f3790030001, 宋体; position: absolute; white-space: nowrap; -webkit-font-smoothing: antialiased; text-shadow: rgba(0, 0, 0, 0) 1px 1px 1px; width: 725px; height: 150px; line-height: 150px; top: 9991px; left: 1522px; z-index: 153; letter-spacing: 0.4px; ">效果如图:</p></div></div><div class="reader-pic-layer" style="margin: 0px; padding: 0px; position: absolute; top: 0px; left: 0px; width: 0px; height: 0px; z-index: 6; color: rgb(51, 51, 51); font-family: 'Microsoft YaHei', 微软雅黑, 黑体, 宋体; line-height: 15px; "><div class="ie-fix" style="margin: 0px; padding: 0px; ">
    </div></div>
    
  • 0
    点赞
  • 7
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值