Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 96472 - I18N - allow preview for rtl locales and code samples
I18N - allow preview for rtl locales and code samples
Status: NEW
Product: guibuilder
Classification: Unclassified
Component: Code
All All
: P3 with 1 vote (vote)
Assigned To: issues@guibuilder
: I18N
Depends on:
  Show dependency treegraph
Reported: 2007-02-23 19:29 UTC by Ken Frank
Modified: 2011-09-19 22:09 UTC (History)
1 user (show)

See Also:


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 ?
Comment 2 Ken Frank 2008-01-15 20:51:16 UTC
is this something that could be done easily for 6.1 ?

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo