• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

error creating JDialog

 
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ok...
i forgot :
extends JFrame


sorry for this useless post...
feel free to see it deleted
 
reply
    Bookmark Topic Watch Topic
  • New Topic