public class UpdateAgent
extends java.awt.event.WindowAdapter
UpdateAgent
class performs an update check on the
network, then pops up an informational dialog if the software is
out of date. The update check is started asynchronously when the
window is made visible for the first time so that no delay occurs.UpdateCheck
Constructor and Description |
---|
UpdateAgent(java.lang.String tool)
Creates a new update agent for the specified tool name.
|
Modifier and Type | Method and Description |
---|---|
void |
windowOpened(java.awt.event.WindowEvent event)
Creates an update check in response to the window being opened
for the first time.
|
public UpdateAgent(java.lang.String tool)
public void windowOpened(java.awt.event.WindowEvent event)
windowOpened
in interface java.awt.event.WindowListener
windowOpened
in class java.awt.event.WindowAdapter
event
- the window open event.