JTable and associating objects with nodes  
Author Message
Bob Creasote





PostPosted: 2003-10-28 0:31:00 Top

java-programmer, JTable and associating objects with nodes Hi,

Does anyone know how to store objects in a name value pair data structure
(i.e. hashmap) in a JTable? It easy to store the name of the object but to
store the object with the name, I am not sure.

Any help would be great

Thanks

Bob


 
hilizbabe





PostPosted: 2003-10-30 7:55:00 Top

java-programmer >> JTable and associating objects with nodes You can use quicktable version of Jtable and easily display the java
objects.

Use the following code in quickTable for showing the hashmap name
value pair.

quicktable.refreshDataObject(yourHashMap.entrySet(),null);

QuickTable(http://dbtable.hypermart.net) has eliminated all the
complexities in JTable.

Cheers,
Liz


"Bob Creasote" <email***@***.com> wrote in message news:<3f9d49ed$email***@***.com>...
> Hi,
>
> Does anyone know how to store objects in a name value pair data structure
> (i.e. hashmap) in a JTable? It easy to store the name of the object but to
> store the object with the name, I am not sure.
>
> Any help would be great
>
> Thanks
>
> Bob