Media Section Index | Page 3
The content formats supported in Sun's JMF 2.1.1 implementations (latest as of the writing of this FAQ) are detailed at: java.sun.com/products/java-media/jmf/2.1.1/formats.html Note that the s...more
The javax.imageio package provides this for you in Java 1.4. Previousl versions had no standard support, though you could add third party libraries to standard Java for this. BufferedImage ou...more
PNG support is not native to Java until 1.3. If you want to display it with a prior version of Java, like the 1.1 VM found in browsers, you must find support elsewhere. One such source is Jimi. Fo...more
[More Q: I am trying to use java sound API in my servlet based application. One of the subclass in my 'playSound.class' extends thread. I am loading audioClip inside this thread, which is not wo...more
The Java Sound API contains support for playing byte arrays. Given that this question was submited to the Applets FAQ, I'm assuming you're not using a Java runtime new enough to support that. If y...more
Where can I learn (more) about using the Java Swing windowing components to build GUIs (Graphical User Interfaces)?
Check out the jGuru Swing FAQ.
The Java environment in browsers is based on Java 1.1.x. The Java 2D API is part of the Java 2 standard. In order to use the Java 2D API in an applet, you need to use the Java Plug-in, which allow...more
Early versions of the Java AWT provided a simple rendering package suitable for rendering common HTML pages, but without the features necessary for complex imaging. The early AWT allowed the gener...more
Java 3D does not have a camera per se, but you can move the ViewPlatform, which moves your view into the world (and thus, appears to move the "camera"). More information on this...more
Yes, Java 3D does provide for collision detection functionality in its API. As a starting point, I would suggest reviewing the getCollidable and setCollidable methods on the Node object. ...more
Yes, you can use Java 2D to perform various image manipulations, including edge detection and enhancement. There are several examples of image manipulation, including edge detection, in my Java...more
Is it possible to make a snapshot image (JPEG) from the current scene in a Java 3D program?
I need to learn more about printing in JDK 1.1; I cannot use Java 2 and its Java 2D printing support. Can you suggest any references?
I need to learn more about printing in JDK 1.1; I cannot use Java 2 and its Java 2D printing support. Can you suggest any references?more
Sun has posted articles on Java 2D printing on the Java Developer Connection. They give a good overview and provide a lot of example code. Check the articles out for yourself at: java.s...more
As you mention, some implementations of Java 3D do in fact sit on top of underlying OpenGL implementations. (For details, see the related FAQ entry on platforms supporting Java 3D. The reason i...more