Hi, I'm trying to integrate the View of a graph in my GUI, so far I'm doing thisviewer = new Viewer(sfn.g, ThreadingModel.GRAPH_IN_SWING_THREAD);view = viewer.addDefaultView(false);mainFrame = new JFrame("");JPanel p = new JPanel();p.add(view);mainFrame.getContentPane().add(p);(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.