Hey guy I am learning to create shapes and such using Drawable frame on java. I am trying to draw a yellow diamond shaped sign that inside of it has a drawing of a traffic light.
Here's my code.
I keep getting an error on lines 22. int[] xCoordinates(25, 100, 100, 165);
Can anyone tell me what I am doing wrong? I've searched everywhere on my book and I don't understand what's causing the problem.
I have to ignore the -Xlint error, because I need to make this program using the AWT.
Anyways I need for a black line going throught the diamond and the line has to fill in 5 pixels. I can't seem to be able to do this. And the current line I have only fills in 1 pixel and it only works on the right side of the diamond.
There are no more "hours", it's centi-days. They say it's better, but this tiny ad says it's stupid: