devxlogo

December 15, 1999

String to StringBuffer Conversion

Question: How do I convert a String object to a StringBuffer object? I tried to put a String object into a stringBuffer using a cast, but I got an invalidcast

Color Space Transformation

Question: How do I transform the color space of an image?from its original space to grayscale, for instance? Answer: The ColorSpace class is defined in the java.awt.color package.It encapsulates the

Interface Usage

Question: In designing a program, how do I know when to use an interface or a class?Is there a basic rule to follow? Answer: Java supports a limited form of

Add Variables to FrontPage 2000 Web Sites

If small parts of your FrontPage Web change frequently, you can save a lot of time by inserting variables with the Substitution Bot. Any time you need to change the