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.....




28524 stultuske
Posted: 2007-06-05 10:01:03

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