call custom graphics void java code example
Example: Write a simple java swing application that will display rectangle graphics as shown in the picture below:
Color myColor = new Color(r,g,b);
Color myColor = new Color(r,g,b);