Thank you very much. This helped a lot. The problem was that I was using
Tree.NODE_IMAGE_NAME
for both getNodeImage and getJunctionImage.
And, yes I understand this is not too efficient and a better approach
would be to use packaged resources, but
I had to punt on efficiency for the sake of th
Now with patch.
On 10/25/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
> I have checked it against head, but am not able to reproduce your
> error. The atteched path works fine for me. You should consider using
> packaged resources btw, drawing lot's of images seperately for the
> tree component
I have checked it against head, but am not able to reproduce your
error. The atteched path works fine for me. You should consider using
packaged resources btw, drawing lot's of images seperately for the
tree component is inefficient, and as the urls to those images are
dynamic, the browser won't be
I would like to create a dynamic tree node icons.
What I've done is to override get*Image methods from the Tree (code
snipper shown).
Alas, I always end up with the the exception shown bellow.
Can anyone provide any hints on this?
---CODE---
protected Image getNodeImage(DefaultMutableT