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

TOPIC CREATED: 2007-05-04

First Post sasi
Registered: 2007-04-23 - Posts: 13

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.


1 Replies

Reply #1 stultuske
Registered: 2007-06-05 - Posts: 1

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();

if you want mFrame to remain visible:

cFrame a = new cFrame();l