• Post Reply Bookmark Topic Watch Topic
  • New Topic

Child Window doesn't Open  RSS feed

 
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
Sheriff
Posts: 53774
128
  • 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: 2754
12
  • 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!!!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!