Frequently I\'m brainstormed with programming ideas that I would like to directly code. More or less like \"Wow, that algorithm will rock! I need to write it now!\".
Try BlueJ (Running BlueJ from a USB (thumb) drive).
Other alternatives;
Snippet Compiler (source: sliver.com)
CodeIDE an online IDE.