Media Section Index | Page 6
Where can I find the API documentation for the Java Shared Data Toolkit classes?
It's available from Sun's Java Shared Data Toolkit documentation page.
Where can I find the API documentation for the Java Sound classes?
It's available from Sun's J2SE 1.3 documentation page. Look for the four javax.sound packages.
Where can I find the API documentation for the Java Speech classes?
It's available from Sun's Java Speech documentation page.
Where can I find the API documentation for the Java Telephony classes?
It's available from Sun's Java Telephony download page. They seem to not be available online.
How can I display a Flash4 image in a Java program?
The only Flash player written in Java that I've found is Java2D Flash Player. It's a work in progress as the author mentions but it's getting there. Since Flash 4 is a Vector graphics format you c...more
How do I merge two image files ? I'm trying to create a watermark on a document image.
I do not exactly how watermarks are done but I can tell you how to merge to pictures together.
Here's the code first, It's a simple program I wrote up to demonstrate transparency:
public class ...more
Are there any Java classes that support writing the WAP WBMP image format?
Yes there is. I wrote a helper class to render WBMP images.
import java.io.*;
import java.lang.*;
import java.awt.Graphics.*;
import java.awt.Graphics2D;
import java.awt.image.*;
public class WB...more
What (non-programmer) software is available to help create animation sequences in Java?
The easiest way is to get the Animator applet from Sun and use it. Just create the GIF / Audio files with other tools. Another option is to find someone else who has already created an applet simi...more
How can I display tif graphics in my Java applet?
A few options to solve this problem
JIMI (Java Image Mangagement Interface) at http://java.sun.com/products/jimi
JAI (Java Advanced Imaging) at http://java.sun.com/products/java-media/jai
Lizar...more
Are there any mailing lists or newsgroups for discussing Java 3D?
Yes, check out the Java3D interest mailing list at http://archives.java.sun.com/archives/java3d-interest.html or the Java3D newsgroup news:comp.lang.java.3d.more
How do I control the volume when playing Midi audio?
If your Sequencer is a Synthesizer, get its channels and adjust them.
Synthesizer synthesizer = (Synthesizer)sequencer;
MidiChannel channelsp[] = synthesizer.getChannels();
for (int i=0, n=channel...more
How do I determine when a Midi Audio Player has finished playing?
Add a MetaEventListener to the sequencer. See How do I load and play a Midi audio file? for how to setup the sequencer.
MetaEventListener listener = new MetaEventListener() {
public void meta(M...more
How do I load and play a Midi audio file?
Using the Java Sound classes found in the javax.sound.midi package of course...
Sequencer sequencer = MidiSystem.getSequencer();
sequencer.open();
Sequence sequence = new URL(midifileurl);
sequenc...more
When is it recommended to use Java Advanced Imaging (JAI) instead of the Java 2D API?
Basically it depends on the requirements of the program.
If I were able to do the required graphics with Java 2D, then I did so. But if I needed more advanced graphical capabilities then I would...more
Are there any good books on Java 3D?
Which book you get depends on your specific needs. Addison Wesley puts out the Java 3D specification as a book, but you can download that for free.
The Ready-to-Run Java 3D book seems to have miss...more