Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

If I only had a SWING book...  RSS feed

 
Shannon Sims
Ranch Hand
Posts: 197
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just when I thought my Java books would be sufficient enough to help me get through creating a UI... Does anyone have any good recommendations for a UI beginner that addresses JTable and JFrame in great details?

My class extends the JFrame, however, I ran across several websites where the class extends from the JPanel. According to the samples given, the main method uses the invokeLater() to avoid thread problems. The invokeLater() takes a Runnable which invokes the createAndShowGUI(). So, my question is, how can I pass an argument on load if the createAndShowGUI() does not take one?

Thanks for any feedback.
 
miguel lisboa
Ranch Hand
Posts: 1281
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
look at the end of this page:
the whole 1rst edition is there, for free!

enjoy!
 
Shannon Sims
Ranch Hand
Posts: 197
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wow, thanks Miguel! This is great! Thank you!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!