Jump To:
Leopard Reference Library
Java support in Mac OS X is based on the Java 2, Standard Edition implementation, installed with every copy of Mac OS X and Mac OS X Server. Mac OS X Server provides more resources through JBoss and WebObjects. Developers' cross-platform J2SE applications appear as native Mac OS X applications.

A guided introduction and learning path for developers new to Java in Mac OS X.   Essential information for developers using the Mac OS X built-in Java support.  
Document Descriptions
On Off
Display

Sort by
Title
Sorted by
Topic
Sort by
Resource Type
Sort by
Date
DukeMovie (HTML) (DMG) (ZIP)
Demonstrates playback of any QuickTime content within a java.awt display space using a QTComponent.
QuickTime Sample Code 2006-05-11
ImageFile (HTML) (DMG) (ZIP)
Shows how to use GraphicsImporter to import and display a wide range of image file formats.
QuickTime Sample Code 2006-06-28
ImageProducing (HTML) (DMG) (ZIP)
Demonstrates how to display any QuickTime drawing object using Java's ImageProducing model.
QuickTime Sample Code 2006-05-05
ImportExport (HTML) (DMG) (ZIP)
Demonstrates both importing and referencing a media file and performing a movie export with customisable settings.
QuickTime Sample Code 2006-05-11
KeyboardController (HTML) (DMG) (ZIP)
Shows how to customise user controlled playback of a movie using the keyboard.
QuickTime Sample Code 2006-05-11
MovieCallbacks (HTML) (DMG) (ZIP)
Shows how to display a QuickTime movie within a window and add Call-backs.
QuickTime Sample Code 2006-05-11
MovieTextFinder (HTML) (DMG) (ZIP)
Shows how to search for text within the text track of a QuickTime movie.
QuickTime Sample Code 2006-05-11
Music (HTML) (DMG) (ZIP)
Shows how to use QuickTime's music components.
QuickTime Sample Code 2006-05-11
PlayMovie (HTML) (DMG) (ZIP)
Demonstrates QuickTime content playback within a java.awt.Frame using the QTFactory to create a QTComponent.
QuickTime Sample Code 2006-05-11
PlaySound (HTML) (DMG) (ZIP)
Shows how to play a sound or midi file using AWT rather than a QTComponent.
QuickTime Sample Code 2006-05-11
PlayTune (HTML) (DMG) (ZIP)
Shows how to use the TunePlayer to play a Tune using the QuickTime Music Architecture.
QuickTime Sample Code 2006-05-11
QTSimpleApplet (HTML) (DMG) (ZIP)
Shows how to display any QuickTime content within a java.awt.Applet.
QuickTime Sample Code 2006-06-28
QTStreamingApplet (HTML) (DMG) (ZIP)
Shows how to display QuickTime streaming content within a java.awt.Applet.
QuickTime Sample Code 2006-06-28
SoundMemRecord (HTML) (DMG) (ZIP)
This code shows using the SoundManager SPB calls for simple audio recording to memory.
QuickTime Sample Code 2006-05-05
SoundRecord (HTML) (DMG) (ZIP)
Shows using the SequenceGrabber for simple audio recording
QuickTime Sample Code 2006-05-05
TimeCallbackDemo (HTML) (DMG) (ZIP)
Demonstrates how to add and remove TimeCode tracks to a movie.
QuickTime Sample Code 2006-05-11
TimeCode (HTML) (DMG) (ZIP)
Demonstrates how to add and remove TimeCode tracks to a movie.
QuickTime Sample Code 2006-06-28
Using the QuickTime for Java libraries on OS X (HTML) (日本語 HTML)
QA1058: Where to locate the QTJava.zip file for inclusion in your java/javac classpath.
QuickTime Technical Q&As 2002-04-08
CFBundleIdentifier and user application access (HTML)
QA1373: Describes the role of CFBundleIdentifier in limiting a user's application access.
Security Technical Q&As 2005-02-08
Code Signing Guide (HTML) (PDF)
Explains how you can sign your code and why you should.
Security Guides 2008-11-19
Code Signing Release Notes (HTML)
Security Release Notes 2007-10-31
BlockAnimation (HTML) (DMG) (ZIP)
A bit of java code which INCORRECTLY handles animation
Tools Sample Code 2006-08-01
BlockedEventQueue (HTML) (DMG) (ZIP)
Counter-example: shows hang when Java ActionListener blocks AWTEventQueue
Tools Sample Code 2006-04-13
Building a JNI Universal Application with Xcode (HTML)
Learn to add Mac OS X features into your Java application using JNI and Xcode.
Tools Articles 2006-03-20
CFBundleIdentifier and user application access (HTML)
QA1373: Describes the role of CFBundleIdentifier in limiting a user's application access.
Tools Technical Q&As 2005-02-08
Developer Tools JBoss and Tomcat Do Not Start After Installing Java 1.4.2 Update (HTML)
QA1025: Describes how to re-enable JBoss and Tomcat after installing the Java 1.4.2 update.
Tools Technical Q&As 2004-03-04
Developing for Java with NetBeans 4.1 on Mac OS X (HTML)
Get started building Java applications on Mac OS X using this popular open source IDE.
Tools Articles 2005-05-16
Developing Java Applications on Mac OS X with Eclipse (HTML)
Learn from this hands-on article how to work with Eclipse on Mac OS X.
Tools Articles 2005-02-28
Eclipse and Mac OS X: a Natural Combination (HTML)
Learn about the Eclipse IDE on Mac OS X and how to get started using it.
Tools Articles 2004-06-07
Jar Bundler User Guide (HTML) (PDF)
Conceptual information and a tutorial about deploying JAR-based applications as Mac OS X application bundles.
Tools Guides 2006-05-23
Java on Intel-based Macs (HTML)
QA1295: Required changes (if any) for Java applications to run on Intel-based Macs.
Tools Technical Q&As 2006-10-17
JavaEOGenerator (HTML) (DMG) (ZIP)
Java-based template generation engine similar to EOGenerator
Tools Sample Code 2007-11-14
JDragNDrop (HTML) (DMG) (ZIP)
Deprecated - Demonstrates building a simple view to implement Drag-and-Drop functionality in Cocoa-Java.
Tools Sample Code 2003-01-14
JNI Development on Mac OS X (HTML)
TN2147: Discusses use of native APIs and UI elements from Java applications
Tools Technical Notes 2006-04-17
MyFirstJNIProject (HTML) (DMG) (ZIP)
A Java application that calls the Address Book framework through the JNI
Tools Sample Code 2006-04-12
Server-Side Java with the Struts Framework on Mac OS X (HTML)
Learn how to combine such things as Servlets, JSP, and custom Struts tag libraries using Struts.
Tools Articles 2003-07-17
simpleJavaLauncher (HTML) (DMG) (ZIP)
How to launch 1.4.x and future JVM's from a Core Foundation tool.
Tools Sample Code 2006-04-12
UnsupportedClassVersionError With J2SE 5.0 Release 4 (HTML)
QA1474: Explains problems running existing Xcode projects after upgrading to J2SE 5.0 Release 4
Tools Technical Q&As 2006-04-14
Using Sun Java Studio Creator 2 on Mac OS X (HTML)
Learn to use the tool that provides visual access to databases and web services.
Tools Articles 2004-11-15
Where are the LiveConnect classes on Mac OS X? (HTML)
QA1364: Locating classes necessary to build Java-Javascript communication into Java Applets on Mac OS X.
Tools Technical Q&As 2006-10-02
Xcode Design Tools for Class Modeling (HTML) (PDF)
Describes the Xcode Design Tools for Class Modeling.
Tools Guides 2009-02-04
Apple Human Interface Guidelines (HTML) (PDF)
Introduces the Mac OS X user experience and explains how to design an application for Aqua.
User Experience Guides 2008-06-09
Customizing Component Border Colors (HTML) (日本語 HTML)
QA1272: Retaining Aqua background for JComboBox menus with custom control borders.
User Experience Technical Q&As 2003-07-31
CWCocoaComponent (HTML) (DMG) (ZIP)
Native color picker Integration for AWT/Swing applications using NSColorWell and NSColorPanel
User Experience Sample Code 2006-04-12
Exception in JFileChooser.setAcceptAllFileFilterUsed (HTML)
Deprecated - QA1280: Workaround for a known issue in Java 1.4.1 Update 1 on Jaguar.
User Experience Technical Q&As 2003-10-07
FunWithFileDialogs (HTML) (DMG) (ZIP)
Demo of the AWT FileChooser and Swing Aqua JFileChooser, and available Mac-specific runtime options.
User Experience Sample Code 2003-04-30
HelpHook (HTML) (DMG) (ZIP)
Simple Help Viewer integration for J2SE applications, using a native Cocoa library.
User Experience Sample Code 2006-04-12
Illustrating document window changes in Swing (HTML) (日本語 HTML)
QA1146: Using the Aqua close button dot in Swing applications to indicate document changes.
User Experience Technical Q&As 2002-06-18
Java Runtime Properties for Mac OS X (HTML) (日本語 HTML)
Deprecated - TN2031: Runtime properties for use with Java 1.3.1 applications.
User Experience Technical Notes 2002-06-12
JavaFrameEmbedding example (HTML) (DMG) (ZIP)
Small Cocoa application that demonstrates how to use JavaFrameEmbedding.framework
User Experience Sample Code 2007-06-12
JNI Development on Mac OS X (HTML)
TN2147: Discusses use of native APIs and UI elements from Java applications
User Experience Technical Notes 2006-04-17
JSheets (HTML) (DMG) (ZIP)
Uses AWT Native Interface (JAWT) to Display Cocoa sheet dialogs in Java
User Experience Sample Code 2006-07-11
MRJToolkitStubs (HTML) (DMG) (ZIP)
Deprecated - Stubs of the MRJToolkit API for building or distributing on non-Mac OS X systems.
User Experience Sample Code 2003-01-14
MyFirstJNIProject (HTML) (DMG) (ZIP)
A Java application that calls the Address Book framework through the JNI
User Experience Sample Code 2006-04-12
New Control Styles available within J2SE 5.0 on Mac OS X 10.5 (HTML)
TN2196: Details what new control styles are available within J2SE 5.0 on Mac OS X 10.5
User Experience Technical Notes 2007-11-02
OSXAdapter (HTML) (DMG) (ZIP)
Hooks into the Mac OS X Application Menu with the com.apple.eawt classes via reflection.
User Experience Sample Code 2007-06-01
QCCocoaComponent (HTML) (DMG) (ZIP)
Displays Quartz Composer compositions inside a Swing JFrame
User Experience Sample Code 2006-04-12
Rendering Multi-line text in JTree nodes (HTML)
QA1091: Correcting render problems with multi-line JTree node labels in the Aqua look and feel.
User Experience Technical Q&As 2001-11-02
Right- and Control-Drags on Mac OS X (HTML)
QA1362: Describes a difference in Drag and Drop on Mac OS X that affects all cross-platform Java applications
User Experience Technical Q&As 2005-06-29
SwapLAF (HTML) (DMG) (ZIP)
Deprecated - How to set the look-and-feel in your Swing application at runtime.
User Experience Sample Code 2005-02-28
Tailoring Java 1.3.1 Applications for Mac OS X (HTML) (日本語 HTML)
Deprecated - TN2042: Deprecated. Please refer to " Java 1.3 Development for Mac OS X".
User Experience Technical Notes 2005-04-01
Unsolicited About Boxes (HTML)
QA1363: How to properly override the default about and quit behaviors in Java 1.4 and later
User Experience Technical Q&As 2004-08-31
Java Application Server Guide (HTML) (PDF)
Explains J2EE and JBoss development on Mac OS X Server.
WebObjects Guides 2005-08-11
Java for WebObjects Developers (PDF)
Introduces Java concepts and terms to WebObjects developers. Includes exercises for developing Java expertise in WebObjects.
WebObjects Guides 2003-05-27
JavaEOGenerator (HTML) (DMG) (ZIP)
Java-based template generation engine similar to EOGenerator
WebObjects Sample Code 2007-11-14
WebObjects 5.4 Reference (HTML)
Describes the WebObjects 5.4 classes in Javadoc format.
WebObjects Reference 2007-10-31
WebObjects 5.4 Release Notes (HTML) (PDF)
Information about known issues and workarounds for WebObjects Release 5.4.
WebObjects Release Notes 2007-12-11
WebObjects 5.4.1 Reference (HTML)
Describes the WebObjects 5.4.1 classes in Javadoc format.
WebObjects Reference 2008-03-11
WebObjects 5.4.2 Reference (HTML)
Describes the WebObjects 5.4.2 Java classes.
WebObjects Reference 2008-10-15
WebObjects Deployment Guide Using JavaMonitor (HTML) (PDF)
Tools and techniques for deploying WebObjects applications. Includes application administration and performance-improving practices.
WebObjects Guides 2007-10-31
WebObjects Direct to Web Guide (HTML) (PDF)
Introduces the Java-based technology for creating web applications that access a database. Includes examples of customizing applications.
WebObjects Guides 2007-07-11
WebObjects Dynamic Elements Reference (HTML) (PDF)
Describes the WebObjects dynamic elements.
WebObjects Reference 2006-01-10
WebObjects Extensions Reference (HTML) (PDF)
Describes the WebObjects extensions, a special set of dynamic elements.
WebObjects Reference 2004-12-02
WebObjects File Format Reference (HTML) (PDF)
New document that describes the bundle format of WebObjects documents such as the EOModel and WOComponent bundles.
WebObjects Reference 2008-11-19
WebObjects J2EE Programming Guide (HTML) (PDF)
Explains how to develop J2EE components using WebObjects and deploy WebObjects applications inside servlet containers.
WebObjects Guides 2005-08-11
WebObjects Overview (HTML) (PDF)
Introduces the architecture, technologies, development tools, and development approaches of WebObjects.
WebObjects Guides 2007-07-11
WebObjects Tutorial (HTML) (PDF)
Steps for building a simple WebObjects application using Eclipse and the WOLips plug-in.
WebObjects Guides 2009-02-04
WebObjects Web Services Programming Guide (HTML) (PDF)
Explains how to develop and utilize web services in WebObjects.
WebObjects Guides 2007-07-11