JTree and associating objects with nodes

From: Bob Creasote (afraid_of_spam_at_nothing.com)
Date: 10/27/03


Date: Mon, 27 Oct 2003 17:32:26 +0100

Hi,

Sorry, ignore that last post. wrong component. Does anyone know how to store
objects in a name value pair data structure (i.e. hashmap) in a JTree? 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



Relevant Pages

  • Re: Novice programmer help?
    ... please this is just theory at the moment I am a novice java programmer ... Is it possible for me to write information to a hashmap and then once it ... I want to take the 10 store it in a variable ... then decrement the variable and store the variable back in the hasmap so ...
    (comp.lang.java)
  • Re: JTable and associating objects with nodes
    ... You can use quicktable version of Jtable and easily display the java ... Use the following code in quickTable for showing the hashmap name ... It easy to store the name of the object but to ...
    (comp.lang.java.gui)
  • Re: JTree and associating objects with nodes
    ... Why don't you subclass DefaultMutableTreeNode ... Bob Creasote wrote: ... Does anyone know how to store ... > objects in a name value pair data structure (i.e. hashmap) in a JTree? ...
    (comp.lang.java.gui)
  • Novice programmer help?
    ... please this is just theory at the moment I am a novice java programmer ... Is it possible for me to write information to a hashmap and then once it has ... I want to take the 10 store it in a variable ... then decrement the variable and store the variable back in the hasmap so the ...
    (comp.lang.java)
  • Re: How to read in a text file in as an array?
    ... file as an array i mean) Any suggestions+code would be much ... Let's say it is a HashMap. ... Just store the HashMap as a single ... Canadian Mind Products, Roedy Green. ...
    (comp.lang.java.programmer)