Merge pull request #440 from MeFisto94/WelcomeScreen

WelcomeScreen sometimes didn't appear due to a fault
This commit is contained in:
Kirill Vainer 2016-03-04 10:40:39 -05:00
commit 3b1b146014

View File

@ -38,7 +38,7 @@ persistenceType = TopComponent.PERSISTENCE_ALWAYS)
@ActionID(category = "Window", id = "com.jme3.gde.welcome.WelcomeScreenTopComponent") @ActionID(category = "Window", id = "com.jme3.gde.welcome.WelcomeScreenTopComponent")
@ActionReference(path = "Menu/Window" /*, position = 333 */) @ActionReference(path = "Menu/Window" /*, position = 333 */)
@TopComponent.OpenActionRegistration( @TopComponent.OpenActionRegistration(
displayName = "#CTL_WelcomeScreenAction", displayName = "CTL_WelcomeScreenAction", /* No # since it's not part of the Bundles.properties. See http://bits.netbeans.org/dev/javadoc/org-openide-awt/org/openide/awt/ActionRegistration.html#displayName-- */
preferredID = "WelcomeScreenTopComponent") preferredID = "WelcomeScreenTopComponent")
@Messages({ @Messages({
"CTL_WelcomeScreenAction=Info Screen", "CTL_WelcomeScreenAction=Info Screen",