Re: flat JButtons
- From: Evans <onyxtic@xxxxxxxxx>
- Date: Sat, 31 May 2008 11:01:05 -0700 (PDT)
On May 31, 3:36 pm, "RVince" <rvince99 at hotmail dot com> wrote:
Does anyone know how to make a flat JButton, or a JButton whose perimiter
only shows when rolled over? Thanks.
The button class has setBorder() method that is inherited from
JComponent. It should help remove the borders and set it flat.
JButton button = new JButton("Click me");
button.setBorder(null);
Evans
http://jroller.com/evans
.
- References:
- flat JButtons
- From: RVince
- flat JButtons
- Prev by Date: flat JButtons
- Previous by thread: flat JButtons
- Index(es):