Hello,
I have the URLyBird assignment, and I decided to create a "HotelRoom" bean since:
although the hope is that this interim step will give them a starting point for migrating the system to the web
.
It seems logical to have some decent data structures for the later migration.
The problem is when I got to the GUI, for my table model I created a ColumnMetaData inner class that contains the column name, the accesor Method for the property in the bean and the Class type of the property.
I'm trying to go with simplicity in the GUI because:
The IT director does not anticipate much reuse of the first Java technology system
but I'm not sure if reflection is simple enough.
Did any of you created a class for the hotel rooms, and if you did, how did you managed your JTable? Should I make my table model generic or just stick with the simplicity stuff?.
Regards