..
> i have created a Jform
No such class in the J2SE. What are you talking about?
>..., n in it i have a Jtree.
Same for Jtree. If you mean the Swing based JTree,
please refer to it as javax.swing.JTree (using correct
UpperCase), so we can all be sure we have the same
understanding.
>...now in Jtree i'm
> displaying the names of my friends. Theres also a function to add more
> frineds to the list . but i dont know how to dynamically refresh the
> list to display those updated names in the tree...
OK - what code do you have so far?
Post an SSCCE* to this forum. Note that an
SSCCE* is a *very* specific form of code.
Please read this document carefully, before posting..
* <http://www.physci.org/codes/sscce>
> please help!!
Please try not to sound quite so pathetic.
Andrew T.
Brandon McCombs - 24 Jan 2007 05:05 GMT
> ..
>> i have created a Jform
[quoted text clipped - 4 lines]
>
> Same for Jtree. If you mean the Swing based JTree,
^
|
^
Please use complete sentences otherwise we won't know what you mean.
Andrew Thompson - 24 Jan 2007 07:30 GMT
> > ..
> >> i have created a Jform
[quoted text clipped - 7 lines]
> ^
> Please use complete sentences ..
Not enough time.
You got more? Check these..
<http://groups.google.com/groups/profile?enc_user=7mTjyhYAAADCSWBnolz9mAH1YeBMyEJ
To4cocwWvDVg2RHsu8f1bCg>
..then these..
<http://groups.google.com/groups?as_q=&num=10&scoring=r&as_epq=andrew+thompson&as
_oq=&as_eq=&as_ugroup=comp.lang.java.*&as_usubject=&as_uauthors=&lr=&as_drrb=q&a
s_qdr=&as_mind=1&as_minm=1&as_miny=1981&as_maxd=24&as_maxm=1&as_maxy=2007&safe=o
ff>
(TIA)
>...otherwise we won't know what you mean.
That would seem to be the problem of any
'we' too foolish or shy to ask for clarification.
(It becomes my problem, if I am *asking* a
question. In that instance, I generally take
more care.)
And as an aside Brandon, I had vaguely
hoped that my strategies for replying to
posts would become more clear to you as
you gained 'experience'.
It seems that is not the case, so I will simply
point out that your snipes are not important
enough, for me to bother making further reply.
Andrew T.
try to make a JTable.getModel().fireDataChanged();
good luck!
raunaq schrieb:
> hi,
> i have created a Jform , n in it i have a Jtree. now in Jtree i'm
> displaying the names of my friends. Theres also a function to add more
> frineds to the list . but i dont know how to dynamically refresh the
> list to display those updated names in the tree...
> please help!!
Corona4456 - 21 Feb 2007 16:29 GMT
<http://java.sun.com/docs/books/tutorial/uiswing/components/
tree.html#dynamic>
Use that code example and modify it to your liking.
The key here is the reload() function if you are using a
DefaultTreeModel object.
Corona4456 - 21 Feb 2007 16:30 GMT
> <http://java.sun.com/docs/books/tutorial/uiswing/components/
> tree.html#dynamic>
[quoted text clipped - 3 lines]
> The key here is the reload() function if you are using a
> DefaultTreeModel object.
Err... I guess copy and paste the link... stupid newlines. I'm not
sure I like the word wrap functionality of gg.
Andrew Thompson - 21 Feb 2007 17:18 GMT
> > <http://java.sun.com/docs/books/tutorial/uiswing/components/
> > tree.html#dynamic>
...
> Err... I guess copy and paste the link... stupid newlines. I'm not
> sure I like the word wrap functionality of gg.
As a fellow user of the GG WITUN, I find
this inability to post long links correctly,
to be quite irritating.
If GG does not get there act together soon,
I may be forced to go back to using dedicated
news client.
Andrew T.