Home arrow static arrow Java Programming [Archive] - change panel in japplet at runtime
Warning: Creating default object from empty value in /www/htdocs/w008deb8/wiki/components/com_staticxt/staticxt.php on line 51
Java Programming [Archive] - change panel in japplet at runtime
10 Duke Stars available
This topic has 1 reply on 1 page.

Posts:1
Registered: 7/13/04
change panel in japplet at runtime  
Jul 13, 2004 11:07 AM



 
I am fairly new to java, but here is what i am trying to do. I would like to have a button, when pressed, change a panel in my japplet and repaint. is this possible? i do not know anything about tabbed panes (i leanred with 1.2) so i'd like to stay away from them if i can. if anyone can help, i'd appreciate it.
 

Posts:2,399
Registered: 10/26/00
Re: change panel in japplet at runtime  
Jul 13, 2004 11:34 AM (reply 1 of 1)



 
I would like to have a button, when pressed, change a panel in my japplet and repaint. is this possible?

yes, Look at java.awt.CardLayout

i do not know anything about tabbed panes (i leanred with 1.2) so i'd like to stay away from them if i can.

they're pretty **** easy
 
This topic has 1 reply on 1 page.