View Single Post
  #3 (permalink)  
Old 07-07-2007, 09:38 PM
java_newbie java_newbie is offline
Member
 
Join Date: Jul 2007
Posts: 8
java_newbie is on a distinguished road
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
Reply With Quote