<p>I'm giving a presentation to a Java User's Group on Groovy and I'm going to be doing some coding during the presentation to show some side-by-side Java/Groovy.  I really like the GroovyConsole as it's simple and I can resize the text easily.  </p>

<p>I'm wondering if there is anything similar for Java?  I know I could just use Eclipse but I'd rather have a smaller app to use without having to customize a view.  What's the community got?</p>

<p>Screen shot of GroovyConsole:</p>

<p><img src="https://i.stack.imgur.com/GiR7b.jpg" alt="enter image description here"></p>

[{'answer_id': 30402, 'author': 'Cem Catikkas', 'author_id': 3087, 'author_profile': 'https://Stackoverflow.com/users/3087', 'pm_score': 3, 'selected': True, 'text': '<p><a href="http://www.drjava.org/" rel="nofollow noreferrer">DrJava</a> is your best bet. It also has an <a href="http://www.drjava.org/eclipse.shtml" rel="nofollow noreferrer">Eclipse plugin</a> to use the interactions pane like GroovyConsole.</p>\n'}, {'answer_id': 30408, 'author': 'Gowri', 'author_id': 3253, 'author_profile': 'https://Stackoverflow.com/users/3253', 'pm_score': 2, 'selected': False, 'text': '<p>try beanshell. its a scripting wrapper over java. <a href="http://www.beanshell.org/" rel="nofollow noreferrer">http://www.beanshell.org/</a></p>\n'}, {'answer_id': 190089, 'author': 'Michael Easter', 'author_id': 12704, 'author_profile': 'https://Stackoverflow.com/users/12704', 'pm_score': 1, 'selected': False, 'text': '<p>Why not use the GroovyConsole ? Groovy accepts the vast majority of Java syntax</p>\n'}, {'answer_id': 1717633, 'author': 'Keegan', 'author_id': 160256, 'author_profile': 'https://Stackoverflow.com/users/160256', 'pm_score': 1, 'selected': False, 'text': "<p>One good reason for not using something like the Groovy Console (wonderful though it is) is when you want to test what something would be like in Java, without actually going to the trouble of a boilerplate class and main method to run snippets of code. There are some differences between what Groovy does and what Java does. It'd be nice to have a simple way to test something and know for sure it will work when you put it in Java.</p>\n"}]
['https://Stackoverflow.com/questions/30160', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/3030/']