R
Ramon F Herrera
This is the kind of things that happens when you allow
somebodody else (the Java architects) to design your
data structures. No matter how much foresight the creator
has, the implementor always wishes for some extra feature.
I just got started with JTress and they are actually easier
than I expected, and they can actually be much more complex
if you decide to go beyond the defaults.
I need to label the arcs (aka, links) with my own squeme.
JTrees use 0,1,2,3, etc. while my application needs them to
begin at 1 at there may be gaps: 1,3,7,12, etc.
Somehow I feel that this kind of problem calls for subclassing
perhaps? Thereby making my trees a little bit more capable?
How about adding more fields to the nodes? How would I
go about that?
TIA,
-Ramon F. Herrera
somebodody else (the Java architects) to design your
data structures. No matter how much foresight the creator
has, the implementor always wishes for some extra feature.
I just got started with JTress and they are actually easier
than I expected, and they can actually be much more complex
if you decide to go beyond the defaults.
I need to label the arcs (aka, links) with my own squeme.
JTrees use 0,1,2,3, etc. while my application needs them to
begin at 1 at there may be gaps: 1,3,7,12, etc.
Somehow I feel that this kind of problem calls for subclassing
perhaps? Thereby making my trees a little bit more capable?
How about adding more fields to the nodes? How would I
go about that?
TIA,
-Ramon F. Herrera