hvorfor kan ikke se knappen
/*
* fdvx.java
*
* Created on 4. maj 2001, 17:26
*/
/**
*
* @author lord x
* @version
*/
public class fdvx extends javax.swing.JFrame {
/** Creates new form fdvx */
public fdvx() {
initComponents ();
pack ();
}
/** 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 FormEditor.
*/
private void initComponents() {
button1 = new java.awt.Button();
getContentPane().setLayout(null);
addWindowListener(new java.awt.event.WindowAdapter() {
public void windowClosing(java.awt.event.WindowEvent evt) {
exitForm(evt);
}
}
);
button1.setFont(new java.awt.Font (\"Dialog\", 0, 11));
button1.setLabel(\"button1\");
button1.setName(\"button1\");
button1.setBackground(java.awt.Color.lightGray);
button1.setForeground(java.awt.Color.black);
getContentPane().add(button1);
button1.setLocation(70, 40);
//button1.setSize(button1.getPreferredSize());
b = new Acme01Bean();
}
/** Exit the Application */
private void exitForm(java.awt.event.WindowEvent evt) {
System.exit (0);
}
/**
* @param args the command line arguments
*/
public static void main (String args[]) {
new fdvx ().show ();
}
// Variables declaration - do not modify
private java.awt.Button button1;
Acme01Bean b;// End of variables declaration
}
