本文整理了Java中javafx.application.Application
类的一些代码示例,展示了Application
类的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Application
类的具体详情如下:
包路径:javafx.application.Application
类名称:Application
暂无
代码示例来源:origin: jfoenixadmin/JFoenix
public static void main(final String[] arguments) {
Application.launch(arguments);
}
}
代码示例来源:origin: de.roskenet/springboot-javafx-support
@Override
public void stop() throws Exception {
super.stop();
if (applicationContext != null) {
applicationContext.close();
} // else: someone did it already
}
代码示例来源:origin: com.nexitia.emaginplatform/emagin-jfxcore-engine
/**
* @{inheritedDoc}
*/
@Override
public void init() throws Exception {
super.init();
initApplication();
}
代码示例来源:origin: com.nexitia.emaginplatform/emagin-jfxcore-engine
/**
* @{inheritedDoc}
*/
@Override
public void stop() throws Exception {
super.stop();
pool.shutdownNow();
VLExecutorService.shutDown();
}
代码示例来源:origin: com.cathive.fx/fx-guice
public final void init() throws Exception {
super.init();
代码示例来源:origin: jfoenixadmin/JFoenix
public static void main(String[] args) {
Application.launch(args);
}
代码示例来源:origin: at.bestsolution.efxclipse.rt/org.eclipse.fx.osgi.util
@Override
public void stop() throws Exception {
super.stop();
this.osgiApp.returnValue = this.osgiApp.jfxStop();
}
}
代码示例来源:origin: org.jrebirth.af/core
public final void init() throws CoreException {
try {
super.init();
代码示例来源:origin: jfoenixadmin/JFoenix
public static void main(String[] args) {
Application.launch(args);
}
代码示例来源:origin: at.bestsolution.efxclipse.rt/org.eclipse.fx.ui.workbench.fx
@Override
public void stop() throws Exception {
super.stop();
this.e4Application.jfxStop();
}
代码示例来源:origin: speedment/speedment
@Override
public void execute(Speedment speedment) throws MojoExecutionException, MojoFailureException {
final Injector injector = speedment.getOrThrow(Injector.class);
MainApp.setInjector(injector);
if (hasConfigFile()) {
Application.launch(MainApp.class, configLocation().toAbsolutePath().toString());
} else {
Application.launch(MainApp.class);
}
}
代码示例来源:origin: ssaring/sportstracker
@Override
public void stop() throws Exception {
document.storeOptions();
LOGGER.info("Exiting application...");
super.stop();
}
代码示例来源:origin: torakiki/pdfsam
public static void main(String[] args) {
Injector.addConfig(new PdfsamBasicConfig(), new org.pdfsam.alternatemix.AlternateMixModule.ModuleConfig(),
new org.pdfsam.extract.ExtractModule.ModuleConfig(), new org.pdfsam.merge.MergeModule.ModuleConfig(),
new org.pdfsam.rotate.RotateModule.ModuleConfig(), new org.pdfsam.split.SplitModule.ModuleConfig(),
new org.pdfsam.splitbybookmarks.SplitByBookmarksModule.ModuleConfig(),
new org.pdfsam.splitbysize.SplitBySizeModule.ModuleConfig());
Application.launch(PdfsamApp.class, args);
}
代码示例来源:origin: us.ihmc/valkyrie
@Override
public void stop() throws Exception
{
super.stop();
ui.stop();
Platform.exit();
}
代码示例来源:origin: us.ihmc/ihmc-robot-data-visualizer
public static void main(String[] args)
{
Application.launch(args);
}
}
代码示例来源:origin: us.ihmc/ihmc-path-planning-visualizers
@Override
public void stop() throws Exception
{
super.stop();
ui.stop();
Platform.exit();
}
代码示例来源:origin: us.ihmc/robot-environment-awareness-visualizers
public static void main(String[] args)
{
Application.launch();
}
}
代码示例来源:origin: us.ihmc/valkyrie
@Override
public void stop() throws Exception
{
super.stop();
ui.stop();
ros2Node.destroy();
Platform.exit();
}
代码示例来源:origin: org.jrebirth/sample
/**
* Application launcher.
*
* @param args the command line arguments
*/
public static void main(final String... args) {
Application.launch(SampleApplication.class, args);
}
代码示例来源:origin: us.ihmc/ihmc-footstep-planning-visualizers
@Override
public void stop() throws Exception
{
super.stop();
messager.closeMessager();
module.stop();
ui.stop();
}
内容来源于网络,如有侵权,请联系作者删除!