Hi, Check the file I linked to. The LaF option seems to do exactly what you're looking for?
Best wishes, Neil On Thu, 23 Aug 2018, 18:38 Andreas Hauffe, <andreas.hau...@tu-dresden.de> wrote: > Hi, > > thanks for the reply. I also fount the LifecycleManager, but I don't know > where to put the commands so that the UI is visible after clicking the ok > button of the OptionDialog. Do you have any tips? > > -- > Regards, > Andreas Hauffe > > -----Ursprüngliche Nachricht----- > Von: Neil C Smith <neilcsm...@apache.org> > Gesendet: Donnerstag, 23. August 2018 17:32 > An: Hauffe, Andreas <andreas.hau...@tu-dresden.de> > Cc: users@netbeans.apache.org > Betreff: Re: Reboot Netbeans Platform Application after option change > > Hi, > > On Thu, 23 Aug 2018 at 16:23, Andreas Hauffe <andreas.hau...@tu-dresden.de> > wrote: > > is there a simple way to restart a Netbeans Platform application after > > specific options in the options dialog are changed? > > LifecycleManager? Mark for restart then exit? > > You may want some sort of UI in there though?! Maybe something like > > https://github.com/apache/incubator-netbeans/blob/master/platform/core.windows/src/org/netbeans/core/windows/options/LafPanel.java#L233 > > Best wishes, > > Neil > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org > For additional commands, e-mail: users-h...@netbeans.apache.org > > For further information about the NetBeans mailing lists, visit: > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists > >