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

This post is from the topic: How to go to another form using java swing forms.....





s

keyboard_arrow_up
0
keyboard_arrow_down


Post #28524 stultuske
Posts: 25 - Registered: 2007-06-05 04:53:10

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



JOIN DEVPPL

It looks like you are new here. If you want to get involved, click on Join below!




MENU
Advertising