Re: Problem with Buttons
- From: "Kenneth P. Turvey" <kt-usenet@xxxxxxxxxxxxxxxxxx>
- Date: 21 May 2008 03:05:16 GMT
On Tue, 20 May 2008 19:50:38 -0700, Knute Johnson wrote:
I would imagine that the decorations on a JButton are very look and feel
dependent. If you really need it to be a certain size, write your own.
It is not that hard.
Why do you want it to be a specific size?
The customer specified how it would look by giving images for normal,
over, and selected. There are a number of buttons and the only way to
get them to all look the way the customer specified, and to layout the
way the customer specified is to make them the size the customer
specified.
This isn't really "the Java way", but that's the way I'm doing it. In
addition, I may be using an absolute layout for the toolbar since I just
can't get it to be perfect without one.
--
Kenneth P. Turvey <kt-usenet@xxxxxxxxxxxxxxxxxx>
.
- References:
- Problem with Buttons
- From: Kenneth P. Turvey
- Re: Problem with Buttons
- From: Knute Johnson
- Problem with Buttons
- Prev by Date: Re: Problem with Buttons
- Next by Date: Re: Problem with Buttons
- Previous by thread: Re: Problem with Buttons
- Next by thread: Re: Problem with Buttons
- Index(es):