GraphStream Users

Archives de la liste Aide

Re: component appear on the graph

Chronologique Discussions 
  • From: guilhelm savin <guilhelm.savin AT>
  • To: István Fodor <szvepi AT>
  • Cc: graphstream-users AT
  • Subject: Re: component appear on the graph
  • Date: Fri, 11 May 2012 10:51:52 +0200


Can you tell me the version of GraphStream and Java
you are using and your OS please ?


2012/5/11 István Fodor <szvepi AT>
Hi Guilhelm,

The button again appear in the graph.
Here is the example code: 

                JFrame frame = new JFrame();
JPanel panel = new JPanel(new GridLayout());
Graph graph = new SingleGraph("Tutorial 1");
JButton button = new JButton("Click");
graph.addNode("A" );
graph.addNode("B" );
graph.addNode("C" );
graph.addEdge("AB", "A", "B");
graph.addEdge("BC", "B", "C");
graph.addEdge("CA", "C", "A");
frame.setBounds(800, 0, 200, 200);


2012/5/11 guilhelm savin <guilhelm.savin AT>
Hi István,

Can you send to us some minimal code that reproduce the error ?
It should help us to give you an answer.


2012/5/10 István Fodor <szvepi AT>

I use GraphStream in my program, but I have a problem. When I move the mouse towards a JButton or other swing component, then this component appear on the graph. I attaeched picture with the error. 
Do you have any idea for this problem?

Thanks in advance.

Guilhelm Savin
PhD Student of Computer Science

Guilhelm Savin
PhD Student of Computer Science

Archives gérées par MHonArc 2.6.16.

Top of page