• Post Reply Bookmark Topic Watch Topic
  • New Topic

Child Window doesn't Open

 
Pranit Sonawane
Ranch Hand
Posts: 172
Java MySQL Database Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


says not a suitable method?
 
Yashwanth Raj
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sale class should have extended a valid JComponent class..
 
Campbell Ritchie
Marshal
Posts: 52598
119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should not normally use two frames. If you want a second window to appear, use a dialogue window.
 
Rob Camick
Ranch Hand
Posts: 2701
10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Follow Java naming conventions. Learn from the books/tutorials that you read and don't make up your own conventions.

Class names should start with an upper case character. "sale" should be "Sale".
 
Pranit Sonawane
Ranch Hand
Posts: 172
Java MySQL Database Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your reply Rob!

your idea worked for me.! It was great idea and I'll make sure that from the next time I'll for the naming rules!

Cheers!!!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!