• Post Reply Bookmark Topic Watch Topic
  • New Topic

error creating JDialog  RSS feed

 
kelvin cheung
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator



AdminLogIn.java [28:1] reference to JDialog is ambiguous, both method JDialog(java.awt.Dialog,java.lang.String,boolean) in javax.swing.JDialog and method JDialog(java.awt.Frame,java.lang.String,boolean) in javax.swing.JDialog match
AdminLogIn = new JDialog(null, "Administrator Log-inn", true);
^
1 error
Errors compiling AdminLogIn.



what have i forgot to do?
 
kelvin cheung
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok...
i forgot :
extends JFrame


sorry for this useless post...
feel free to see it deleted
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!