<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Fully Interactive JTables (aka Mouseover Editing)</title>
	<atom:link href="http://blog.palantirtech.com/2007/05/17/jtable-mouseover-editing/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.palantirtech.com/2007/05/17/jtable-mouseover-editing/</link>
	<description>Articles from the Engineering Group at Palantir Technologies</description>
	<lastBuildDate>Mon, 02 Aug 2010 02:02:26 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: MF</title>
		<link>http://blog.palantirtech.com/2007/05/17/jtable-mouseover-editing/comment-page-1/#comment-82</link>
		<dc:creator>MF</dc:creator>
		<pubDate>Wed, 22 Aug 2007 19:04:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.palantirtech.com/?p=48#comment-82</guid>
		<description>Can you please post or link to the complete java source code for this &quot;Fully Interactive JTables&quot; example ? The code in the given windows refers to a &quot;FullMouseAdapter&quot; class and some other methods.
Thanks.</description>
		<content:encoded><![CDATA[<p>Can you please post or link to the complete java source code for this &#8220;Fully Interactive JTables&#8221; example ? The code in the given windows refers to a &#8220;FullMouseAdapter&#8221; class and some other methods.<br />
Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Francis</title>
		<link>http://blog.palantirtech.com/2007/05/17/jtable-mouseover-editing/comment-page-1/#comment-70</link>
		<dc:creator>Francis</dc:creator>
		<pubDate>Fri, 03 Aug 2007 23:36:13 +0000</pubDate>
		<guid isPermaLink="false">http://blog.palantirtech.com/?p=48#comment-70</guid>
		<description>Very cool effect. I&#039;ll be sure to implement this in my code when the time come for it (Bookmarking this page right now).

About the textfield border highlight, I dont think going all the way to the glasspane is that necessary. You could still effectively use the renderer or the cell editor, which ever will be responsible for the painting and attach a mouselistener to the table (done from within the renderer or celleditor code)which will initiate some boolean variable to indicate the presence of the mouse at the desired point in the table. With this you can paint the border within the renderer or celleditor code.

I use a similar technique for row highlighting in JTable, JList and JTree. I wish I could post code but I just might do that on my blog or site later.</description>
		<content:encoded><![CDATA[<p>Very cool effect. I&#8217;ll be sure to implement this in my code when the time come for it (Bookmarking this page right now).</p>
<p>About the textfield border highlight, I dont think going all the way to the glasspane is that necessary. You could still effectively use the renderer or the cell editor, which ever will be responsible for the painting and attach a mouselistener to the table (done from within the renderer or celleditor code)which will initiate some boolean variable to indicate the presence of the mouse at the desired point in the table. With this you can paint the border within the renderer or celleditor code.</p>
<p>I use a similar technique for row highlighting in JTable, JList and JTree. I wish I could post code but I just might do that on my blog or site later.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://blog.palantirtech.com/2007/05/17/jtable-mouseover-editing/comment-page-1/#comment-57</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Wed, 18 Jul 2007 15:32:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.palantirtech.com/?p=48#comment-57</guid>
		<description>I noticed that in the TwoStageTableCellEditor you define a isFullyEngaged() method but in the handler on line 24 you call isInStageTwo().  Is this a typo?</description>
		<content:encoded><![CDATA[<p>I noticed that in the TwoStageTableCellEditor you define a isFullyEngaged() method but in the handler on line 24 you call isInStageTwo().  Is this a typo?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dberansky</title>
		<link>http://blog.palantirtech.com/2007/05/17/jtable-mouseover-editing/comment-page-1/#comment-34</link>
		<dc:creator>dberansky</dc:creator>
		<pubDate>Sat, 02 Jun 2007 02:22:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.palantirtech.com/?p=48#comment-34</guid>
		<description>the problem with this approach is you can&#039;t do highlighting while a cell is in editing mode, otherwise, you may interfere with the editing process.  How about using the glass pane?  I mean tracking the mouse pointer moving over the table, getting a renderer for the cell currenly hovered over, setting its border and then rendering it into the glass pane?</description>
		<content:encoded><![CDATA[<p>the problem with this approach is you can&#8217;t do highlighting while a cell is in editing mode, otherwise, you may interfere with the editing process.  How about using the glass pane?  I mean tracking the mouse pointer moving over the table, getting a renderer for the cell currenly hovered over, setting its border and then rendering it into the glass pane?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kevin</title>
		<link>http://blog.palantirtech.com/2007/05/17/jtable-mouseover-editing/comment-page-1/#comment-25</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Fri, 18 May 2007 07:40:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.palantirtech.com/?p=48#comment-25</guid>
		<description>A mouseover glow for a textfield sounds like a great idea, esp. since it&#039;s difficult/impossible to identify a component as a textfield when it&#039;s inside a grid.

The event-forwarding solution would undoubtedly be hairy, and you&#039;d have to keep track of which cell the cursor was hovering over in order to send mouseEntered events to that cell (but not to others), etc.  And Brien has pointed out to me that cursor propagation (from the renderer to the JTable) could be tricky.  Still, it has the possibility of being a perfect solution, rather than a 90% solution like the one described here.</description>
		<content:encoded><![CDATA[<p>A mouseover glow for a textfield sounds like a great idea, esp. since it&#8217;s difficult/impossible to identify a component as a textfield when it&#8217;s inside a grid.</p>
<p>The event-forwarding solution would undoubtedly be hairy, and you&#8217;d have to keep track of which cell the cursor was hovering over in order to send mouseEntered events to that cell (but not to others), etc.  And Brien has pointed out to me that cursor propagation (from the renderer to the JTable) could be tricky.  Still, it has the possibility of being a perfect solution, rather than a 90% solution like the one described here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carl</title>
		<link>http://blog.palantirtech.com/2007/05/17/jtable-mouseover-editing/comment-page-1/#comment-24</link>
		<dc:creator>Carl</dc:creator>
		<pubDate>Fri, 18 May 2007 07:27:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.palantirtech.com/?p=48#comment-24</guid>
		<description>That&#039;s some amazing stuff! I was, however, thrown a bit because of the way text fields don&#039;t glow on mouseover the way buttons/checkboxes do, so it wasn&#039;t as obvious I could click to edit.  We&#039;ve done some work with forwarding mouse events.  It&#039;s not overly complex, but at present we only have a partial solution because I didn&#039;t implement MouseMotionListener, only MouseListener.  The result is you don&#039;t get good behavior out of JButtons, as they get confused unless they get mouseEntered and so on.</description>
		<content:encoded><![CDATA[<p>That&#8217;s some amazing stuff! I was, however, thrown a bit because of the way text fields don&#8217;t glow on mouseover the way buttons/checkboxes do, so it wasn&#8217;t as obvious I could click to edit.  We&#8217;ve done some work with forwarding mouse events.  It&#8217;s not overly complex, but at present we only have a partial solution because I didn&#8217;t implement MouseMotionListener, only MouseListener.  The result is you don&#8217;t get good behavior out of JButtons, as they get confused unless they get mouseEntered and so on.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
