<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Faster Swing Lists and Tables up to 88,000x</title>
	<link>http://www.jasperpotts.com/blog/2007/11/faster-swing-lists-and-tables-upto-88000x/</link>
	<description>Jasper Potts's Blog on Java and Life</description>
	<pubDate>Mon, 13 Oct 2008 18:48:50 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2</generator>

	<item>
		<title>By: Dominique De Vito</title>
		<link>http://www.jasperpotts.com/blog/2007/11/faster-swing-lists-and-tables-upto-88000x/#comment-1116</link>
		<author>Dominique De Vito</author>
		<pubDate>Thu, 03 Jan 2008 06:53:48 +0000</pubDate>
		<guid>http://www.jasperpotts.com/blog/2007/11/faster-swing-lists-and-tables-upto-88000x/#comment-1116</guid>
		<description>Outch, it is outstanding. Great job. Is there any chance to put your ideas into SwingLabs so that RangeListSelectionModel could be the default SelectionModel for JXTable ?
Thanks.</description>
		<content:encoded><![CDATA[<p>Outch, it is outstanding. Great job. Is there any chance to put your ideas into SwingLabs so that RangeListSelectionModel could be the default SelectionModel for JXTable ?<br />
Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anuradha</title>
		<link>http://www.jasperpotts.com/blog/2007/11/faster-swing-lists-and-tables-upto-88000x/#comment-1066</link>
		<author>Anuradha</author>
		<pubDate>Wed, 28 Nov 2007 06:49:04 +0000</pubDate>
		<guid>http://www.jasperpotts.com/blog/2007/11/faster-swing-lists-and-tables-upto-88000x/#comment-1066</guid>
		<description>HI Jasper ,
Vary Nice :) ,But I found bug in RangeListSelectionModel class

I use JXTable and if I'm loading data to table and selecting first row  (Only this happen if one of table column set to sorted before loading data  )

(sorry about my English)




java.lang.ArrayIndexOutOfBoundsException: -1
	at org.jdesktop.swingx.decorator.ShuttleSorter.mapTowardModel(ShuttleSorter.java:96)
	at org.jdesktop.swingx.decorator.Filter.convertRowIndexToModel(Filter.java:115)
	at org.jdesktop.swingx.decorator.FilterPipeline.convertRowIndexToModel(FilterPipeline.java:419)
	at org.jdesktop.swingx.decorator.SelectionMapper.convertToModel(SelectionMapper.java:191)
	at org.jdesktop.swingx.decorator.SelectionMapper.updateFromViewSelectionChanged(SelectionMapper.java:201)
	at org.jdesktop.swingx.decorator.SelectionMapper$2.valueChanged(SelectionMapper.java:258)
	

in line  554

   protected void fireValueChanged(int firstIndex, int lastIndex, boolean isAdjusting) {
        ListSelectionEvent e = null;
        for (ListSelectionListener listener : listSelectionListeners) {
            if (e == null) {
                e = new ListSelectionEvent(this, firstIndex, lastIndex, isAdjusting);
            }
            listener.valueChanged(e);
        }
    }</description>
		<content:encoded><![CDATA[<p>HI Jasper ,<br />
Vary Nice <img src='http://www.jasperpotts.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ,But I found bug in RangeListSelectionModel class</p>
<p>I use JXTable and if I&#8217;m loading data to table and selecting first row  (Only this happen if one of table column set to sorted before loading data  )</p>
<p>(sorry about my English)</p>
<p>java.lang.ArrayIndexOutOfBoundsException: -1<br />
	at org.jdesktop.swingx.decorator.ShuttleSorter.mapTowardModel(ShuttleSorter.java:96)<br />
	at org.jdesktop.swingx.decorator.Filter.convertRowIndexToModel(Filter.java:115)<br />
	at org.jdesktop.swingx.decorator.FilterPipeline.convertRowIndexToModel(FilterPipeline.java:419)<br />
	at org.jdesktop.swingx.decorator.SelectionMapper.convertToModel(SelectionMapper.java:191)<br />
	at org.jdesktop.swingx.decorator.SelectionMapper.updateFromViewSelectionChanged(SelectionMapper.java:201)<br />
	at org.jdesktop.swingx.decorator.SelectionMapper$2.valueChanged(SelectionMapper.java:258)</p>
<p>in line  554</p>
<p>   protected void fireValueChanged(int firstIndex, int lastIndex, boolean isAdjusting) {<br />
        ListSelectionEvent e = null;<br />
        for (ListSelectionListener listener : listSelectionListeners) {<br />
            if (e == null) {<br />
                e = new ListSelectionEvent(this, firstIndex, lastIndex, isAdjusting);<br />
            }<br />
            listener.valueChanged(e);<br />
        }<br />
    }</p>
]]></content:encoded>
	</item>
</channel>
</rss>
