JTree problem

T

tereferekuku

Hi,

I have a problem rendering JTree: At program's startup JTree is
created dynamically and approximately once per 3-5 times I try to
start it one or more nodes has enormous height (it can be much more
than a screen's height). I guess this is some sort of threading
problem, because I can't reproduce it every time. When this happens no
exceptions are being thrown.
Did anybody have similar problem and knows how to solve it?

Thanks,
Arek
 
A

Andrew Thompson

T

tereferekuku

I was calling swing methods (rendering of the tree) on non swing
thread. After fixing that it works fine.

Thanks,
Arek
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

[SWING] Problem with JTree 2
Extra Row in JTree 6
JTable within JTree 1
How to serialize/deserialize a JTree ? 1
JTree Best Practices 14
JTree problem 0
A JTree Problem,Please Help ! 1
JTree problem (0/1) 3

Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top