<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>web development helpdesk &#187; JList</title>
	<atom:link href="http://helpdesk.objects.com.au/tag/jlist/feed" rel="self" type="application/rss+xml" />
	<link>http://helpdesk.objects.com.au</link>
	<description>objects quality - the visible difference</description>
	<lastBuildDate>Sun, 17 Jul 2011 12:27:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>How do I add scroll bars to my JList?</title>
		<link>http://helpdesk.objects.com.au/java/how-do-i-add-scroll-bars-to-my-jlist?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-do-i-add-scroll-bars-to-my-jlist</link>
		<comments>http://helpdesk.objects.com.au/java/how-do-i-add-scroll-bars-to-my-jlist#comments</comments>
		<pubDate>Wed, 29 Oct 2008 23:57:06 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[swing]]></category>
		<category><![CDATA[JList]]></category>
		<category><![CDATA[JScrollPane]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=482</guid>
		<description><![CDATA[You need to add your JList (or any component) to a JScrollPane. Easiest way to do this is to pass your component to the JScrollPane&#8217;s constructor. You then add the JScrollPane to your component hierarchy (instead of adding your JList). JScrollPane scrollPne = new JScrollPane(mylist); panel.add(scrollPane); Related posts: How do I get a JScrollPane to [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-do-i-add-scroll-bars-to-my-jlist/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do I display a JList with icons and text?</title>
		<link>http://helpdesk.objects.com.au/java/how-do-i-display-a-jlist-with-icons-and-text?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-do-i-display-a-jlist-with-icons-and-text</link>
		<comments>http://helpdesk.objects.com.au/java/how-do-i-display-a-jlist-with-icons-and-text#comments</comments>
		<pubDate>Tue, 14 Oct 2008 04:29:10 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[swing]]></category>
		<category><![CDATA[DefaultListCellRenderer]]></category>
		<category><![CDATA[icon]]></category>
		<category><![CDATA[JList]]></category>
		<category><![CDATA[ListCellRenderer]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=461</guid>
		<description><![CDATA[You can achieve that by creating a custom ListCellRenderer. Easiest is to subclass DefaultListCellRenderer and override the getListCellRendererComponent() method to add the appropriate icon. That just leaves how to determine which icon to use for a given list item value. One solution to this is to provide the renderer with a set of mappings containing [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-do-i-display-a-jlist-with-icons-and-text/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do add a checkbox to items in a JList?</title>
		<link>http://helpdesk.objects.com.au/java/how-do-add-a-checkbox-to-items-in-a-jlist?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-do-add-a-checkbox-to-items-in-a-jlist</link>
		<comments>http://helpdesk.objects.com.au/java/how-do-add-a-checkbox-to-items-in-a-jlist#comments</comments>
		<pubDate>Tue, 23 Sep 2008 01:36:56 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[swing]]></category>
		<category><![CDATA[JCheckBox]]></category>
		<category><![CDATA[JList]]></category>
		<category><![CDATA[renderer]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=150</guid>
		<description><![CDATA[You need 3 things: Make sure the items in your list have a property that indicates whether they are selected or not Use a JCheckBox as a list cell renderer A mouse listener to change the state of a list item when clicked import java.awt.Component; import java.awt.event.MouseAdapter; import java.awt.event.MouseEvent; import javax.swing.JCheckBox; import javax.swing.JFrame; import javax.swing.JList; [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-do-add-a-checkbox-to-items-in-a-jlist/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How can I create a nested list using Swing?</title>
		<link>http://helpdesk.objects.com.au/java/how-can-i-create-a-nested-list-using-swing-2?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-can-i-create-a-nested-list-using-swing-2</link>
		<comments>http://helpdesk.objects.com.au/java/how-can-i-create-a-nested-list-using-swing-2#comments</comments>
		<pubDate>Mon, 22 Sep 2008 12:31:32 +0000</pubDate>
		<dc:creator>objects</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[swing]]></category>
		<category><![CDATA[JList]]></category>
		<category><![CDATA[nested]]></category>

		<guid isPermaLink="false">http://helpdesk.objects.com.au/?p=529</guid>
		<description><![CDATA[The following example shows one way of creating a nested JList using Swing whereby selecting an item in the first list will display a different set of options in the second list depending on what has been selected in the first list. import java.awt.GridLayout; import javax.swing.DefaultListModel; import javax.swing.JFrame; import javax.swing.JList; import javax.swing.JPanel; import javax.swing.event.ListSelectionEvent; import [...]]]></description>
		<wfw:commentRss>http://helpdesk.objects.com.au/java/how-can-i-create-a-nested-list-using-swing-2/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

