View Single Post
Old Dec 6th, 2005, 7:35 PM   #7
titaniumdecoy
Expert Programmer
 
titaniumdecoy's Avatar
 
Join Date: Nov 2005
Posts: 928
Rep Power: 4 titaniumdecoy is on a distinguished road
Send a message via AIM to titaniumdecoy
If what you want is a button that is simply a color background with a border and text, all you need to do is add the code:

setBackground(Color.white);
setBorder(BorderFactory.createLineBorder (Color.black, 1));
titaniumdecoy is offline   Reply With Quote