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

Sorted by
Title
Sort by
Topic
Sort by
Resource Type
Sort by
Date
Accessibility Overview (HTML) (PDF)
Explains how to use the accessibility features built into Mac OS X.
Accessibility Guides 2008-03-11
AddTextMovie (HTML) (DMG) (ZIP)
Adds a text track to an existing movie selected by the user.
QuickTime Sample Code 2006-06-28
AddTextMovie.win (HTML) (DMG) (ZIP)
Shows how to Add a text track to a Movie.
QuickTime Sample Code 2003-01-14
AESendandReceive (HTML) (DMG) (ZIP)
Deprecated - Sending and receiving Apple Events with JDK 1.3.1 on Mac OS X.
Porting Sample Code 2003-01-14
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
AppleJavaExtensions (HTML) (DMG) (ZIP)
Stub classes for compiling com.apple.eawt/com.apple.eio references on non-Mac OS X platforms.
Porting Sample Code 2006-10-17
BlockAnimation (HTML) (DMG) (ZIP)
A bit of java code which INCORRECTLY handles animation
Performance, Tools Sample Code 2006-08-01
BlockedEventQueue (HTML) (DMG) (ZIP)
Counter-example: shows hang when Java ActionListener blocks AWTEventQueue
Design Guidelines, Tools Sample Code 2006-04-13
Bouncy (HTML) (DMG) (ZIP)
Demostrates using Shark For Java to profile Java Applications
Performance Sample Code 2006-04-17
Building a JNI Universal Application with Xcode (HTML)
Learn to add Mac OS X features into your Java application using JNI and Xcode.
Internet & Web, Tools Articles 2006-03-20
CFBundleIdentifier and user application access (HTML)
QA1373: Describes the role of CFBundleIdentifier in limiting a user's application access.
Design Guidelines, Security, Tools 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
CreatePictFile (HTML) (DMG) (ZIP)
Creates a QTComponent from a PICT, JPEG or GIF file using a GraphicsImporter.
QuickTime Sample Code 2006-05-11
Customer-focused Software Design: Marratech Turns a Java App into a Mac App (HTML)
Learn how Marratech used the Apple Developer Connection to help port its Java-based application.
Internet & Web, Porting Articles 2003-11-10
Customizing Component Border Colors (HTML) (日本語 HTML)
QA1272: Retaining Aqua background for JComboBox menus with custom control borders.
Design Guidelines, User Experience Technical Q&As 2003-07-31
CustomMedia (HTML) (DMG) (ZIP)
Demonstrates how to subclass quicktime.std.movies.media.Media to support custom media types.
QuickTime Sample Code 2006-05-11
CWCocoaComponent (HTML) (DMG) (ZIP)
Native color picker Integration for AWT/Swing applications using NSColorWell and NSColorPanel
Design Guidelines, User Experience Sample Code 2006-04-12
Debugging Graphics with QuartzDebug (HTML) (日本語 HTML)
QA1236: Explains how to use QuartzDebug to debug graphics issues.
Graphics & Imaging Technical Q&As 2006-01-12
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.
Internet & Web, Mac OS X Server, 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.
Internet & Web, Tools Articles 2005-02-28
DNS Service Discovery Java Reference (HTML)
Describes DNS Service Discovery API features of ZeroConf networking for Java on Mac OS X in Javadoc format.
General Reference 2008-10-15
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
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.
Internet & Web, Tools Articles 2004-06-07
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
Fractal Performance (HTML) (DMG) (ZIP)
Three fractal applications that show various bottlenecks and how they can be fixed.
Performance Sample Code 2006-04-17
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
Getting a Packet Trace (HTML) (日本語 HTML)
QA1176: Lists tools available for looking at the network packets on the wire.
Internet & Web Technical Q&As 2008-06-03
Hang launching signed Applets from JavaScript (HTML)
QA1395: Making a LiveConnect call to a signed Applet before that Applet has finished loading can cause a hang.
Internet & Web Technical Q&As 2004-12-02
HelpHook (HTML) (DMG) (ZIP)
Simple Help Viewer integration for J2SE applications, using a native Cocoa library.
Design Guidelines, User Experience Sample Code 2006-04-12
Identifying Java on Mac OS X (HTML)
TN2110: Discovering installed versions of J2SE, Mac OS X from Java code.
Porting Technical Notes 2008-05-07
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
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
Important Java Directories on Mac OS X (HTML) (日本語 HTML)
QA1170: Mac OS X equivalents of common Java runtime and development directories.
Design Guidelines, Porting Technical Q&As 2003-10-21
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
J2SE 5.0 API Reference Library (HTML)
Describes the Javadoc-formatted API for the JDK and for Apple's MRJ packages.
General Reference 2007-10-31
J2SE 5.0 Apple Extensions Reference (HTML)
Describes the Javadoc-formatted API for the JDK and for Apple's MRJ packages.
General Reference 2009-02-04
J2SE 5.0 Release 1 for Mac OS X Release Notes (HTML) (PDF)
Lists features, known issues, and workarounds for J2SE 5.0 for Mac OS X.
General Release Notes 2005-10-04
J2SE 5.0 Release 3 Release Notes (HTML) (PDF)
Lists resolved and outstanding developer issues with J2SE 5.0 Release 3 for Mac OS X v.10.4.
General Release Notes 2006-01-10
J2SE 5.0 Release 4 Release Notes (HTML) (PDF)
Lists resolved and outstanding developer issues with J2SE 5.0 Release 4 for Mac OS X v.10.4.
General Release Notes 2006-05-23
Jar Bundler User Guide (HTML) (PDF)
Conceptual information and a tutorial about deploying JAR-based applications as Mac OS X application bundles.
Porting, Tools Guides 2006-05-23
Java 1.3.1 and 1.4.2 Release 2 Release Notes (HTML) (PDF)
Explains new features, resolved and known issues, and workarounds for Java 1.4.2 and 1.3.1 Release 2 for Mac OS X v10.4.
General Release Notes 2005-10-03
Java 1.3.1 Update 1 Release Notes (HTML)
General Release Notes 2002-02-01
Java 1.4 API Reference Library (HTML)
Describes standard Java 1.4 APIs supported on Mac OS X.
General Reference 2007-10-31
Java 1.4 API Reference: Apple Extensions (HTML)
Describes Apple extensions for integrating Java applications with the native Mac OS X environment.
General Reference 2007-10-31
Java 1.4.1 Release Notes (HTML) (PDF)
General Release Notes 2003-06-11
Java 1.4.1 Update 1 Release Notes (HTML) (PDF)
General Release Notes 2003-09-02
Java 1.4.2 for Mac OS X v10.4 Release Notes (HTML) (PDF)
Explains new features, resolved, and outstanding issues in the Java 1.4.2 for Mac OS X v10.4.
General Release Notes 2005-09-08
Java 1.4.2 Release Notes (HTML) (PDF)
All links and other outstanding issues fixed.
General Release Notes 2004-08-11
Java 1.4.2 Update 1 Release Notes (HTML) (PDF)
Explains resolved and outstanding issues in the Java 1.4.2 Update 1 release.
General Release Notes 2004-08-11
Java 1.4.2 Update 2 Release Notes (HTML) (PDF)
Outlines the resolved and outstanding issues in Java 1.4.2 Update 2.
General Release Notes 2004-10-05
Java 3D 1.2 API Reference (HTML)
Describes the Javadoc-formatted API for the Java 3D 1.2 package. Does not include any Apple-specific reference.
General Reference
Java Advanced Imaging 1.1 API Reference (HTML)
Describes the Javadoc-formatted API for the Java Advanced Imaging 1.1 package. Does not include any Apple-specific reference.
General Reference
Java Advanced Imaging and Java 3D for Java 1.4.1 and 1.4.2 Release Notes (HTML)
Describes notes and known issues about Java Advanced Imaging and Java 3D for Java 1.4.1 and 1.4.2 on Mac OS X.
General Release Notes 2004-10-05
Java Application Server Guide (HTML) (PDF)
Explains J2EE and JBoss development on Mac OS X Server.
Internet & Web, Mac OS X Server, WebObjects Guides 2005-08-11
Java Development Guide for Mac OS X (HTML) (PDF)
Describes what you need to take into account when developing and deploying a Java application on Mac OS X.
General, Internet & Web Guides 2008-10-15
Java for Mac OS X 10.4 Release 5 Release Notes (HTML) (PDF)
Lists resolved and outstanding developer issues with Java for Mac OS X v10.4 Release 5
General Release Notes 2007-03-08
Java for Mac OS X 10.4 Release 6 Release Notes (HTML) (PDF)
Lists resolved and outstanding developer issues with Java for Mac OS X v10.4 Release 6.
General, Mac OS X Server Release Notes 2007-12-14
Java for Mac OS X v10.4, Release 7 Release Notes (HTML) (PDF)
First version of Java for Mac OS X v10.4 Update 7 Release Notes.
General Release Notes 2008-09-24
Java for Mac OS X v10.4, Release 8 Release Notes (HTML) (PDF)
Lists resolved and outstanding developer issues with Java for Mac OS X v10.4, Release 8.
General Release Notes 2009-03-04
Java for Mac OS X v10.5 Release Notes (HTML) (PDF)
General Release Notes 2007-10-31
Java for Mac OS X v10.5 Update 1 Release Notes (HTML) (PDF)
Lists resolved and outstanding developer issues with Java for Mac OS X v10.5 Update 1.
General Release Notes 2008-05-02
Java for Mac OS X v10.5 Update 2 Release Notes (HTML) (PDF)
Lists resolved and outstanding developer issues with Java for Mac OS X v10.5 Update 2.
General Release Notes 2008-09-24
Java for Mac OS X v10.5 Update 3 Release Notes (HTML) (PDF)
Lists resolved and outstanding developer issues with Java for Mac OS X v10.5 Update 3.
General Release Notes 2009-03-04
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
Java Info.plist Key Reference for Mac OS X (HTML) (PDF)
Describes the property list keys available in Java for Mac OS X.
General Reference 2009-03-04
Java on Intel-based Macs (HTML)
QA1295: Required changes (if any) for Java applications to run on Intel-based Macs.
Porting, Tools Technical Q&As 2006-10-17
Java Runtime Properties for Mac OS X (HTML) (日本語 HTML)
Deprecated - TN2031: Runtime properties for use with Java 1.3.1 applications.
Design Guidelines, User Experience Technical Notes 2002-06-12
Java System Property Reference for Mac OS X (HTML) (PDF)
Describes the System Properties offered by Java for Mac OS X.
General Reference 2009-03-04
Java Virtual Machine Option Reference for Mac OS X (HTML) (PDF)
Describes the virtual machine options offered by Java for Mac OS X.
General Reference 2009-03-04
JavaEOGenerator (HTML) (DMG) (ZIP)
Java-based template generation engine similar to EOGenerator
Internet & Web, Mac OS X Server, Tools, WebObjects Sample Code 2007-11-14
JavaFrameEmbedding example (HTML) (DMG) (ZIP)
Small Cocoa application that demonstrates how to use JavaFrameEmbedding.framework
Internet & Web, User Experience Sample Code 2007-06-12
JavaSplashScreen (HTML) (DMG) (ZIP)
Deprecated - Quickly display a splash screen while instantiating the 1.4.x/1.5 JVM from a Cocoa application.
Porting Sample Code 2006-04-12
JAWTExample (HTML) (DMG) (ZIP)
Using the new JAWT structs included with Java 1.4.1 Update 1 for Jaguar.
Graphics & Imaging Sample Code 2003-10-27
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
Design Guidelines, Graphics & Imaging, Tools, User Experience Technical Notes 2006-04-17
JSheets (HTML) (DMG) (ZIP)
Uses AWT Native Interface (JAWT) to Display Cocoa sheet dialogs in Java
Design Guidelines, User Experience Sample Code 2006-07-11
KeyboardController (HTML) (DMG) (ZIP)
Shows how to customise user controlled playback of a movie using the keyboard.
QuickTime Sample Code 2006-05-11
Mac OS X Server Command-Line Administration (PDF)
Explains how to use commands and configuration files to perform server administration tasks in a UNIX command shell.
Mac OS X Server Guides 2007-12-11
Mac OS X Server Web Technologies Administration (PDF)
Explains how to set up and manage a web server, including WebDAV, WebMail, and web modules.
Mac OS X Server Guides 2007-10-31
Mixing AWT/Swing and Cocoa-Java (HTML)
QA1342: Recommended alternatives to mixing Cocoa-Java and AWT/Swing.
Design Guidelines, Performance, Porting Technical Q&As 2006-10-12
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
MRJToolkitStubs (HTML) (DMG) (ZIP)
Deprecated - Stubs of the MRJToolkit API for building or distributing on non-Mac OS X systems.
Design Guidelines, User Experience Sample Code 2003-01-14
Music (HTML) (DMG) (ZIP)
Shows how to use QuickTime's music components.
QuickTime Sample Code 2006-05-11
MyFirstJNIProject (HTML) (DMG) (ZIP)
A Java application that calls the Address Book framework through the JNI
Design Guidelines, Tools, 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
Porting, 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.
Design Guidelines, Porting, User Experience Sample Code 2007-06-01
Performance Overview (HTML) (PDF)
Introduces the factors that determine performance.
Performance Guides 2006-10-03
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
QCCocoaComponent (HTML) (DMG) (ZIP)
Displays Quartz Composer compositions inside a Swing JFrame
Design Guidelines, User Experience Sample Code 2006-04-12
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
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
Design Guidelines, Porting, User Experience Technical Q&As 2005-06-29
Server Processes and the Dock (HTML) (日本語 HTML)
QA1328: Discusses using headless AWT from Java server applications that need to be hidden.
Porting Technical Q&As 2004-01-19