Overriding BorderFactory.createRaisedBevelBorder()

How do I make the thickness of the borders from createRaisedBevelBorder() a little bit thinner? Sample code please.

[122 byte] By [astigmatika] at [2007-11-27 11:18:17]
# 1

> How do I make the thickness of the borders from createRaisedBevelBorder() a little bit thinner?

You can't. You need to write your own custom Border.

> Sample code please.

Read the source code that comes with the JDK. It shows you exactly how Borders are painted.

camickra at 2007-7-29 14:30:02 > top of Java-index,Desktop,Core GUI APIs...