Menu

#11 Thread visualisation

open
nobody
OpenCOMJ (5)
5
2007-12-16
2007-12-16
No

I am dealing with a thread issue in OpenCOMJ v1.3.3

In the visualition package, the VisualGraph.GraphPanel implements the Runnable interface.

When a GraphPanel object is created, a thread is launched.

This thread is never stopped.

When the visualisation package is used for several debug visualisation, this leads to a big overhead.

I propose to stop the thread when it positioningCounter >= MAX_POSITION_TIME, an relaunch it when necessary (for instance, new component created or old-one removed).

If doing that, when mouse is "grabbing" a component, a repaint action should be necessary.

I have not verified that this problem also occurs in laster versions.

--
Thomas Pareaud

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.