How to convert JGraph to a glass pane?
问题 I have a class : public class GraphEditorPane extends JGraph and I am using this "GraphEditorPane" as follows : public JScrollPane getGraphPaneScrollPane() { if (graphPaneScrollPane == null) { graphPaneScrollPane = new JScrollPane(); //graphPaneScrollPane.setViewportView(getGraphEditorPane()); graphPaneScrollPane.setViewportView(getGraphEditorPane()); } return graphPaneScrollPane; } public GraphEditorPane getGraphEditorPane() { graphEditorPane = new GraphEditorPane(); } I am using this