Bruce Schubert
|
Posted: October 12, 2010 03:08 by Bruce Schubert
|
|
This is something I learned in my NetBeans Platform Training: here's how to restart your NetBeans Platform (RCP) application: First, add a dependancy to the Utilities API to the module that should initiate the restart, and then add the following code snippets: import org.openide.LifecycleManager; . . . // Shutdown and restart LifecycleManager.getDefault().markForRestart(); // Or if you want to shutdown... LifecycleManager.getDefault().exit(); |
How to Restart Your NetBeans Platform App
Replies: 0 - Last Post: October 12, 2010 03:08
by: Bruce Schubert
by: Bruce Schubert
showing 1 - 1 of 1
Replies: 0 - Last Post: October 12, 2010 03:08
by: Bruce Schubert
by: Bruce Schubert






