JOIN DEVPPL

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



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


S

keyboard_arrow_up
0
keyboard_arrow_down


First Post Mark as Spam sasi
Posts: 13 - Registered: 2007-04-23 08:10:39

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.




S

keyboard_arrow_up
0
keyboard_arrow_down


Reply #1 Mark as Spam stultuske
Posts: 1 - 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