Show Groovy console
Source code name: "groovy_console.groovy"
Programming language: Groovy
Topic: GUI/Swing
DMelt Version 1. Last modified: 05/26/2016. License: Free
To run this script using the DMelt IDE, copy the above URL link to the menu [File]→[Read script from URL] of the DMelt IDE.

@Grab(group='commons-lang', module='commons-lang', version='2.4')
 import org.apache.commons.lang.WordUtils
 println "Hello ${WordUtils.capitalize('world')}"

import groovy.ui.Console;

    Console console = new Console();
 //   console.setVariable("var1", getValueOfVar1());
 //   console.setVariable("var2", getValueOfVar2());;