This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • 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
Marshal
Posts: 55717
163
  • 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: 2801
15
  • 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!