This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug SWING/17360] New: JScrollPane has incorrect size when JList with specified size is added to it


1. Create a JList and set its preferred size
2. Create JScrollPane and add previously created JList to it.

JScrollPane's viewport should have the same size as JList.
However in our case, JScrollPane is set to the minimum size of the JList,
instead of its actual size.

-- 
           Summary: JScrollPane has incorrect size when JList with specified
                    size is added to it
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: SWING
        AssignedTo: graydon at redhat dot com
        ReportedBy: rodimina at redhat dot com
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17360


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]