01: /*
02: * FrameWithBundleToMove.java
03: *
04: * Created on 7. srpen 2007, 14:37
05: */
06:
07: package data;
08:
09: /**
10: *
11: * @author Jirka
12: */
13: public class FrameWithBundleToMove extends javax.swing.JFrame {
14:
15: /** Creates new form FrameWithBundleToMove */
16: public FrameWithBundleToMove() {
17: initComponents();
18: }
19:
20: /** This method is called from within the constructor to
21: * initialize the form.
22: * WARNING: Do NOT modify this code. The content of this method is
23: * always regenerated by the Form Editor.
24: */
25: // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
26: private void initComponents() {
27:
28: lanButton = new javax.swing.JButton();
29:
30: setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
31:
32: java.util.ResourceBundle bundle = java.util.ResourceBundle
33: .getBundle("data/Bundle"); // NOI18N
34: lanButton.setText(bundle
35: .getString("FrameWithBundleToMove.lanButton.text")); // NOI18N
36:
37: org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(
38: getContentPane());
39: getContentPane().setLayout(layout);
40: layout.setHorizontalGroup(layout.createParallelGroup(
41: org.jdesktop.layout.GroupLayout.LEADING).add(
42: layout.createSequentialGroup().add(138, 138, 138).add(
43: lanButton)
44: .addContainerGap(155, Short.MAX_VALUE)));
45: layout.setVerticalGroup(layout.createParallelGroup(
46: org.jdesktop.layout.GroupLayout.LEADING).add(
47: layout.createSequentialGroup().add(124, 124, 124).add(
48: lanButton)
49: .addContainerGap(153, Short.MAX_VALUE)));
50:
51: pack();
52: }// </editor-fold>//GEN-END:initComponents
53:
54: /**
55: * @param args the command line arguments
56: */
57: public static void main(String args[]) {
58: java.awt.EventQueue.invokeLater(new Runnable() {
59: public void run() {
60: new FrameWithBundleToMove().setVisible(true);
61: }
62: });
63: }
64:
65: // Variables declaration - do not modify//GEN-BEGIN:variables
66: private javax.swing.JButton lanButton;
67: // End of variables declaration//GEN-END:variables
68:
69: }
|