Rectangle « Border « Java Swing Q&A





1. Rectangle border Java    stackoverflow.com

I have some shapes created by class Rectangle and I want to surround them with a thick border. However the methods drawRect and drawOval form Graphics class create a thin line ...