JDK-6605477 : Nimbus L&F: in RTL arrow button & textfield in JCombobox need flipping
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 6u5
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_vista
  • CPU: x86
  • Submitted: 2007-09-17
  • Updated: 2011-02-16
  • Resolved: 2008-01-30
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6u10Resolved
Related Reports
Duplicate :  
Description
There is a 2 to 3 pixel in Editable JComboBox textfield & arrow button. This works fine in 6u5_b03 promoted build. but fails in 6u5_b04 pit build , hence it is a regression. This regression might have been introduced by http://monaco.sfbay/detail.jsf?cr=6595322 bug fix. This bug can be reproduced in solaris , linux & windows.

Step to reproduce :-
-----------------
1) Run the attached testcase.
2) Observe there is a 2 to 3 pixel gap between Editable JComboBox textfield & arrow button. If you see the same then the bug is reproduced.

Comments
EVALUATION I've done a bit of a mockup of this approach (flipping painting code). It mostly works, but is not the complete solution. It looks like Synth/Basic isn't flipping the insets as well. I know there are a whole raft of RTL bugs in Basic, Synth, and in Nimbus. I'm looking into a more correct fix for RTL. Also, while this may technically be a regression because it "was working" and now "isn't", if it was ever working, it was a fluke. It really was never working correctly. So I'm going to remove the word "regression" from the subject, to more accurately reflect the state of the bug.
19-09-2007

EVALUATION We need add a property to flip the graphics for RTL for the complete combo in non-editable state and for the button and textfield graphics in editable state.
18-09-2007