Is is posibble to call/open Jinternalframe using a button from another jinternalframe?
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Billy_Tong
Posted On:   Friday, March 28, 2003 12:18 AM

Ok, my question is simple.I got three jinternalframe lets call it J1, J2,J3, which all are inside a big Jframe call Main. I want to do a login system. J1=Login J2= change Password J3=Register I have 4 java files: Main (It is a Jframe) Login (Jinternalframe) Password (Jinternalframe) Register (Jinternalframe) HERE IS MY QUESTION: On my J1 internalframe I got two buttons (register,password) what I want is, when I press password it will close the J1 and open the J2 internalframe. when I press register it    More>>

Ok, my question is simple.I got three jinternalframe lets call it J1, J2,J3, which all are inside a big Jframe call Main.


I want to do a login system.


J1=Login


J2= change Password


J3=Register


I have 4 java files:


Main (It is a Jframe)


Login (Jinternalframe)


Password (Jinternalframe)


Register (Jinternalframe)


HERE IS MY QUESTION:
On my J1 internalframe I got two buttons (register,password)
what I want is,


when I press password it will close the J1 and open the J2 internalframe.


when I press register it will close J1 and open J3



How to do this?Each of my frames are on different class and files. Please give an small example thanks.


PS:I have a some Actionperform understanding, just don't know how to solve this problem :P

   <<Less
About | Sitemap | Contact