repaint issue with JdesktopPane + JInternalFrame

L

Lew

patrick said:
I have a "repaint" issue with swing
I am using a DesktopPane with a JinternalFrame + JXPane + set of JXPanes
( children )
screenshots of issue is here + code
http://boulayp.free.fr/tibetsoftware/articles.php?lng=fr&pg=158
when I click on a JXPane the action is done but the background is lost
and not repaint unless I move the splitpane
thank you

It's impossible to say without spending a lot of time analyzing your rather
complex code with its third-party components, but one thing that leaps out is
that not all GUI activity occurs on the EDT. You submit a 'doRun' to an
Executor that does GUI work off the EDT. It might be that that is why things
aren't repainting until an action happens on the EDT.
 
P

patrick boulay

Lew said:
It's impossible to say without spending a lot of time analyzing your
rather complex code with its third-party components, but one thing that
leaps out is that not all GUI activity occurs on the EDT. You submit a
'doRun' to an Executor that does GUI work off the EDT. It might be that
that is why things aren't repainting until an action happens on the EDT.
thank you for this help
patrick
 

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

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top