aspose file tools
The moose likes Swing / AWT / SWT and the fly likes How to go to another JFrame by pressing JButton in this code? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "How to go to another JFrame by pressing JButton in this code?" Watch "How to go to another JFrame by pressing JButton in this code?" New topic
Author

How to go to another JFrame by pressing JButton in this code?

lolo hyun
Greenhorn

Joined: Oct 24, 2012
Posts: 1
Buddhika Mawella
Ranch Hand

Joined: Jan 06, 2011
Posts: 36

Run following code and check. Hope that is the functionality you want.



BM
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 32680
    
    4
Welcome to the Ranch
Why do you want a second frame in the first place? You should use internal frames, or dialogues, and should only have one frame per application.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to go to another JFrame by pressing JButton in this code?
 
Similar Threads
Login page
erropr
why its not running or how to run it
Getting sql error [Microsoft ][odbc microsoft access driver]numeric index out of range
Problem while using prepared statement