<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="http://www.bytemycode.com/rssformat.xsl"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>byteMyCode: Snippet Revisions</title>
		<link>http://www.bytemycode.com</link>
		<description>Revisions for this snippet.</description>
		<pubDate>Sat, 22 Nov 2008 13:22:20 +0000</pubDate>
		<copyright>1998-2008 </copyright>
		<language>en-us</language>
		<image>
		      <link>http://www.bytemycode.com</link>
		      <url>http://www.bytemycode.com/img/rss_title.gif</url>
		      <title>byteMyCode</title>
		</image>

	
	<item>
		<title>Create JComboBox Model From Enum 1</title>
		<link>http://www.bytemycode.com/snippets/snippet/482/1/</link>
		<comments>http://www.bytemycode.com/snippets/snippet/482/comments/</comments>
		<pubDate>Mon, 23 Oct 2006 17:35:26 +0000</pubDate>
		<dc:creator>jonathanstarrett</dc:creator>
		<category>"form input", Java, JComboBox</category>
		<guid isPermaLink="false">http://www.bytemycode.com/snippets/snippet/482/</guid>
		<description>
			<![CDATA[
				<p>I was looking for an easy way to populate a combo box with strings taken from an enumeration, and also to be able to pull out Enum objects from the combo box. After some searching, I found EnumComboBoxModel on the JDesktop website, but was not able to find any code.<br /><br />Instead I came up with an easier solution that did not require me to define a new Model class, but instead uses javax.swing.DefaultComboBoxModel.<br /><br />Sorry for the disorganization of the code, but hopefully you get the idea.</p>
			]]>
		</description>
	</item>

	
	</channel>
</rss>