<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: the fun of Swing JTable column resizing</title>
	<atom:link href="http://l2fprod.com/blog/2008/08/30/the-fun-of-swing-jtable-column-resizing/feed/" rel="self" type="application/rss+xml" />
	<link>http://l2fprod.com/blog/2008/08/30/the-fun-of-swing-jtable-column-resizing/</link>
	<description>log.info("fred is blogging");</description>
	<pubDate>Sun, 01 Aug 2010 03:00:03 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: kaprasanna</title>
		<link>http://l2fprod.com/blog/2008/08/30/the-fun-of-swing-jtable-column-resizing/#comment-304</link>
		<dc:creator>kaprasanna</dc:creator>
		<pubDate>Fri, 19 Feb 2010 12:01:37 +0000</pubDate>
		<guid isPermaLink="false">http://l2fprod.com/blog/?p=86#comment-304</guid>
		<description>Hi,
I know this isn't the right place to ask for technical help but I didn't find any other forum / newsgroup.
Hence the comment come seeking tech help about l2fprod property sheet.
We want to fire property change event the moment user starts typing some value for a property.
Have raised a thread in nabble : http://bit.ly/9xoqHi
Please reply.
Thanks.</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I know this isn&#8217;t the right place to ask for technical help but I didn&#8217;t find any other forum / newsgroup.<br />
Hence the comment come seeking tech help about l2fprod property sheet.<br />
We want to fire property change event the moment user starts typing some value for a property.<br />
Have raised a thread in nabble : <a href="http://bit.ly/9xoqHi" rel="nofollow">http://bit.ly/9xoqHi</a><br />
Please reply.<br />
Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Swing links of the week: September 7 : Pushing Pixels</title>
		<link>http://l2fprod.com/blog/2008/08/30/the-fun-of-swing-jtable-column-resizing/#comment-138</link>
		<dc:creator>Swing links of the week: September 7 : Pushing Pixels</dc:creator>
		<pubDate>Tue, 09 Sep 2008 18:01:48 +0000</pubDate>
		<guid isPermaLink="false">http://l2fprod.com/blog/?p=86#comment-138</guid>
		<description>[...] Lavigne adds a JTable feature that he is missing from the Windows Explorer application - table header filler that spans to fit the available width [...]</description>
		<content:encoded><![CDATA[<p>[...] Lavigne adds a JTable feature that he is missing from the Windows Explorer application - table header filler that spans to fit the available width [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeanette Winzenburg</title>
		<link>http://l2fprod.com/blog/2008/08/30/the-fun-of-swing-jtable-column-resizing/#comment-136</link>
		<dc:creator>Jeanette Winzenburg</dc:creator>
		<pubDate>Tue, 09 Sep 2008 14:54:09 +0000</pubDate>
		<guid isPermaLink="false">http://l2fprod.com/blog/?p=86#comment-136</guid>
		<description>Hi Fred,

cool idea to add a dummy header :-) Couldn't resist playing a bit (some code in my swingx incubator, table package under java and test source hierarchies) and having a couple of comments (in no particular order)

- to my surprise it's working cool with SwingX JXTable and its support for hiding columns.  
- the filler isn't updating its property listeners to the tableColumns on add/remove to/from the columnModel (which probably is the reason its working with JXTable). In the case of a remove that'll leave dangling listeners in the filler. Looks like you don't really need them: the filler is useful only if AUTO_RESIZE_OFF which will always resize the table, so the notification reaches your filler via the componentEvent. Maybe you should listen to mode changes and un-/install the filler  as appropriate
- the filler can't cope with setting a new tableColumnModel - not the most probable event, but just for completeness :-)
- the visual appearance isn't very appealing in LAFs where the viewport background is different from the table background. 
- the functionality is not quite the same as in explorer: f.i. a right click on the area below the filler should show the table's popup (as far as I remember Santhosh has an example of how to re-target a mouselistener)
- the filler gets a bit confused with with LAF updates (again not the most frequent requirement, but ...): to reproduce in my example resize the last column with the mouse, toggle the LAF and move the mouse over the filler - the cursor now is always a resize cursor. The most probable reason (didn't dig, though) might be the mouselistener installed by the new LAF, which are not removed (as you do when creating the filler)

Good work!

Jeanette</description>
		<content:encoded><![CDATA[<p>Hi Fred,</p>
<p>cool idea to add a dummy header <img src='http://l2fprod.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> Couldn&#8217;t resist playing a bit (some code in my swingx incubator, table package under java and test source hierarchies) and having a couple of comments (in no particular order)</p>
<p>- to my surprise it&#8217;s working cool with SwingX JXTable and its support for hiding columns.<br />
- the filler isn&#8217;t updating its property listeners to the tableColumns on add/remove to/from the columnModel (which probably is the reason its working with JXTable). In the case of a remove that&#8217;ll leave dangling listeners in the filler. Looks like you don&#8217;t really need them: the filler is useful only if AUTO_RESIZE_OFF which will always resize the table, so the notification reaches your filler via the componentEvent. Maybe you should listen to mode changes and un-/install the filler  as appropriate<br />
- the filler can&#8217;t cope with setting a new tableColumnModel - not the most probable event, but just for completeness <img src='http://l2fprod.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
- the visual appearance isn&#8217;t very appealing in LAFs where the viewport background is different from the table background.<br />
- the functionality is not quite the same as in explorer: f.i. a right click on the area below the filler should show the table&#8217;s popup (as far as I remember Santhosh has an example of how to re-target a mouselistener)<br />
- the filler gets a bit confused with with LAF updates (again not the most frequent requirement, but &#8230;): to reproduce in my example resize the last column with the mouse, toggle the LAF and move the mouse over the filler - the cursor now is always a resize cursor. The most probable reason (didn&#8217;t dig, though) might be the mouselistener installed by the new LAF, which are not removed (as you do when creating the filler)</p>
<p>Good work!</p>
<p>Jeanette</p>
]]></content:encoded>
	</item>
</channel>
</rss>
