[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] Patch for PR swing/23204 BasicTableUI
From: |
Anthony Balkissoon |
Subject: |
[cp-patches] Patch for PR swing/23204 BasicTableUI |
Date: |
Wed, 31 Aug 2005 14:58:24 -0400 |
This patch implements the getMinimumSize and getMaximumSize methods in
BasicTableUI, essentially fixing bug PR swing/23204 where table columns
weren't being automatically resized. I have not yet closed this bug
because changes need to be made (most likely in ViewportLayout) to allow
JTable.setAutoResizeMode(JTable.AUTO_RESIZE_OFF) to disable column
autoresizing. Once this is done I will consider this bug fixed and
close it.
The patch is attached.
2005-08-31 Anthony Balkissoon <address@hidden>
* javax/swing/JTable.java:
(initializeLocalVars): Changed default autoResizeMode to
AUTO_RESIZE_SUBSEQUENT_COLUMNS to match the JDK.
* javax/swing/plaf/basic/BasicTableUI.java:
(getMaximumSize): Implemented.
(getMinimumSize): Implemented.
--Tony
JTableColumnResizing.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] Patch for PR swing/23204 BasicTableUI,
Anthony Balkissoon <=