Hi im trying to create a border that has top and left as black and bottom and right as grey. does anyone know if this is possible and how?
new CompoundBorder(
BorderFactory.createMatteBorder(1, 1, 0, 0, Color.BLACK),
BorderFactory.createMatteBorder(0, 0, 1, 1, Color.GRAY)));
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With