GraphStream Users

Archives de la liste Aide

Re: Add View to a JPanel

Chronologique Discussions 
  • From: Antoine Dutot <antoine.dutot AT>
  • To: graphstream-users AT, Filippo Bistaffa <filippo.bistaffa AT>
  • Subject: Re: Add View to a JPanel
  • Date: Sat, 24 Dec 2011 12:27:25 +0100

Hi Filippo,

There is a known bug in the released version, It is only corrected on the github repository.

Could you try the latest version provided here : ?



2011/12/24 Filippo Bistaffa <filippo.bistaffa AT>
Hi, I'm trying to integrate the View of a graph in my GUI, so far I'm doing this

viewer = new Viewer(sfn.g, ThreadingModel.GRAPH_IN_SWING_THREAD);
view = viewer.addDefaultView(false);
mainFrame = new JFrame("");
JPanel p = new JPanel();

(I need to use the extra panel p, for my needs)
With this code nothing is displayed in the JFrame, any idea?

Archives gérées par MHonArc 2.6.16.

Top of page