JTables

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 in the WorkPeriod class.

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’t working yet.

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.

I don’t have anything pretty done yet that you can look at from the CVS.

One Response to “JTables”

  1. Greta Says:

    So when do you think you’ll have something we can look at and see what it does that integrates the accounts and a GUI?

Leave a Reply