2011-11-25 87 views

回答

8
Border roundedBorder = new LineBorder(Color.green, 5, true); // the third parameter - true, says it's round 
someTextArea.setBorder(roundedBorder);