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

2005-10-26 Thread abalkiss at redhat dot com
--- Comment #7 from abalkiss at redhat dot com 2005-10-26 19:15 --- Fixed, patch attached. -- abalkiss at redhat dot com changed: What|Removed |Added Status|A

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

2005-10-26 Thread abalkiss at redhat dot com
--- Comment #6 from abalkiss at redhat dot com 2005-10-26 19:15 --- Created an attachment (id=10064) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10064&action=view) patch -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17360

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

2005-10-26 Thread abalkiss at redhat dot com
--- Comment #5 from abalkiss at redhat dot com 2005-10-26 17:00 --- An even more specific test case shows that the problem is in ScrollPaneLayout's preferredLayoutSize method. ***TESTCASE*** import java.awt.*; import javax.swing.*; class Test { public static void main(String[] args)

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

2005-10-26 Thread abalkiss at redhat dot com
--- Comment #4 from abalkiss at redhat dot com 2005-10-26 15:23 --- This appears to be a problem with JScrollPane.getPreferredSize(), as the FlowLayout sets the size of the JScrollPane to its preferredSize, and then this is a bound for the layout in ScrollPaneLayout which then sets an in

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

2005-08-21 Thread fitzsim at redhat dot com
-- What|Removed |Added AssignedTo|graydon at redhat dot com |abalkiss at redhat dot com Status|NEW |ASSIGNED http://gcc.gnu.org/bugzil

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

2005-06-20 Thread abalkiss at redhat dot com
--- Additional Comments From abalkiss at redhat dot com 2005-06-20 19:18 --- Problem may be with layout managers instead of JScrollPane. Run the test case from Additional Comment #1 and try changing the JFrame's layout manager to BoxLayout or GridLayout. The problem no longer surfaces.

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

2004-10-11 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-12 04:13 --- Confirmed. -- What|Removed |Added Status|UNCONFIRMED |NEW E