1 20 21 package org.netbeans.test.performance; 22 23 public class JFrame20kB extends javax.swing.JFrame { 24 25 26 public JFrame20kB() { 27 initComponents(); 28 } 29 30 35 private void initComponents() { 37 javax.swing.JToggleButton jtb1; 38 39 buttonGroup1 = new javax.swing.ButtonGroup (); 40 jFileChooser1 = new javax.swing.JFileChooser (); 41 jFrame1 = new javax.swing.JFrame (); 42 jLabel3 = new javax.swing.JLabel (); 43 jToggleButton3 = new javax.swing.JToggleButton (); 44 jCheckBox3 = new javax.swing.JCheckBox (); 45 jButton4 = new javax.swing.JButton (); 46 jDialog1 = new javax.swing.JDialog (); 47 jButton3 = new javax.swing.JButton (); 48 jToggleButton2 = new javax.swing.JToggleButton (); 49 jCheckBox2 = new javax.swing.JCheckBox (); 50 jRadioButton2 = new javax.swing.JRadioButton (); 51 buttonGroup2 = new javax.swing.ButtonGroup (); 52 jComboBox1 = new javax.swing.JComboBox (); 53 jList1 = new javax.swing.JList (); 54 jTextField1 = new javax.swing.JTextField (); 55 jPopupMenu1 = new javax.swing.JPopupMenu (); 56 jMenuBar1 = new javax.swing.JMenuBar (); 57 jMenu1 = new javax.swing.JMenu (); 58 jMenuItem2 = new javax.swing.JMenuItem (); 59 jMenuItem1 = new javax.swing.JMenuItem (); 60 jMenuItem3 = new javax.swing.JMenuItem (); 61 jMenuItem4 = new javax.swing.JMenuItem (); 62 jl1111 = new javax.swing.JLabel (); 63 jb1111 = new javax.swing.JButton (); 64 jtb1 = new javax.swing.JToggleButton (); 65 jcb1111 = new javax.swing.JCheckBox (); 66 jrb1111 = new javax.swing.JRadioButton (); 67 jsb111 = new javax.swing.JScrollBar (); 68 jsp1 = new javax.swing.JScrollPane (); 69 js111 = new javax.swing.JSlider (); 70 jpb1 = new javax.swing.JProgressBar (); 71 jSplitPane1 = new javax.swing.JSplitPane (); 72 jftf1 = new javax.swing.JFormattedTextField (); 73 jpf1 = new javax.swing.JPasswordField (); 74 jSpinner1 = new javax.swing.JSpinner (); 75 jSeparator1 = new javax.swing.JSeparator (); 76 jTextPane1 = new javax.swing.JTextPane (); 77 jEditorPane1 = new javax.swing.JEditorPane (); 78 jTable1 = new javax.swing.JTable (); 79 jToolBar1 = new javax.swing.JToolBar (); 80 jInternalFrame1 = new javax.swing.JInternalFrame (); 81 jLayeredPane1 = new javax.swing.JLayeredPane (); 82 jDesktopPane1 = new javax.swing.JDesktopPane (); 83 jOptionPane1 = new javax.swing.JOptionPane (); 84 jColorChooser1 = new javax.swing.JColorChooser (); 85 jLabel2 = new javax.swing.JLabel (); 86 87 jLabel3.setText("jLabel3"); 88 jFrame1.getContentPane().add(jLabel3, java.awt.BorderLayout.CENTER); 89 90 jToggleButton3.setText("jToggleButton3"); 91 jFrame1.getContentPane().add(jToggleButton3, java.awt.BorderLayout.NORTH); 92 93 jCheckBox3.setText("jCheckBox3"); 94 jFrame1.getContentPane().add(jCheckBox3, java.awt.BorderLayout.SOUTH); 95 96 jButton4.setText("jButton4"); 97 jFrame1.getContentPane().add(jButton4, java.awt.BorderLayout.EAST); 98 99 jButton3.setText("jButton3"); 100 jToggleButton2.setText("jToggleButton2"); 101 jCheckBox2.setText("jCheckBox2"); 102 jRadioButton2.setText("jRadioButton2"); 103 jTextField1.setText("jTextField1"); 104 jMenu1.setText("Menu"); 105 jMenuItem2.setText("Item"); 106 jMenu1.add(jMenuItem2); 107 108 jMenuItem1.setText("Item"); 109 jMenu1.add(jMenuItem1); 110 111 jMenuItem3.setText("Item"); 112 jMenu1.add(jMenuItem3); 113 114 jMenuItem4.setText("Item"); 115 jMenu1.add(jMenuItem4); 116 117 jMenuBar1.add(jMenu1); 118 119 getContentPane().setLayout(null); 120 121 addWindowListener(new java.awt.event.WindowAdapter () { 122 public void windowClosing(java.awt.event.WindowEvent evt) { 123 exitForm(evt); 124 } 125 }); 126 127 jl1111.setText("jLabel1"); 128 getContentPane().add(jl1111); 129 jl1111.setBounds(0, 0, 400, 15); 130 131 jb1111.setText("jB"); 132 jb1111.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED)); 133 getContentPane().add(jb1111); 134 jb1111.setBounds(60, 170, 16, 19); 135 136 jtb1.setText("jToggleButton1"); 137 getContentPane().add(jtb1); 138 jtb1.setBounds(260, 120, 131, 25); 139 140 jcb1111.setText("jCb"); 141 getContentPane().add(jcb1111); 142 jcb1111.setBounds(170, 70, 46, 23); 143 144 jrb1111.setText("jRadioButton1"); 145 getContentPane().add(jrb1111); 146 jrb1111.setBounds(60, 50, 114, 23); 147 148 getContentPane().add(jsb111); 149 jsb111.setBounds(240, 200, 17, 61); 150 151 getContentPane().add(jsp1); 152 jsp1.setBounds(0, 130, 3, 3); 153 154 getContentPane().add(js111); 155 js111.setBounds(50, 70, 200, 16); 156 157 getContentPane().add(jpb1); 158 jpb1.setBounds(340, 40, 148, 14); 159 160 jSplitPane1.setBorder(new javax.swing.border.SoftBevelBorder (javax.swing.border.BevelBorder.RAISED)); 161 getContentPane().add(jSplitPane1); 162 jSplitPane1.setBounds(50, 120, 227, 31); 163 164 jftf1.setText("jtf"); 165 getContentPane().add(jftf1); 166 jftf1.setBounds(20, 270, 16, 19); 167 168 getContentPane().add(jpf1); 169 jpf1.setBounds(180, 220, 4, 19); 170 171 jSpinner1.setBorder(javax.swing.BorderFactory.createBevelBorder(javax.swing.border.BevelBorder.RAISED)); 172 getContentPane().add(jSpinner1); 173 jSpinner1.setBounds(350, 270, 28, 20); 174 175 getContentPane().add(jSeparator1); 176 jSeparator1.setBounds(320, 180, 0, 2); 177 178 getContentPane().add(jTextPane1); 179 jTextPane1.setBounds(190, 40, 6, 21); 180 181 getContentPane().add(jEditorPane1); 182 jEditorPane1.setBounds(280, 40, 106, 21); 183 184 jTable1.setBorder(javax.swing.BorderFactory.createCompoundBorder()); 185 jTable1.setModel(new javax.swing.table.DefaultTableModel ( 186 new Object [][] { 187 {null, null, null, null}, 188 {null, null, null, null}, 189 {null, null, null, null}, 190 {null, null, null, null} 191 }, 192 new String [] { 193 "Title 1", "Title 2", "Title 3", "Title 4" 194 } 195 )); 196 getContentPane().add(jTable1); 197 jTable1.setBounds(100, 20, 300, 64); 198 199 getContentPane().add(jToolBar1); 200 jToolBar1.setBounds(40, 40, 18, 4); 201 202 jInternalFrame1.setVisible(true); 203 getContentPane().add(jInternalFrame1); 204 jInternalFrame1.setBounds(40, 90, 30, 32); 205 206 getContentPane().add(jLayeredPane1); 207 jLayeredPane1.setBounds(320, 200, 0, 0); 208 209 getContentPane().add(jDesktopPane1); 210 jDesktopPane1.setBounds(210, 280, 0, 0); 211 212 getContentPane().add(jOptionPane1); 213 jOptionPane1.setBounds(350, 190, 262, 90); 214 215 jColorChooser1.setBorder(javax.swing.BorderFactory.createEtchedBorder()); 216 getContentPane().add(jColorChooser1); 217 jColorChooser1.setBounds(40, 220, 433, 340); 218 219 jLabel2.setText("jLabel2"); 220 getContentPane().add(jLabel2); 221 jLabel2.setBounds(30, 30, 45, 15); 222 223 pack(); 224 } 226 227 private void exitForm(java.awt.event.WindowEvent evt) { System.exit(0); 229 } 231 234 public static void main(String args[]) { 235 new JFrame20kB().show(); 236 } 237 238 239 private javax.swing.ButtonGroup buttonGroup1; 241 private javax.swing.ButtonGroup buttonGroup2; 242 private javax.swing.JButton jButton3; 243 private javax.swing.JButton jButton4; 244 private javax.swing.JCheckBox jCheckBox2; 245 private javax.swing.JCheckBox jCheckBox3; 246 private javax.swing.JColorChooser jColorChooser1; 247 private javax.swing.JComboBox jComboBox1; 248 private javax.swing.JDesktopPane jDesktopPane1; 249 private javax.swing.JDialog jDialog1; 250 private javax.swing.JEditorPane jEditorPane1; 251 private javax.swing.JFileChooser jFileChooser1; 252 private javax.swing.JFrame jFrame1; 253 private javax.swing.JInternalFrame jInternalFrame1; 254 private javax.swing.JLabel jLabel2; 255 private javax.swing.JLabel jLabel3; 256 private javax.swing.JLayeredPane jLayeredPane1; 257 private javax.swing.JList jList1; 258 private javax.swing.JMenu jMenu1; 259 private javax.swing.JMenuBar jMenuBar1; 260 private javax.swing.JMenuItem jMenuItem1; 261 private javax.swing.JMenuItem jMenuItem2; 262 private javax.swing.JMenuItem jMenuItem3; 263 private javax.swing.JMenuItem jMenuItem4; 264 private javax.swing.JOptionPane jOptionPane1; 265 private javax.swing.JPopupMenu jPopupMenu1; 266 private javax.swing.JRadioButton jRadioButton2; 267 private javax.swing.JSeparator jSeparator1; 268 private javax.swing.JSpinner jSpinner1; 269 private javax.swing.JSplitPane jSplitPane1; 270 private javax.swing.JTable jTable1; 271 private javax.swing.JTextField jTextField1; 272 private javax.swing.JTextPane jTextPane1; 273 private javax.swing.JToggleButton jToggleButton2; 274 private javax.swing.JToggleButton jToggleButton3; 275 private javax.swing.JToolBar jToolBar1; 276 private javax.swing.JButton jb1111; 277 private javax.swing.JCheckBox jcb1111; 278 private javax.swing.JFormattedTextField jftf1; 279 private javax.swing.JLabel jl1111; 280 private javax.swing.JProgressBar jpb1; 281 private javax.swing.JPasswordField jpf1; 282 private javax.swing.JRadioButton jrb1111; 283 private javax.swing.JSlider js111; 284 private javax.swing.JScrollBar jsb111; 285 private javax.swing.JScrollPane jsp1; 286 288 } 289 | Popular Tags |