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 96472 - I18N - allow preview for rtl locales and code samples
Summary: I18N - allow preview for rtl locales and code samples
Status: NEW
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker with 1 vote (vote)
Assignee: issues@guibuilder
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2007-02-23 19:29 UTC by Ken Frank
Modified: 2011-09-19 22:09 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ken Frank 2007-02-23 19:29:55 UTC
currently jdk/swing does not use locale value to determine direction of text
or menu or other ui layout for locales that use right to left orientation, such
as Persian, Arabic, Hebrew
and assumes that user must code in these values, which usually means they
would need to code to determine what locale user of app is in, and then
set the orientation as needed.
(see jdk/swing issue 4505945)

for designtime, form editor does not show preview in the orientation of rtl
locales if that is locale user is in while designing.

this rfe is for showing preview in that orientation, if user is either
- in one of those locales

- sets a property that indicates they want to

2nd way might be more flexible.

This is based partially on customer comments on the whole situation of
the bidi support for nb.

issue on ide showing its own menus, etc as per locale is 96471

issue on platform doing the same for generated modules is 96333
Comment 1 Ken Frank 2007-02-23 19:31:53 UTC
perhaps some kind of code sample or component to add the template
for code that would set orientation based on locale could be added
to pallette ?

ken.frank@sun.com
Comment 2 Ken Frank 2008-01-15 20:51:16 UTC
is this something that could be done easily for 6.1 ?

ken.frank@sun.com