- Cross Platform DnD
- MRJ Applet Signing
- Type 2 JDBC Driver for dtF/SQL
- OSType FilenameFilter
- MRJ JDirect Examples
- Using JNI on the Macintosh
- "C" printf like formatting
This page is dedicated to the Macintosh developer who has embraced Java but wants to continue
to use the Mac because of its familiarity and superiority. This page presents several
small Java classes, examples, and documentation which have been used in writing professional
Java applications. These applications have been deployed to Macintosh, Window, and Solaris
platforms with no source code changes.
Some examples are distributed with Metrowerks project files and JBinary runnable applications.
This provides a quick way for developers to evaluate the usefullness of each class.
-
DnD Adapter for Classic Mac OS, Mac OS X, and Java 2 Platforms
- This package provides a functional subset of the Java 2 Drag and Drop API which will
execute predictably in both a Macintosh MRJ 2.2.5 (OS 9) and Java 1.2 and greater
runtime environments which included Mac OS X, Windows 9x/NT/2000/XP, Linux,
as well as other varients of UNIX.
(Updated
)
-
MRJ Applet Signing with "javakey"
- Describes how to use MRJ SDK tools to sign JAR files for use as applets which are allowed to escape the "Sandbox".
(Updated
)
-
JDBC driver for dtF/SQL
- This project contains the source code for what is called a "Type 2" JDBC driver. The JDBC is in Java with a JNI shared library providing a thin (10 Kbytes) layer which in turn talks to the dtF/SQL shared library.
(Updated
)
My goal with this project was (A) to do it in order to learn the internals of JDBC, (b) to educate and assist other MRJ developers through sharing source code, and (C) to have a standalone JDBC/DBMS which I could develop applications for my clients who are on Oracle, Sybase, or whatever.
You will need to download the FREE "dtF/SQL SDK" from www.slab.de.
-
com.informagen.FilterByMacOSType
- This class implements the "java.io.FilenameFilter" interface which can be used with "java.awt.FileDialog" so that files can be viewed based on Macintosh creator, file type, or both. Also supplied is a class which can be used on non-Macintosh platforms which filters using file suffixes.
(Updated
)
-
com.informagen.FilterBySuffix
- This class implements the "java.io.FilenameFilter" interface so that files can be selected by suffix(s), also know as file extensions, when used with "java.io.FileDialog".
This class can be used on the Macintosh, however, it is more useful on Windows and UNIX where file extension are used.
(Updated
)
-
com.informagen.MacClipboard
- This static class which uses JDirect to check the contents of the System Clipboard for a PICT and returns a java.awt.image object (Let's see those Windows guys do that!)
(Updated
)
-
Macintosh JNI Examples
- The classic "Hello World" example using JNI on a Macintosh, as well as, the "Callbacks" example which show how to call Java methods from "C".
(Updated
)
-
com.informagen.F
- This static class is modeled after Jef Poskanzer's Fmt class for performing fprintf-like formatting, only it's more extensive and easier to use in that more methods are overloaded. Useful on more than just the Macintosh platform.
(Updated
)
Download Macintosh Runtime for Java from Apple Computer.
©1999 Will Gilbert