How can I create a border like this in Java?
问题 I've been trying to replicate this border for hours without success: Any idea on how to do this? 回答1: This is Borders from SwingX (some older version), but I can't found this older repository right now by using this Image (cuold be colorized with un_belivable Colors and required another classes Painter and???) private static class RoundedBorder implements Border { private static BufferedImage img; static { try { img = ImageIO.read(RoundedBorder.class.getResource("resources/border.png")); }