0
How can i get colour in java?
3 Answers
+ 17
System.out.println( java.awt.Color.getColor( "black", Color.red ) );
Of you run this code it prints no output...
Because there's no GUI.
+ 3
If your using mobile you cant get colour theres no gui
0
What do you mean by colour?
If you are referring to a GUI with Buttons,Sliders,Tables,etc then you will have to program on a desktop with something like JavaFx or Swing.