Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 4244353
Votes 0
Synopsis unclear doc for DefaultTreeCellRenderer.getPreferredSize()
Category guides:none
Reported Against 1.2
Release Fixed
State 11-Closed, Will Not Fix, bug
Priority: 4-Low
Related Bugs
Submit Date 07-JUN-1999
Description




The doc for method:
    public Dimension getPreferredSize()
of class javax.swing.DefaultTreeCellRenderer
says:
     Overrides JComponent.getPreferredSize to
     return slightly wider preferred size value.

It is hard to verify "slightly wider preferred size value" in
automated mode.
======================================================================
Work Around
N/A
Evaluation
Yes, this method widens the preferred size by 3 pixels.  But this is the sort of implementation detail we don't want to make public.  I verified this with the responsible engineer (sky) and he said:

It is an implementation detail as to how much wider it makes it.

Closing as will not fix.
  xxxxx@xxxxx   2000-12-13
Comments
  
  Include a link with my name & email   

Submitted On 02-JAN-2000
kuhse
Possibly related bug: 4146809.



PLEASE NOTE: JDK6 is formerly known as Project Mustang