|
@@ -338,7 +338,7 @@ public class splitPane extends JSplitPane implements GraphListener {
|
|
|
JButton btnAdd = new JButton("Add");
|
|
|
btnAdd.addActionListener(new ActionListener() {
|
|
|
public void actionPerformed(ActionEvent e) {
|
|
|
- graphPanel.add(new JButton("new"));
|
|
|
+ graphPanel.add(new JPanel());
|
|
|
graphPanel.updateUI();
|
|
|
}
|
|
|
});
|