View Single Post
  #4 (permalink)  
Old 07-07-2007, 10:25 PM
JavaBean's Avatar
JavaBean JavaBean is offline
Moderator
 
Join Date: May 2007
Posts: 1,272
JavaBean is on a distinguished road
You are trying to create a new object from JDialog class. But you have a new class which extends JDialog! You should use the name of your class there. And make sure that these two classes are in the same package. If not you need to add correct import statements to your JFrame class so that JVM can find your JDialog class.
Reply With Quote