This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 125086

Summary: I18N : Menu hint on GUI builder is not from Bundle
Product: guibuilder Reporter: Masaki Katakai <masaki>
Component: CodeAssignee: issues@guibuilder <issues>
Status: VERIFIED FIXED    
Severity: blocker CC: jf4jbug
Priority: P2 Keywords: I18N
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Masaki Katakai 2008-01-11 04:00:57 UTC
it seems that

    "You cannot add a menu component to a form without a menubar."

message on GUI editor hint area is not from Bundle.properties.

form/src/org/netbeans/modules/form/menu/MenuEditLayer.java:
    private void initAssistant() {
        String missingMenubarMsg = "You cannot add a menu component to a form without a menubar";
        AssistantMessages messages = AssistantMessages.getDefault();
        messages.setMessages("missingMenubar", missingMenubarMsg); // NOI18N
        assistantInitialized = true;
    }

I can not find this message in Bundle.properties in AssistantMessages/.
Comment 1 Jan Stola 2008-01-11 09:31:27 UTC
Fixed.

Modified files:
/cvs/form/src/org/netbeans/modules/form/assistant/Bundle.properties
new revision: 1.11; previous revision: 1.10
/cvs/form/src/org/netbeans/modules/form/menu/MenuEditLayer.java
new revision: 1.112; previous revision: 1.111
Comment 2 Ken Frank 2008-03-06 19:09:35 UTC
verified.