org.jmol.g3d
final class Swing3D extends Platform3D
Implementation of Platform3D when using Swing on JVMs >= 1.2
Uses the BufferedImage classe to turn an int[] into an Image that can be drawn.
This is used by everything except MSFT Internet Explorer with the MSFT JVM, and Netscape 4.* on both Win32 and MacOS 9.
Field Summary | |
---|---|
static boolean | backgroundTransparent |
static DirectColorModel | rgbColorModel |
static DirectColorModel | rgbColorModelT |
static int[] | sampleModelBitMasks |
static int[] | sampleModelBitMasksT |
Method Summary | |
---|---|
Image | allocateImage() |
Image | allocateOffscreenImage(int width, int height) |
Graphics | getGraphics(Image image) |
static Graphics | getStaticGraphics(Image image) |
void | setBackgroundTransparent(boolean tf) |