changing row heights of a JTable on resizing the parent frame
From: Rajarshi Guha (rajarshi_at_presidency.com)
Date: 05/27/04
- Next message: Gerald Bauer: "Re: Thinlet Mailinglist Now Live - Join The Thinlet Community"
- Previous message: Laird Nelson: "Re: Have I understood Tree model?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 27 May 2004 16:27:11 -0400
Hi,
I have a JTable in which one of the columns consists of a custom
component. During creation of the table I set the row height to a
specifeid value.
However what I would like is to have code recognize that the parent window
is being resized (or a specifc column is resized by dragging the
column seperator) and dynamically change the row height so that it equals
the column width (for that specifc column).
I have two questions:
1) Is it possible to dynamically change row heights after the JTable is
created?
2) I realize that I need to implement some form of Listener - but I'm not
sure which one. Could anyone point me what event (type) I need to catch.
Thanks,
Rajarshi
- Next message: Gerald Bauer: "Re: Thinlet Mailinglist Now Live - Join The Thinlet Community"
- Previous message: Laird Nelson: "Re: Have I understood Tree model?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]