Print at Dec 19, 2025, 1:02:51 PM View all posts in this thread on one page
Posted by Staples at Aug 21, 2015, 10:09:18 PM
GUI Loaded Callback?
Hey there,

I'm writing a plugin that requires knowing when the application has completed loading.

The goal is to add a menu item to the context menu of the MultipleLevelPlanPanel. I've been successful doing so except for when I try to do it on plugin-creation, since the GUI hasn't been loaded yet.

Is there a application-loaded plugin callback or something similar that I can use to trigger my menu change?

Thanks for any and all help.

Posted by Puybaret at Aug 27, 2015, 12:03:43 AM
Re: GUI Loaded Callback?
Sorry, there isn't no callback that will tell you when the application is fully ready. Maybe try to program your feature in a call to EventQueue.invokeLater.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator