protected void processWindowEvent(java.awt.event.WindowEvent e) { super.processWindowEvent(e); if (e.getID() != java.awt.event.WindowEvent.WINDOW_OPENED) //noinspection UnnecessaryReturnStatement return; GLFrame glFrame = new GLFrame(outputArea); glFrame.setVisible(true); }
public void actionPerformed(ActionEvent actionEvent) { outputArea.setText(""); GLFrame glFrame = new GLFrame(outputArea); glFrame.setVisible(true); }