This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

multi-windowed application

 
ima clark
Greenhorn
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do I make a multi windowed application. Meaning....one window(JFrame) then the user clicks a button and gets sent to another window(JFrame not messagedialogbox). Would I just code the new container and JFrame within the actionlister that the button uses? Thanks
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could. Things might start to get ugly.
Why not create a new class that defines the new frame that you want to create, then instantiate this other new class from the button's action listener?
 
ima clark
Greenhorn
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for the advice
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic