|
From: SourceForge.net <no...@so...> - 2007-12-19 18:16:30
|
Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=4683211 By: adamjava I got the picture with following code: [code] JFrame jf = new JFrame(); SpringLayout<V,E> sl = new SpringLayout<V,E>(this.G); VisualizationViewer<V,E> vv =new VisualizationViewer<V,E>(sl, new Dimension(300,300)); jf.getContentPane().add((Component) vv); jf.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); jf.pack(); jf.setVisible(true); [/code] I removed jung SWT visualization jar as you adviced me, but it didn't help. So, instead of VisualizationViewer(Layer,Renderer) I used VisualizationViewer(Layer,Dimension). Does it mean that Renderer object is not always nedded to paint the graph? ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=252062 |