001: /*
002: * Copyright (c) 2005-2008 Substance Kirill Grouchnikov, based on work by
003: * Sun Microsystems, Inc. All rights reserved.
004: *
005: * This library is free software; you can redistribute it and/or
006: * modify it under the terms of the GNU Lesser General Public
007: * License as published by the Free Software Foundation; either
008: * version 2.1 of the License, or (at your option) any later version.
009: *
010: * This library is distributed in the hope that it will be useful,
011: * but WITHOUT ANY WARRANTY; without even the implied warranty of
012: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
013: * Lesser General Public License for more details.
014: *
015: * You should have received a copy of the GNU Lesser General Public
016: * License along with this library; if not, write to the Free Software
017: * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
018: */
019: package test;
020:
021: /**
022: *
023: * @author Owner
024: */
025: public class TestBaselinePanel extends javax.swing.JPanel {
026:
027: /** Creates new form TestBaselinePanel */
028: public TestBaselinePanel() {
029: initComponents();
030: }
031:
032: /** This method is called from within the constructor to
033: * initialize the form.
034: * WARNING: Do NOT modify this code. The content of this method is
035: * always regenerated by the Form Editor.
036: */
037: // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
038: private void initComponents() {
039:
040: jLabel1 = new javax.swing.JLabel();
041: jToggleButton1 = new javax.swing.JToggleButton();
042: jLabel2 = new javax.swing.JLabel();
043: jCheckBox1 = new javax.swing.JCheckBox();
044: jLabel3 = new javax.swing.JLabel();
045: jComboBox1 = new javax.swing.JComboBox();
046: jLabel4 = new javax.swing.JLabel();
047: jRadioButton1 = new javax.swing.JRadioButton();
048: jLabel5 = new javax.swing.JLabel();
049: jPasswordField1 = new javax.swing.JPasswordField();
050: jLabel6 = new javax.swing.JLabel();
051: jSlider1 = new javax.swing.JSlider();
052:
053: java.util.ResourceBundle bundle = java.util.ResourceBundle
054: .getBundle("test/Bundle"); // NOI18N
055: jLabel1.setText(bundle
056: .getString("TestBaselinePanel.jLabel1.text_1")); // NOI18N
057:
058: jToggleButton1.setText(bundle
059: .getString("TestBaselinePanel.jToggleButton1.text_1")); // NOI18N
060:
061: jLabel2.setText(bundle
062: .getString("TestBaselinePanel.jLabel2.text_1")); // NOI18N
063:
064: jCheckBox1.setText(bundle
065: .getString("TestBaselinePanel.jCheckBox1.text_1")); // NOI18N
066:
067: jLabel3.setText(bundle
068: .getString("TestBaselinePanel.jLabel3.text_1")); // NOI18N
069:
070: jComboBox1
071: .setModel(new javax.swing.DefaultComboBoxModel(
072: new String[] { "Item 1", "Item 2", "Item 3",
073: "Item 4" }));
074:
075: jLabel4.setText(bundle
076: .getString("TestBaselinePanel.jLabel4.text_1")); // NOI18N
077:
078: jRadioButton1.setText(bundle
079: .getString("TestBaselinePanel.jRadioButton1.text_1")); // NOI18N
080:
081: jLabel5.setText(bundle
082: .getString("TestBaselinePanel.jLabel5.text_1")); // NOI18N
083:
084: jPasswordField1.setText(bundle
085: .getString("TestBaselinePanel.jPasswordField1.text_1")); // NOI18N
086:
087: jLabel6.setText(bundle
088: .getString("TestBaselinePanel.jLabel6.text_1")); // NOI18N
089:
090: org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(
091: this );
092: this .setLayout(layout);
093: layout
094: .setHorizontalGroup(layout
095: .createParallelGroup(
096: org.jdesktop.layout.GroupLayout.LEADING)
097: .add(
098: layout
099: .createSequentialGroup()
100: .addContainerGap()
101: .add(
102: layout
103: .createParallelGroup(
104: org.jdesktop.layout.GroupLayout.LEADING)
105: .add(
106: layout
107: .createSequentialGroup()
108: .add(
109: layout
110: .createParallelGroup(
111: org.jdesktop.layout.GroupLayout.LEADING)
112: .add(
113: jLabel1)
114: .add(
115: jLabel2))
116: .addPreferredGap(
117: org.jdesktop.layout.LayoutStyle.RELATED)
118: .add(
119: layout
120: .createParallelGroup(
121: org.jdesktop.layout.GroupLayout.LEADING)
122: .add(
123: jCheckBox1,
124: org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
125: 161,
126: Short.MAX_VALUE)
127: .add(
128: jToggleButton1,
129: org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
130: 161,
131: Short.MAX_VALUE)))
132: .add(
133: layout
134: .createSequentialGroup()
135: .add(
136: jLabel3)
137: .addPreferredGap(
138: org.jdesktop.layout.LayoutStyle.RELATED)
139: .add(
140: jComboBox1,
141: 0,
142: 161,
143: Short.MAX_VALUE))
144: .add(
145: layout
146: .createSequentialGroup()
147: .add(
148: jLabel4)
149: .addPreferredGap(
150: org.jdesktop.layout.LayoutStyle.UNRELATED)
151: .add(
152: jRadioButton1,
153: org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
154: 159,
155: Short.MAX_VALUE))
156: .add(
157: layout
158: .createSequentialGroup()
159: .add(
160: jLabel5)
161: .addPreferredGap(
162: org.jdesktop.layout.LayoutStyle.RELATED)
163: .add(
164: jPasswordField1,
165: org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
166: 161,
167: Short.MAX_VALUE))
168: .add(
169: layout
170: .createSequentialGroup()
171: .add(
172: jLabel6)
173: .addPreferredGap(
174: org.jdesktop.layout.LayoutStyle.RELATED)
175: .add(
176: jSlider1,
177: org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
178: 161,
179: Short.MAX_VALUE)))
180: .addContainerGap()));
181: layout
182: .setVerticalGroup(layout
183: .createParallelGroup(
184: org.jdesktop.layout.GroupLayout.LEADING)
185: .add(
186: layout
187: .createSequentialGroup()
188: .addContainerGap()
189: .add(
190: layout
191: .createParallelGroup(
192: org.jdesktop.layout.GroupLayout.BASELINE)
193: .add(jLabel1)
194: .add(
195: jToggleButton1))
196: .addPreferredGap(
197: org.jdesktop.layout.LayoutStyle.UNRELATED)
198: .add(
199: layout
200: .createParallelGroup(
201: org.jdesktop.layout.GroupLayout.BASELINE)
202: .add(jLabel2)
203: .add(jCheckBox1))
204: .addPreferredGap(
205: org.jdesktop.layout.LayoutStyle.UNRELATED)
206: .add(
207: layout
208: .createParallelGroup(
209: org.jdesktop.layout.GroupLayout.BASELINE)
210: .add(jLabel3)
211: .add(
212: jComboBox1,
213: org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
214: org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
215: org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
216: .addPreferredGap(
217: org.jdesktop.layout.LayoutStyle.UNRELATED)
218: .add(
219: layout
220: .createParallelGroup(
221: org.jdesktop.layout.GroupLayout.BASELINE)
222: .add(jLabel4)
223: .add(
224: jRadioButton1))
225: .addPreferredGap(
226: org.jdesktop.layout.LayoutStyle.UNRELATED)
227: .add(
228: layout
229: .createParallelGroup(
230: org.jdesktop.layout.GroupLayout.BASELINE)
231: .add(jLabel5)
232: .add(
233: jPasswordField1,
234: org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
235: org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
236: org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
237: .addPreferredGap(
238: org.jdesktop.layout.LayoutStyle.RELATED)
239: .add(
240: layout
241: .createParallelGroup(
242: org.jdesktop.layout.GroupLayout.TRAILING)
243: .add(jLabel6)
244: .add(
245: jSlider1,
246: org.jdesktop.layout.GroupLayout.PREFERRED_SIZE,
247: org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
248: org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
249: .addContainerGap(
250: org.jdesktop.layout.GroupLayout.DEFAULT_SIZE,
251: Short.MAX_VALUE)));
252: }// </editor-fold>//GEN-END:initComponents
253:
254: // Variables declaration - do not modify//GEN-BEGIN:variables
255: private javax.swing.JCheckBox jCheckBox1;
256: private javax.swing.JComboBox jComboBox1;
257: private javax.swing.JLabel jLabel1;
258: private javax.swing.JLabel jLabel2;
259: private javax.swing.JLabel jLabel3;
260: private javax.swing.JLabel jLabel4;
261: private javax.swing.JLabel jLabel5;
262: private javax.swing.JLabel jLabel6;
263: private javax.swing.JPasswordField jPasswordField1;
264: private javax.swing.JRadioButton jRadioButton1;
265: private javax.swing.JSlider jSlider1;
266: private javax.swing.JToggleButton jToggleButton1;
267: // End of variables declaration//GEN-END:variables
268:
269: }
|