Hi,thanks for the last hint. I was reading the email on my mobile and haven't seen, that there is my solution.
The point that I was missing is in https://github.com/apache/incubator-netbeans/blob/master/platform/core.windows/src/org/netbeans/core/windows/options/LafOptionsPanelController.java#L51 .
I have to but the call of the UI or restart dialog, I want to show, into another thread. Otherwise you will interrupt the storing process of all changed options, so the api is showing a hint, that storing takes to long. This message is blocking any input for my own dialog. At this point I had no other option than killing the application. Now it's completely clear but it wasn't before.
Now it is working. Thanks again. -- Regards, Andreas Hauffe Am 23.08.2018 um 20:11 schrieb Neil C Smith:
Hi,Check the file I linked to. The LaF option seems to do exactly what you're looking for?Best wishes, NeilOn Thu, 23 Aug 2018, 18:38 Andreas Hauffe, <andreas.hau...@tu-dresden.de <mailto: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 <mailto:neilcsm...@apache.org>> Gesendet: Donnerstag, 23. August 2018 17:32 An: Hauffe, Andreas <andreas.hau...@tu-dresden.de <mailto:andreas.hau...@tu-dresden.de>> Cc: users@netbeans.apache.org <mailto: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 <mailto: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 <mailto:users-unsubscr...@netbeans.apache.org> For additional commands, e-mail: users-h...@netbeans.apache.org <mailto:users-h...@netbeans.apache.org> For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
smime.p7s
Description: S/MIME Cryptographic Signature