Re: JTree display update issue with new nodes



"qu0ll" <qu0llSixFour@xxxxxxxxx> wrote in message
news:451a8fea$0$15669$5a62ac22@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

<snip>

OK, thanks for that. I replaced my custom tree model with the default and
it works - mostly! Now the new nodes show up but for some reason there is
a blank "line" displayed in the tree like this:

Root
|
* Node
| |
| * Node
| |
| * Node
| <blank space>
* Node
|
* Node

Why the blank space? How do I get rid of it?

Further to this, I have found that if I remove the line of code to select
the new node, it works fine but I have to expand the parent node to see the
new node. Why would selecting the new node cause a blank line to appear? I
need to have the new node automatically selected.

--
And loving it,

qu0ll
______________________________________________
qu0llSixFour@xxxxxxxxx
(Replace the "SixFour" with numbers to email)


.



Relevant Pages

  • Re: JTree display update issue with new nodes - SOLVED
    ... Now the new nodes show up but for some reason ... there is a blank "line" displayed in the tree like this: ... Why would selecting the new node cause a blank line to ...
    (comp.lang.java.gui)
  • Re: Other JSF options
    ... the point of firm positions of disagreement, so my comments below will be ... <snip stuff there is no use arguing further> ... Nor, AFAIR, did the GAO claim that the M60A3 was "inherently" a better tank ... And of course the reason, most of the reason for the current slip was the ...
    (rec.aviation.military)
  • Re: I know you guys would hate me for this....
    ... usually just snip them. ... the reason why we are responding to it, but merely responding for the sake ... of being sensitive to your cat. ... If Ranmao wants a hug, ...
    (rec.games.computer.ultima.dragons)
  • Re: EDEN LOG (no spoilers)
    ... reason is essential. ... intent -- I also enjoy. ... whatever it was above that the "tree" society did to him ... door, and encountering the processing or adapting man in the roots, ...
    (rec.arts.movies.current-films)
  • Re: Atheists are the biggest fools on Earth
    ... >>same island), it would be easier. ... >>The tree isn't made up of pixels. ... Are primates in a different island from bats, ...
    (talk.origins)