|Home -> JCNIX -> Example: AWTDemo|
[If your browser is broken, try: AWTDemo.png]
The AWTDemo.java code can be compiled and run both under libgcj/jcnix and the Sun JDK. The screenshot above shows AWTDemo under libgcj/jcnix on the left, and under JDK 1.2 on the right.
The code illustrates various features of the AWT:
As you can see, the result is nearly identical. The JButton looks a little different, since I've chosen not to implement the Java Metal L&F.