JDK-4200358 : JButtons are too narrow in Windows look and feel.
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 1.2.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 1999-01-04
  • Updated: 1999-04-29
  • Resolved: 1999-04-29
Related Reports
Duplicate :  
Description

Name: diC59631			Date: 01/04/99


If the text property of a JButton has very few characters, such as the common "OK" button, the preferred width of the button is 
completely inappropriate.  The Windows style guide suggests that all buttons maintain a common width (typically 75 pixels) unless
 the text is too wide, and then expand them.  JButton's Windows look and feel could implement this by returning a minimum
 preferred width of 75 for buttons that contain text.
(Review ID: 48575)
======================================================================