• Post Reply Bookmark Topic Watch Topic
  • New Topic

combining components  RSS feed

 
Geoff Vurel
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
forget this question
 
Campbell Ritchie
Marshal
Posts: 55781
164
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please use the code tags and don't disable BB code; your code is hard enough to read even with the indentation.

I don't quite understand the question, I am afraid. Your two classes appear to do different things. You can add any number of components in a Swing class constructor, but you can't add Frames to Frames (at least I think you can't). You can add several panels to a frame, and add other components to them. That might be what you want.

This sort of question is usually discussed on our Swing forum, so I shall move you there.

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