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 94475 - I18N - mnemonic of "Current Font Families:" is assigned to the first letter
Summary: I18N - mnemonic of "Current Font Families:" is assigned to the first letter
Status: VERIFIED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Matthew Bohm
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2007-02-05 19:45 UTC by bugbridge
Modified: 2007-07-03 18:04 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
image (102.91 KB, image/jpeg)
2007-07-03 18:04 UTC, kaa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bugbridge 2007-02-05 19:45:41 UTC
Original status: 1-Dispatched; Suggested Status: NEW

These items should be added to the Keywords: I18N

Description:
Tested build: NB 200611200100 + VWP 061120_5

1. Create Java EE 5 project
2. Drop the Button component
3. Click the ... button of the style property of the Button
4. Click the Edit button in the style editor

The mnemonic of "Current Font Families:" is assigned to the first letter.

propertyeditors/src/com/sun/jsfcl/std/css/FontFamilyEditorDialog.java
    currentFontFamiliesLabel.setDisplayedMnemonic(java.util.ResourceBundle.
   
getBundle("com/sun/jsfcl/std/css/Bundle").getString("CURRENT_FONTS").charAt(0));
 <== Here
    currentFontFamiliesLabel.setText(org.openide.util.NbBundle.
    getMessage(FontFamilyEditorDialog.class, "CURRENT_FONTS"));

The message for mnemonic needs to be added to Bundle.properties.
Comment 1 Matthew Bohm 2007-06-26 01:03:00 UTC
But CURRENT_FONTS already appears in
visualweb/propertyeditors/src/org/netbeans/modules/visualweb/propertyeditors/css/Bundle.properties, so either this is
fixed or I do not understand the issue. Thinking optimistically--marking fixed.
Comment 2 kaa 2007-07-03 18:03:45 UTC
verified: 0630 with VW App
Comment 3 kaa 2007-07-03 18:04:19 UTC
Created attachment 44686 [details]
image