public class AppletWindowProvider extends ComponentWindowProvider
WindowProvider designed to work with Applets. Clients
should call start() and stop() from the methods
Applet.start() and Applet.stop().listeners| Constructor and Description |
|---|
AppletWindowProvider(Component component)
Creates a new window provider
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isShowing()
Tells whether this
WindowProvider represents a window that is visible. |
void |
start()
Informs this provider that the applet started.
|
void |
stop()
Informs this provider that the applet stopped.
|
addWindowProviderListener, getComponent, removeWindowProviderListener, searchWindow, setComponentfireVisibilityChanged, fireWindowChanged, hasListeners, listeners, updateVisibilitypublic AppletWindowProvider(Component component)
component - some component of the applet or the applet itself,
can be nullpublic void start()
public void stop()
public boolean isShowing()
WindowProviderWindowProvider represents a window that is visible. Under
normal circumstances this method would return:Window window = searchWindow();
return window == null ? false : window.isShowing();isShowing in interface WindowProviderisShowing in class AbstractWindowProviderCopyright © 2017 Docking Frames. All rights reserved.