classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] Patch fixes bug #23204


From: Anthony Balkissoon
Subject: [cp-patches] Patch fixes bug #23204
Date: Thu, 01 Sep 2005 13:35:38 -0400

This is the update to the JTable auto-resizing patch I submitted
yesterday.  This patch allows the user to disable auto-resizing by
setting JTable's autoResizeMode to AUTO_RESIZE_OFF.  It also makes
ViewportLayout respect properties of Scrollable views such as the return
value of getPreferredScrollableViewportSize().

Patch is attached.

2005-09-01  Anthony Balkissoon  <address@hidden>

        Fixes bug #23204
        * javax/swing/ViewportLayout.java:
        (preferredLayoutSize): If the view is scrollable, call its
        getPreferredScrollableViewportSize method.
        (layoutContainer): If the view is scrollable, check its 
        getScrollableTracksViewportWidth and getScrollableTracksViewportHeight
        methods before resizing the view to match the viewport.

--Tony

Attachment: JTableAUTO_RESIZE_OFF.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]