rounded corners for JTextField
Hello guys.
To render my application a little more attractive, I intend to make the JTextField instances have the visual modern application use nowadays.
If you have a look at apps such as Skype, Eclipse even some Web sites, you will notice that the text field have rounded corners which are not heavely pronounced though. It seems like there is a standard fashion to accomplish it, since it looks exactly the same if you look at one or the other app. I have tried to extract the border for JButton object to assign it later to the JTextField, but it doesn't work as the returned type of the JButton's border is EmptyBorder (the border by default).
Does anyone have an idea?
Thanks.
Edmond.