JDK-6394745 : Win L&F: Button size is wrong in JOptionPane
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 6
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2006-03-07
  • Updated: 2010-04-02
  • Resolved: 2006-04-12
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
6 b80Fixed
Related Reports
Relates :  
Description
From the winlaf.dev.java.net project: Button size is wrong in JOptionPane. More at:
https://winlaf.dev.java.net/release_0.5.html#Issue32

All of the standard buttons on a JOptionPane are way too small. They should be at least 75 (according to Microsoft, Winlaf says 85) pixels wide, and they should all be the same width.

Comments
EVALUATION The BasicOptionPaneUI has no mechanism to set a minimum size on the buttons in an option pane. To fix this it must be modified to have a new way of setting a minimum width, perhaps through a new UI default.
07-03-2006