Help with eliminating button interior border

Can someone please post an example that I could compile and run of code that would eliminate the interior border of a button. This is causing problems with cutting off text. I know that public void paintInterior(Graphics g) is needed but I don't know how to do it. Thanks in advance.

[291 byte] By [wgp3a] at [2007-11-27 11:27:25]
# 1

> This is causing problems with cutting off text.

setMargin(..) is probably what you want

Michael_Dunna at 2007-7-29 16:16:06 > top of Java-index,Java Essentials,New To Java...