What I've got here is a JPanel with a rounded border that is set up as such:
panel.setBorder(new LineBorder(PanelColor, 5, true));
The problem is, in each of the corners there are 2 diagonal opaque lines going from the outer corner to the inner corner that is the length of the border. Whatever is behind the border shows through. Is there any way to get rid of these lines and make the entire border one solid color? Thanks!
I'd attach a picture but I don't have enough rep to do so :P