This content has been marked as final.
Show 2 replies
-
1. Re: Testing
wcone Oct 14, 2010 6:00 AM (in response to wcone)Some more testing.
{code}
public static void main(String args[]) {java.awt.EventQueue.invokeLater(new Runnable() {public void run() {LoginDialog dialog = new LoginDialog(new javax.swing.JFrame(), true);dialog.addWindowListener(new java.awt.event.WindowAdapter() {@Overridepublic void windowClosing(java.awt.event.WindowEvent e) {System.exit(0);}});dialog.setVisible(true);}});}{code}
-
2. Re: Testing
wcone Oct 14, 2010 6:05 AM (in response to wcone)public static void main(String args[]) {java.awt.EventQueue.invokeLater(new Runnable() {public void run() {LoginDialog dialog = new LoginDialog(new javax.swing.JFrame(), true);dialog.addWindowListener(new java.awt.event.WindowAdapter() {@Overridepublic void windowClosing(java.awt.event.WindowEvent e) {System.exit(0);}});dialog.setVisible(true);}});}{code:java}
public static void main(String args[]) {
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
LoginDialog dialog = new LoginDialog(new javax.swing.JFrame(), true);
dialog.addWindowListener(new java.awt.event.WindowAdapter() {
@Override
public void windowClosing(java.awt.event.WindowEvent e) {
System.exit(0);
}
});
dialog.setVisible(true);
}
});
}
{code}