Class GroovyPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, ScriptExecutionListener, TitleUpdatedListener

public class GroovyPanel extends FileScriptingPanel
A scripting panel for Groovy.
Version:
$Revision: 15257 $
Author:
fracpete (fracpete at waikato dot ac dot nz)
See Also:
  • Field Details

  • Constructor Details

    • GroovyPanel

      public GroovyPanel()
  • Method Details

    • getIcon

      public ImageIcon getIcon()
      Returns an icon to be used in a frame.
      Specified by:
      getIcon in class ScriptingPanel
      Returns:
      the icon
    • getPlainTitle

      public String getPlainTitle()
      Returns the title (without the filename).
      Specified by:
      getPlainTitle in class FileScriptingPanel
      Returns:
      the plain title
    • main

      public static void main(String[] args)
      Displays the panel in a frame.
      Parameters:
      args - can take a file as first argument