JDialog dances or frickles

Hi everybody,

I've created my own JDialog by removing windows' default border, creating my own TitleBorder and managing dialog drag on this TitleBorder.

I've used MouseMotionListener(mouseDragged()) and MouseListener(mousePressed()) to manage dialog dragging.

My problem is that when i have a few components in my dialog and that i drag it, it starts to frickle. Every component, including the dialog itself starts to shake in every way.

Anybody have a clue? PLZ!!!

thanks a bunch!

[521 byte] By [yanngreniera] at [2007-11-26 20:08:03]
# 1
Right now the only solution track that i'm following concerns the Jpanel that i needed to add to my JDialog so that my TitleBorder can show itself.Is the paint() having trouble drawing my Panel? Any idea will be tried... PLZ help!
yanngreniera at 2007-7-9 23:10:30 > top of Java-index,Java Essentials,Java Programming...
# 2
I think you mean "flickers" instead of "frickles" :).Anyway, we can only speculate as to the cause of the issue until there is some code posted (please post it with formatting). Also note that there is a dedicated Swing forum.
kevjavaa at 2007-7-9 23:10:30 > top of Java-index,Java Essentials,Java Programming...