source: tmcsimulator-scriptbuilder/branches/ScriptBuilder4/src/event/editor/TMTRadioPanel.java @ 6

Revision 6, 2.4 KB checked in by jdalbey, 9 years ago (diff)

Add original prototype to branch

Line 
1package event.editor;
2
3import java.awt.event.*;
4
5/**
6 *
7 * @author nathaniellehrer
8 */
9public class TMTRadioPanel extends javax.swing.JPanel {
10
11    private ActionListener removeListener;
12
13    /** Creates new form TMTRadio */
14    public TMTRadioPanel() {
15        initComponents();
16    }
17
18    /** This method is called from within the constructor to
19     * initialize the form.
20     * WARNING: Do NOT modify this code. The content of this method is
21     * always regenerated by the Form Editor.
22     */
23    @SuppressWarnings("unchecked")
24    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
25    private void initComponents() {
26
27        jLabel1 = new javax.swing.JLabel();
28        jScrollPane1 = new javax.swing.JScrollPane();
29        jTextArea1 = new javax.swing.JTextArea();
30
31        jLabel1.setText("Transmission:");
32
33        jTextArea1.setColumns(20);
34        jTextArea1.setRows(5);
35        jTextArea1.setToolTipText("The radio transmission");
36        jScrollPane1.setViewportView(jTextArea1);
37
38        org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(this);
39        this.setLayout(layout);
40        layout.setHorizontalGroup(
41            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
42            .add(layout.createSequentialGroup()
43                .addContainerGap()
44                .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
45                    .add(org.jdesktop.layout.GroupLayout.TRAILING, jScrollPane1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 487, Short.MAX_VALUE)
46                    .add(jLabel1))
47                .addContainerGap())
48        );
49        layout.setVerticalGroup(
50            layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
51            .add(layout.createSequentialGroup()
52                .addContainerGap()
53                .add(jLabel1)
54                .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
55                .add(jScrollPane1, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 116, Short.MAX_VALUE)
56                .addContainerGap())
57        );
58    }// </editor-fold>//GEN-END:initComponents
59
60
61    // Variables declaration - do not modify//GEN-BEGIN:variables
62    private javax.swing.JLabel jLabel1;
63    private javax.swing.JScrollPane jScrollPane1;
64    private javax.swing.JTextArea jTextArea1;
65    // End of variables declaration//GEN-END:variables
66
67}
Note: See TracBrowser for help on using the repository browser.