Determines whether the component is currently in design mode.
public synchronized boolean getDesignMode()
Returns true if the component is in design mode; otherwise, returns false. (If the component does not have a site, this method always returns false.)