| You are here: DEVPPL ‹ Forum ‹ Programming ‹ Java Forum |
NOTIFICATIONS
|
|
|||||||||||||||
Login |
How to go to another form using java swing forms.....
2 posts
• Page 1 of 1
0
How to go to another form using java swing forms.....
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.
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
0
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
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
|
|