Make the OK button the default. This should be called
after you add this panel to a dialog/frame, not
before otherwise you will get an IllegalStateException
exception.
Parameters: IllegalStateException - Thrown if nullJRootPane. I.E. componenthasn't been added to a frame, dialog etc.
setExecuting
public void setExecuting(boolean executingMode)(Code)
When in executing mode the OK button is disabled
and the Close button is retitled as Cancel.