- Apr 23, 2005
- 172
- 0
- 0
Ok so the premise is this: I need to write a java program that constructs a color object with values of 50, 100 and 150. Then I need to apply the brighten method and print the results. This is what I have so far:
import java.awt.Color;
public class BrightenTester
{
public static void main(String[]args)
{
new Color (50,100,150);
Color brighter;
}
}
I know it's messed up, I just don't know how to get it to print the new values. Any help?
import java.awt.Color;
public class BrightenTester
{
public static void main(String[]args)
{
new Color (50,100,150);
Color brighter;
}
}
I know it's messed up, I just don't know how to get it to print the new values. Any help?