Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
Version 1.0, 2007-06-12
Small Cocoa application that demonstrates how to use JavaFrameEmbedding.framework
Xcode Tools 3.0 and Mac OS X version 10.5
Mac OS X version 10.5
This example will show you how to use the JavaFrameEmbedding framework to embed a Java frame in an NSWindow. The code shows you how to instantiate a JavaFrameView in Interface Builder, respond to the delegate and notification message sent by a JavaFrameView, and also shows the correct way to respond to user actions that trigger actions in the Java frame.