public interface SwingApplication
componentFactory = newComponentFactory
() { public ComponentcreateComponent
() { return new JLabel("Swing app component"); } }; config =SwingApplicationConfiguration
.GENERATOR
.invoke()
.title("SwingApplication")
).componentFactory
(componentFactory); appService =servicesBroker
.getService
(ApplicationService
.class); swingApp =appService
.openApplication
(SwingApplication.TYPE, config).getApplication()
.getApplication()
;
Example how to create a multi application |
Modifier and Type | Field and Description |
---|---|
static ApplicationType<SwingApplication,SwingApplicationConfiguration> |
TYPE
The application technical type to be used for open a swing application via
ApplicationService.openApplication(ApplicationType, ApplicationTabConfiguration) . |
static final ApplicationType<SwingApplication,SwingApplicationConfiguration> TYPE
ApplicationService.openApplication(ApplicationType, ApplicationTabConfiguration)
.Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500