GUI Commands User GuideVersion 2.1 |
||
Lazy CommandThe The following is an example implementation.
public class MyLazyCommand extends LazyCommand()
{
private JDialog dialog;
public void build()
{
// construct the UI the first time we are invoked
dialog = ...;
}
public void lazyExecute()
{
dialog.setVisible(true);
}
}
|
||