However i only want to display 9 of the 10 columns in the JTable. Does anyone know the code which will allow me to do this. By the way i need to just hide this column data from the user but it needs to be in the JTable as
the column data contains primary keys which are used for data retrieval in other parts of the application.
I would like to know how anyone else worked around the issue of trying to display a HashMap in a JTable. I am storing bookings from the database file in a hashmap whereby the key value is the filepointer to the record on file and the booking instance is stored with this key. I suspect i may need to store this data in an ArrayList rather than in a HashMap in my TabelModel class in order for the JTable to display the Bookings correctly here but i am not sure?? I am wondering how others worked around this issue?