Can you write Java code that compiles across several platforms but still performs as fast as native code? This is a problem that has vexed Java developers, particularly when it comes to applications with complex UIs. This article proposes an interesting solution to this problem. You’ll learn how to use JNI to access SLIK, a cross-platform C API that offers native performance on both Windows and UNIX. The JNI APIs demonstrated in this article will help you write skinned GUIs that run under both Linux and Windows with no code changes.