In Java 1.1 you can just pass true as the second argument to this FileOutputStream constructor to indicate that you want to append data to the file:
public FileOutputStream(String name, boolean append)
throws IOException
In Java 1.0, however, you must u ...(description truncated)
The key to fixing flicker is realizing that the screen isn't actually painted in the paint() method. The pixels get put on the screen in the update() method which most applets don't override. However by overriding the update() method you can do all your p ...(description truncated)
How do I convert a numeric IP address like 199.1.32.90 into a hostname like star.blackstar.com?
Unfortunately due to an unintended side effect (i.e. a bug) in Java's caching of IP addresses and hostnames, Java 1.0 can't convert numeric IP addresses into h ...(description truncated)
There are a number of ways to read data from a file. If you're reading a file as raw binary data, you open a file using a FileInputStream(String) constructor and use one of the various read() methods to read the data into an array of bytes. For example th ...(description truncated)
Can I send an Email from an applet? Of Course you can just use the following! OR you could look at www.javasoft.com for Java mailAPI.
(Found on the web--Java FAQ at http://www.irt.org)