JDK-6623055 : Nimbus L&F: JOptionPane - Button alignment should follow native platform
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 6u10
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: generic
  • Submitted: 2007-10-29
  • Updated: 2011-02-16
  • Resolved: 2008-01-05
Related Reports
Duplicate :  
Description
Nimbus - JOptionPane's showConfirmDialog()renders the Yes, No, Cancel buttons differently. On Win XP the order should be Yes, No and Cancel starting from the left.  Nimbus renders Cancel, No and Yes. And for just Yes, No dialogs.. No is rendered on the left side.  The end user of an application had to change where they used to click regularly for doing the same action.  This needs a lot of change in the user interation with the app. ending in clicking on the wrong buttons.  This issue is also been reported on the http://forums.java.net/jive/thread.jspa?threadID=31434 

So the order of buttons should match the native platform.

Please see the attached images for more details.

Comments
EVALUATION It does look strange, assigned to the Nimbus team
29-10-2007