<?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>Jeff's Junks</title>
	<atom:link href="http://jeff.umwblogs.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://jeff.umwblogs.org</link>
	<description>All you never wanted to know about Jeff's junks.</description>
	<lastBuildDate>Tue, 26 Feb 2008 14:17:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Knocked out some bugs</title>
		<link>http://jeff.umwblogs.org/2008/02/26/knocked-out-some-bugs/</link>
		<comments>http://jeff.umwblogs.org/2008/02/26/knocked-out-some-bugs/#comments</comments>
		<pubDate>Tue, 26 Feb 2008 14:17:33 +0000</pubDate>
		<dc:creator>jeff</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jeff.umwblogs.org/2008/02/26/knocked-out-some-bugs/</guid>
		<description><![CDATA[I found a good number of bugs in my code. Mostly they were things that I didn&#8217;t handle. For instance, I would have something return a null value that I wouldn&#8217;t account for when calling the method. I went back and fixed a lot of the code that was interfering with the TimeCardTableModel.
As of now, [...]]]></description>
			<content:encoded><![CDATA[<p>I found a good number of bugs in my code. Mostly they were things that I didn&#8217;t handle. For instance, I would have something return a null value that I wouldn&#8217;t account for when calling the method. I went back and fixed a lot of the code that was interfering with the TimeCardTableModel.</p>
<p>As of now, you can checkout my project and run the class EditPanel to see the JTable with the TimeCardTableModel displaying properly. Also the box will highlight red if the syntax of the data you are entering is incorrect. However, I was only able to get the Integer field for Break time to store the data. This is because of the way Java stores a date and time in one class, but I am keep the two values separate so that I can use a JXDatePicker.</p>
<p>I am thinking of either using a different date and time framework or using a Date/TimePicker, however the latter option seems to require buying a license for many of them, which would mean, if this is open-source, I couldn&#8217;t use them. I did research a way of using a JSpinner to account for the time, but I would need to figure out how to store two cells to the same Date object, one part being the date and the other being the time. I read that using a JXTable may cause problems because it resets the time to be midnight whenever someone changes the date.</p>
<p>I spent about 5 hours debugging and 2 hours researching.</p>
]]></content:encoded>
			<wfw:commentRss>http://jeff.umwblogs.org/2008/02/26/knocked-out-some-bugs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JTables</title>
		<link>http://jeff.umwblogs.org/2008/02/19/jtables/</link>
		<comments>http://jeff.umwblogs.org/2008/02/19/jtables/#comments</comments>
		<pubDate>Tue, 19 Feb 2008 13:22:35 +0000</pubDate>
		<dc:creator>jeff</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jeff.umwblogs.org/2008/02/19/jtables/</guid>
		<description><![CDATA[So this week I have been working on making a TableModel for my TimeCard window. In doing so I found bugs in some of my domain level code.
I spent an hour and a half fixing some bugs in my WorkDay, WorkPeriod, and TimePeriod classes. I also added a variable for holding on to break time [...]]]></description>
			<content:encoded><![CDATA[<p>So this week I have been working on making a TableModel for my TimeCard window. In doing so I found bugs in some of my domain level code.</p>
<p>I spent an hour and a half fixing some bugs in my WorkDay, WorkPeriod, and TimePeriod classes. I also added a variable for holding on to break time in the WorkPeriod class.</p>
<p>I spent 3 hours working on my TimeCardTableModel class which extends the AbstractTableModel class. At first when I made a JTable with both the TimeCardTableModel and a DefaultTableColumnModel, the component appeared to be blank. When I only used the TimeCardTableModel, it threw a lot of Exceptions. I have been working on fixing these problems, but it isn&#8217;t working yet.</p>
<p>Most of this week has been about researching and learning how to use JTables, which I think will be very important because most of QuickBooks is using JTables. I have spent several hours reading about and testing different ways to create JTables.</p>
<p>I don&#8217;t have anything pretty done yet that you can look at from the CVS.</p>
]]></content:encoded>
			<wfw:commentRss>http://jeff.umwblogs.org/2008/02/19/jtables/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Getting my code from CVS</title>
		<link>http://jeff.umwblogs.org/2008/02/16/getting-my-code-from-cvs/</link>
		<comments>http://jeff.umwblogs.org/2008/02/16/getting-my-code-from-cvs/#comments</comments>
		<pubDate>Sat, 16 Feb 2008 18:45:25 +0000</pubDate>
		<dc:creator>jeff</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jeff.umwblogs.org/2008/02/16/getting-my-code-from-cvs/</guid>
		<description><![CDATA[To get my project from CVS on to the Eclipse IDE:

Download Eclipse IDE

Go to the Eclipse Java EE IDE download page 
Install Eclipse


Import project(s)

Open Eclipse and choose a project folder to import into
Click on File &#62; New Project&#8230;
In the window that pops up, click on CVS Project from CVS, then click Next
On the next window, [...]]]></description>
			<content:encoded><![CDATA[<p align="left">To get my project from CVS on to the Eclipse IDE:</p>
<ol>
<li>Download Eclipse IDE
<ol>
<li>Go to the <a href="http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/20071103/eclipse-jee-europa-fall2-win32.zip" title="Eclipse Java EE IDE download page">Eclipse Java EE IDE download page </a></li>
<li>Install Eclipse</li>
</ol>
</li>
<li>Import project(s)
<ol>
<li>Open Eclipse and choose a project folder to import into</li>
<li>Click on File &gt; New Project&#8230;</li>
<li>In the window that pops up, click on CVS Project from CVS, then click Next</li>
<li>On the next window, select &#8220;Create new repository location”</li>
<li>Enter in the following information, then click Next
<ol>
<li>Host = “rosemary.umw.edu”</li>
<li>Repository path = “/home/jmayx9ns/cvsrepository”</li>
<li>User = (Your user name, i.e. “jmayx9ns”)</li>
<li>Password = (Your password)</li>
<li>Connect type = “extssh”</li>
<li>Use default port</li>
</ol>
</li>
<li>On the next page, click “Use an existing module”</li>
<li>Select the projects, “TimeCard” and “PrestoBooks” and click Next</li>
<li>On the next page, there is nothing to change, so just click Next again</li>
<li>Select where you want the projects to go, then click next</li>
<li>On the last page, there is nothing to be changed, so just click Finish</li>
</ol>
</li>
</ol>
<p align="left">Now that you have my projects on your Eclipse, you can right click on the project name and select Team &gt; Update to get the latest updates on my code. I will post on my <a href="http://jeff.umwblogs.org//">blog</a> things that you can run and test.</p>
]]></content:encoded>
			<wfw:commentRss>http://jeff.umwblogs.org/2008/02/16/getting-my-code-from-cvs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SwingX, UI, and Applet</title>
		<link>http://jeff.umwblogs.org/2008/02/11/swingx-ui-and-applet/</link>
		<comments>http://jeff.umwblogs.org/2008/02/11/swingx-ui-and-applet/#comments</comments>
		<pubDate>Mon, 11 Feb 2008 05:13:40 +0000</pubDate>
		<dc:creator>jeff</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jeff.umwblogs.org/2008/02/11/swingx-ui-and-applet/</guid>
		<description><![CDATA[I spent most of my time getting SwingX to work with eclipse and to be in the CVS repository. I was reading a lot about JTables and how to use them properly, but I am not having good luck with getting those to work properly with the SwingX components. So I worked on making some [...]]]></description>
			<content:encoded><![CDATA[<p>I spent most of my time getting SwingX to work with eclipse and to be in the CVS repository. I was reading a lot about JTables and how to use them properly, but I am not having good luck with getting those to work properly with the SwingX components. So I worked on making some menus as to what I think would be good to implement.</p>
<p>I haven&#8217;t figured out how I am going to do everything yet. I have a good understanding of how I want to implement the timecard part of the program, so I put more menu buttons under it. So far it isn&#8217;t functional, but I am just getting the UI to work right now. I spent some time creating some of the basic menus I plan to implement and tried to run it as a JApplet.I am having problems getting the JApplet to work properly, but hopefully I will have it working by the meeting on Wednesday.</p>
<p>I spent 4 hours creating and testing shell commands to compile my javadocs and java files and deploy them along with all the other files I need into my Tomcat folder. I tested it out and now the javadocs link on my page should work.</p>
<p>I spent a couple hours testing JTables and reading about TableModels and TableColumnRenderers, so that I can finish the GUI for my TimeCard portion of the program.</p>
<p>The Applet link is still not working. Even worse it is locking up my browser so I can&#8217;t use it after I open that page. I keep getting a ClassNotFoundException, but I put the class in the same folder. Hopefully I can figure out why it is doing this. If not, I can just show my UI at our meeting on my laptop.</p>
]]></content:encoded>
			<wfw:commentRss>http://jeff.umwblogs.org/2008/02/11/swingx-ui-and-applet/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Setting Up</title>
		<link>http://jeff.umwblogs.org/2008/02/04/setting-up/</link>
		<comments>http://jeff.umwblogs.org/2008/02/04/setting-up/#comments</comments>
		<pubDate>Tue, 05 Feb 2008 03:44:27 +0000</pubDate>
		<dc:creator>jeff</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jeff.umwblogs.org/2008/02/04/setting-up/</guid>
		<description><![CDATA[So this week I set up a webpage that I will probably add and edit too as this project&#8217;s home page. The page is at http://rosemary.umw.edu:12330/prestobooks/home.jsp. I posted some uml diagrams and api specifications. Both are lacking in a good amount of information. I plan to update these sometime soon.
I managed to get a basic [...]]]></description>
			<content:encoded><![CDATA[<p>So this week I set up a webpage that I will probably add and edit too as this project&#8217;s home page. The page is at <a href="http://rosemary.umw.edu:12330/prestobooks/home.jsp" title="PrestoBooks Homepage">http://rosemary.umw.edu:12330/prestobooks/home.jsp</a>. I posted some uml diagrams and api specifications. Both are lacking in a good amount of information. I plan to update these sometime soon.</p>
<p>I managed to get a basic GUI unit, called an EntryField. It contains a container that holds a JLabel for a label, JComponent for field input, and a EntryFieldLayout, an object that organizes and lays out the EntryField. I may make this layout an Observer pattern so that when the user switches the GUI they wish to use, all the objects that the layout observed can know to update themselves.</p>
<p>I want to create a DatePicker tool that can be used in a DateEntryField. This would come in handy since I will use it many times throughout the program. I looked online for some open-source code for one that was easy to use. I found a library called swingx, which contains source code for cool GUI tools that are released under the GNU LGPL. I will see if I can implement this code for my project while abiding by the license.</p>
<p>I wanted to set up the Applet portion of the page, however I need to finish coding some of my basic GUI tools I am creating, before testing the GUI can be worthwhile to me.</p>
]]></content:encoded>
			<wfw:commentRss>http://jeff.umwblogs.org/2008/02/04/setting-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
