Greenfoot is a very nice graphical user interface for learning and teaching programming for kids and adults.
Greenfoot is based on Java and you are able to embed your creations on your web page.
Installation Ubuntu
http://www.upubuntu.com/2012/05/greenfoot-simple-and-powerful-java-ide…