⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 testframe.java

📁 iReport-0.4.1-src是iReport的源代码,iReport是一个开源的报表项目,可以生成PDF等格式报表
💻 JAVA
字号:
/* * TestFrame.java * * Created on 14 giugno 2004, 23.06 */package it.businesslogic.ireport.gui.docking;/** * * @author  Administrator */public class TestFrame extends javax.swing.JFrame {            JDesktopPane jDesktopPane = null;    /** Creates new form TestFrame */    public TestFrame() {        initComponents();        jDesktopPane = new JDesktopPane();                //jDesktopPane.setPreferredSize(600,600);        this.setSize(600,600);        //this.pack();        DockablePanel dp = new DockablePanel();        dp.setSize(200,200);        jDesktopPane.add(dp );        getContentPane().add(jDesktopPane, java.awt.BorderLayout.CENTER);            }        /** This method is called from within the constructor to     * initialize the form.     * WARNING: Do NOT modify this code. The content of this method is     * always regenerated by the Form Editor.     */    private void initComponents() {//GEN-BEGIN:initComponents        addWindowListener(new java.awt.event.WindowAdapter() {            public void windowClosing(java.awt.event.WindowEvent evt) {                exitForm(evt);            }        });        pack();    }//GEN-END:initComponents        /** Exit the Application */    private void exitForm(java.awt.event.WindowEvent evt) {//GEN-FIRST:event_exitForm        System.exit(0);    }//GEN-LAST:event_exitForm        /**     * @param args the command line arguments     */    public static void main(String args[]) {        new TestFrame().show();    }        // Variables declaration - do not modify//GEN-BEGIN:variables    // End of variables declaration//GEN-END:variables    }

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -