jedit.org is an opensource text editor entirely written in Java. jEdit requires JDK 1.7+ and it runs on all OS platforms. In real world jEdit looks better, than the official screenshots. Java-based, as well as native installers are available for download (~ 5MiB).
NEW MUC Airport Workshop: Migrating Java Client (Swing / Java FX) to Web Standards