[Jcrossclient-cvs] jcrossclient TabPanel.java,1.3,1.4
Status: Alpha
Brought to you by:
cavesomething
From: <jcr...@li...> - 2006-04-20 01:49:40
|
Update of /cvsroot/jcrossclient/jcrossclient In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv706 Modified Files: TabPanel.java Log Message: update comment Index: TabPanel.java =================================================================== RCS file: /cvsroot/jcrossclient/jcrossclient/TabPanel.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** TabPanel.java 20 Apr 2006 00:18:47 -0000 1.3 --- TabPanel.java 20 Apr 2006 01:49:36 -0000 1.4 *************** *** 25,32 **** You probably want to setBackground() to a color contrasting that of the parent and the components. - <P> - Whenever a card is selected (whether by software or mouse), an event with - id = Event.WINDOW_EXPOSE is sent to the selected component. Handling this - event may be useful for deferred initialization. @author Bruce R. Miller (bru...@ni...) --- 25,28 ---- *************** *** 114,118 **** ((CardLayout) getLayout()).show(this, (String) names.elementAt(i)); repaint(); ! Component c = getComponent(i); }} Applet applet = null; --- 110,115 ---- ((CardLayout) getLayout()).show(this, (String) names.elementAt(i)); repaint(); ! Component c = getComponent(i); ! c.dispatchEvent(new WindowEvent(new Window(null), WindowEvent.WINDOW_ACTIVATED)); }} Applet applet = null; |