|
![]() |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uk.org.iscream.cms.conient.SwingSafeAdd
Allows components to be safely added to containers This class takes a container and a component to add to the container. It then should be added to the Swing Event Dispatching Thread in order that the add can carry out.
Field Summary | |
private JComponent |
_component
The component to add |
private Container |
_container
The container to add the component to |
static String |
REVISION
The current CVS revision of this class |
Constructor Summary | |
SwingSafeAdd(Container container,
JComponent component)
Constructs a new instance. |
Method Summary | |
void |
run()
Executed by the Swing Event Dispatch thread to update the display. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String REVISION
private JComponent _component
private Container _container
Constructor Detail |
public SwingSafeAdd(Container container, JComponent component)
container
- the container to add the component tocomponent
- the component to be added to the containerMethod Detail |
public void run()
run
in interface Runnable
|
![]() |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |