GraphStream Users

Archives de la liste Aide

Fwd: Graphstream - Displaying graph on AWT / SWT

Chronologique Discussions 
  • From: "Yoann Pigné" <yoann.pigne AT>
  • To: users AT, johannesspreemann AT
  • Subject: Fwd: Graphstream - Displaying graph on AWT / SWT
  • Date: Wed, 21 Aug 2013 13:05:00 +0200

Dear Johannes,

Allow me to forward your question to the GraphStream Mailing List.

What version of gs-core do you use (1.0, 1.1, 1.2) ? There used to be flickering problems with older versions. It should be OK with v1.2 now.

Are you using the advanced GUI (gs-ui) ?

How do you retrieve the view from GraphStream ? It should be something like :

Viewer viewer = new Viewer(graph, Viewer.ThreadingModel.GRAPH_IN_ANOTHER_THREAD);
View view = viewer.addDefaultView(false); // false indicates "no JFrame".

Let us know.

Best regards,


Forwarded message:

From: Johannes Spreemann
<johannesspreemann AT>
To: yoann.pigne AT <yoann.pigne AT>
Subject: Graphstream - Displaying graph on AWT / SWT
Date: Wed, 21 Aug 2013 10:05:28 +0200

Dear Yoann,
I'm actual developing a Eclipse 4 RCP application that uses basically SWT components. Your Graphstream library works very well, but I have one issue. I try to integrate the graph output in a SWT composite as
awtFrame = AWT_SWT.new_Frame(composite);
The graph is displayed in the frame, but it keeps spinning around and the image is flickering because the AWT frame misses Double Buffering. Does your team have any suggestions or ideas to solve this problem?

Kind regards

Archives gérées par MHonArc 2.6.16.

Top of page