tego SOA nie znalem ;p
co do kodu, to jest to podstawa wygenerowana przez NetBeans'a, bez zadnych dodatkowych elementow:
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/*
* Main.java
*
* Created on 2011-03-15, 17:26:19
*/
package main;
public class Main extends javax.swing.JFrame {
/** Creates new form Main */
public Main() {
initComponents();
}
/** This method is called from within the constructor to
* initialize the form.
* WARNING: Do NOT modify this code. The content of this method is
* always regenerated by the Form Editor.
*/
@SuppressWarnings("unchecked")
// <editor-fold defaultstate="collapsed" desc="Generated Code">
private void initComponents() {
jButton2 = new javax.swing.JButton();
jButton1 = new javax.swing.JButton();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());
jButton2.setText("jButton2");
getContentPane().add(jButton2, new org.netbeans.lib.awtextra.AbsoluteConstraints(50, 70, 60, 60));
jButton1.setText("jButton1");
getContentPane().add(jButton1, new org.netbeans.lib.awtextra.AbsoluteConstraints(30, 23, 100, 160));
pack();
}// </editor-fold>
/**
* @param args the command line arguments
*/
public static void main(String args[]) {
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new Main().setVisible(true);
}
});
}
// Variables declaration - do not modify
private javax.swing.JButton jButton1;
private javax.swing.JButton jButton2;
// End of variables declaration
}