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 - I18N : Menu hint on GUI builder is not from Bundle
Summary: I18N : Menu hint on GUI builder is not from Bundle
Status: VERIFIED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2008-01-11 04:00 UTC by Masaki Katakai
Modified: 2008-03-06 19:09 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.