コード例 #1
0
    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);
    }
コード例 #2
0
 public void actionPerformed(ActionEvent actionEvent) {
   outputArea.setText("");
   GLFrame glFrame = new GLFrame(outputArea);
   glFrame.setVisible(true);
 }