|
HI
its not detecting the new JDialog class...do i hv to include namespace or something...
this is what i have done
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
// TODO add your handling code here:
JDialog myJDialog = new JDialog(this);
myJDialog.setVisible(true);
}
but its giving error cannot find symbol...i created JFrame, dragged one button and created JDialog ...Now the code of JFrame button is shown above...how to solve this problem...
Thanks a lot
|