001: /*
002: * TestWindow.java
003: *
004: * Created on __DATE__, __TIME__
005: */
006:
007: package de.mcs.jmeasurement.gui;
008:
009: /**
010: *
011: * @author __USER__
012: */
013: public class TestWindow extends javax.swing.JFrame {
014:
015: /** Creates new form TestWindow */
016: public TestWindow() {
017: initComponents();
018: }
019:
020: /** This method is called from within the constructor to
021: * initialize the form.
022: * WARNING: Do NOT modify this code. The content of this method is
023: * always regenerated by the Form Editor.
024: */
025: // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
026: private void initComponents() {
027: jPanel1 = new javax.swing.JPanel();
028: jToolBar1 = new javax.swing.JToolBar();
029: jButton1 = new javax.swing.JButton();
030: jButton2 = new javax.swing.JButton();
031:
032: setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
033: jButton1.setText("jButton1");
034: jToolBar1.add(jButton1);
035:
036: jButton2.setText("jButton2");
037: jToolBar1.add(jButton2);
038:
039: org.jdesktop.layout.GroupLayout jPanel1Layout = new org.jdesktop.layout.GroupLayout(
040: jPanel1);
041: jPanel1.setLayout(jPanel1Layout);
042: jPanel1Layout.setHorizontalGroup(jPanel1Layout
043: .createParallelGroup(
044: org.jdesktop.layout.GroupLayout.LEADING).add(
045: jToolBar1,
046: org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
047: 400, Short.MAX_VALUE));
048: jPanel1Layout
049: .setVerticalGroup(jPanel1Layout
050: .createParallelGroup(
051: org.jdesktop.layout.GroupLayout.LEADING)
052: .add(
053: jPanel1Layout
054: .createSequentialGroup()
055: .add(
056: jToolBar1,
057: org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
058: 25,
059: org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
060: .addContainerGap(275,
061: Short.MAX_VALUE)));
062:
063: org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(
064: getContentPane());
065: getContentPane().setLayout(layout);
066: layout.setHorizontalGroup(layout.createParallelGroup(
067: org.jdesktop.layout.GroupLayout.LEADING).add(jPanel1,
068: org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
069: org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
070: Short.MAX_VALUE));
071: layout.setVerticalGroup(layout.createParallelGroup(
072: org.jdesktop.layout.GroupLayout.LEADING).add(jPanel1,
073: org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
074: org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
075: Short.MAX_VALUE));
076: pack();
077: }// </editor-fold>//GEN-END:initComponents
078:
079: /**
080: * @param args the command line arguments
081: */
082: public static void main(String args[]) {
083: java.awt.EventQueue.invokeLater(new Runnable() {
084: public void run() {
085: new TestWindow().setVisible(true);
086: }
087: });
088: }
089:
090: // Variables declaration - do not modify//GEN-BEGIN:variables
091: private javax.swing.JButton jButton1;
092:
093: private javax.swing.JButton jButton2;
094:
095: private javax.swing.JPanel jPanel1;
096:
097: private javax.swing.JToolBar jToolBar1;
098: // End of variables declaration//GEN-END:variables
099:
100: }
|