how to switch between forms...

A

Ajay

Hello All,
I am making an App which involves 3 forms..I am not able
to switch from one to other form.As i fill the user details on first
form,press ok..i need to switch to other form.I use
mDisplay.setCurrent(Form1);
then
mDisplay.setCurrent(Form2);

But it is giving Run Time Exceptions..Please help...if possible give me
example code.
 
A

Andrew Thompson

Ajay wrote:
....
I am making an App which involves 3 forms..

Forms? Are you talking NetBeans?
Web-apps with frames? Tanu-tuvan?
....I am not able
to switch from one to other form.As i fill the user details on first
form,press ok..i need to switch to other form.I use
mDisplay.setCurrent(Form1);
then
mDisplay.setCurrent(Form2);

But it is giving Run Time Exceptions..

Like what?

If it's an IAmJustFeelingLazyException, try flogging
it (the code) before compilation. If something else,
you might try being more specific about what those
exceptions or errors are.

Copy/paste error output.
...Please help...if possible give me
example code.

Please pay me. Otherwise, be patient and show
some effort at learning to use the Java language,
as is expected* of anybody else on usenet.

* (By most people who might actually help.)

Andrew T.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,268
Messages
2,571,096
Members
48,773
Latest member
Kaybee

Latest Threads

Top