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");panel.add(button);frame.add(panel);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.setVisible(true);frame.setBounds(800, 0, 200, 200);graph.display();Thanks.2012/5/11 guilhelm savin <guilhelm.savin AT gmail.com>
Hi István,Can you send to us some minimal code that reproduce the error ?It should help us to give you an answer.Regards.
--2012/5/10 István Fodor <szvepi AT gmail.com>Hi,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 ScienceLITIS, University of Le Havre
\/\/\/\/\/\/
Archives gérées par MHonArc 2.6.16.