there. all is there. the whole Arduino IDE source code. It is written in Java and uses the Java AWT GUI library