Interface SwingApplicationConfiguration.ComponentFactory<T extends Component>
- Enclosing interface:
- SwingApplicationConfiguration
public static interface SwingApplicationConfiguration.ComponentFactory<T extends Component>
Factory to create a
component.- Since:
- 4.2.416
-
Method Summary
Modifier and TypeMethodDescriptionCreates thecomponent.voidCalled when the belonging SwingApplication is closed.
-
Method Details
-
createComponent
T createComponent()Creates thecomponent. Each call to this method should create a new component instance.- Returns:
- the created
component. - Since:
- 4.2.416
-
dispose
Called when the belonging SwingApplication is closed. Clean up all resources in this method.- Parameters:
component- the component created increateComponent()- Since:
- 4.2.429
-