I have a problem where immediately after I add a new graphic element to a
document the entire document view clears except for the most recently added
element.  The problem started when I added a call to update a JLabel in the
MouseMove listener.  Take out the setText() call and the document view is
fine.

Resizing the window will also cause the display to update and the whole
document is visible again.

The app in question has a JFrame, with two JToolbars one of which contains
the JLabel.  The JSVGCanvas is in a JInternalFrame inside the main JFrame as
well.

I tried putting in a canvas.repaint() call after the label update but that
did nothing.

   Phil

--
Visit http://www.darkisle.com for photos of castles, cairns and other
historic sites in the British Isles.

Reply via email to