I cannot see your latest code. Crystal ball says:
import java.awt.Color.;
Surely a bright person can work out the problem.
Type: Posts; User: Junky
I cannot see your latest code. Crystal ball says:
import java.awt.Color.;
Surely a bright person can work out the problem.
Just remove the asterisk to import only the Color class.
import java.awt.Color.*;
This does not import the Color class. It imports all classes in the awt.color package.
Post your code. If it is too long then create a SSCCE.
String str = "hello";
System.out.println(String str);
What is wrong with that code?