Eric Clayberg Messages: 944 Registered: July 2009 Location: Boston, MA
In addition to allowing you to provide design-time specific rendering, Beans.isDesignTime() is also very useful for suppressing other runtime behavior that won't work at design time. From the WB FAQ...
A component may rely on some runtime behavior that is not possible at design time (such as accessing an application database or some other file). Runtime specific behavior should be isolated (and stubbed out as necessary) by wrappering the runtime specific code with a call to Beans.isDesignTime() which will answer true when the component is loaded within WindowBuilder and false at runtime.