Menu DEVPPL Search
158.987
MEMBERS
15.941
TOPICS
63.226
POSTS
  562
FLASH GAMES
7.717
TUTORIALS
 

Login

E-mail:
Password:

How to go to another form using java swing forms.....

0

Loading

How to go to another form using java swing forms.....

Postby Sasi » Fri May 04, 2007 9:29 am

Hello everybody, kindly tell me how to go to another form from one form means just like in HTML (navigation from one page to another page using <a> anchor tag), so in java(swings) how to be implemented this issue by means of menuitems...

Please respond to this as early as possible.


regards,
sasi.
Sasi
 
Reputation: 0
Posts: 13
Joined: Mon Apr 23, 2007 2:10 pm
Highscores: 0
Arcade winning challenges: 0

How to go to another form using java swing forms..... - Sponsored results

Sponsored results

Login to get rid of ads

 

0

Loading

Postby Stultuske » Tue Jun 05, 2007 11:01 am

whell, let say you have a main-frame called mFrame and a called-frame, cFrame.

if you try to call cFrame from mFrame, and you want to let mFrame dissappear, use:

cFrame a = new cFrame();
this.dispose();

if you want mFrame to remain visible:

cFrame a = new cFrame();l
Stultuske
 
Reputation: 0
Posts: 1
Joined: Tue Jun 05, 2007 10:53 am
Highscores: 0
Arcade winning challenges: 0
^ Back to Top