Other Entries by Anonymous (from psc cd)

Search Results: Page 1 of 1 found. Entries 1 - 8 of 8 found
  Description
Compatibility
Level/
Author
Views/
Date
Submitted
User Rating
 
  Append data to a fileAppend data to a fileJava (JDK 1.1)Not Given /
Anonymous (from psc cd)
5214 since
1/1/2015 4:18:00 AM

By 6 Users

       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)
 
 
  Avoid Flicker in an appletAvoid Flicker in an appletJava (JDK 1.1)Not Given /
Anonymous (from psc cd)
4855 since
1/1/2015 4:21:00 AM

By 3 Users

       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)
 
 
  Clock AppletClock AppletJava (JDK 1.1), Java (JDK 1.2)Beginner /
Anonymous (from psc cd)
2167 since
1/2/2015 11:51:00 AM

By 8 Users

       the code displays the clock showing the time in seconds,min,hours and the background of the window according to the user choice
 
Please support the site by visiting our sponsor:
 
  Color Cycle PictureColor Cycle PictureJava (JDK 1.1)Beginner /
Anonymous (from psc cd)
3908 since
1/2/2015 4:59:00 AM

By 4 Users

       Cycles different colors behind any text logo and scrolls a message at the same time.
 
 
  Convert IP into hostnameConvert IP into hostnameJava (JDK 1.1)Not Given /
Anonymous (from psc cd)
6715 since
1/1/2015 4:19:00 AM

By 3 Users
2 Excellent Ratings
       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)
 
 
  Read data from a fileRead data from a fileJava (JDK 1.1)Not Given /
Anonymous (from psc cd)
4172 since
1/1/2015 4:16:00 AM

By 5 Users

       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)
 
 
  Scrolling images and textScrolling images and textJava (JDK 1.1)Beginner /
Anonymous (from psc cd)
3084 since
1/2/2015 5:00:00 AM

By 3 Users

       Java Applet that displays scrolling images and text.
 
 
  Send email from an appletSend email from an appletJava (JDK 1.1)Not Given /
Anonymous (from psc cd)
3487 since
1/1/2015 4:08:00 AM

By 2 Users

       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)
 


Search Results: Page 1 of 1 found. Entries 1 - 8 of 8 found

Compatibility Filter Profile:

Java (JDK 1.1)
Java (JDK 1.2)
Java (JDK 1.3)
Java (JDK 1.4)
Java (JDK 1.5)