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

Summary: I18N - allow preview for rtl locales and code samples
Product: guibuilder Reporter: Ken Frank <kfrank>
Component: CodeAssignee: issues@guibuilder <issues>
Status: NEW ---    
Severity: blocker CC: kaa
Priority: P3 Keywords: I18N
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

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 ?