I think this is a fairly simple thing to do, but I can't find the method to use.
I need to draw a line with a thickness (in pixels) determined by me. But I've looked at drawLine() and drawPolyLine() in java.awt.graphics. But they can't be used to specify thickness.
What method can I use?