Mac OS X Reference Library Apple Developer Connection spyglass button

Version: 1.0

Posted: 2007-06-12

Build Requirements: Xcode Tools 3.0 and Mac OS X version 10.5

Runtime Requirements: Mac OS X version 10.5

View Source Code:

Download Sample Code (“JavaFrameEmbeddingDemo.zip”, 1.34M)



Description

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.

Document Revision History

Date Notes
2007-06-12Small Cocoa application that demonstrates how to use JavaFrameEmbedding.framework
Did this document help you? Yes It's good, but... Not helpful...