Re: Size of a radiobutton
- From: tar@xxxxxxxxxxxxx (Thomas A. Russ)
- Date: 25 Apr 2008 08:49:13 -0700
Andre Rothe <andre.rothe@xxxxxxxxxxxxxxxxxxxx> writes:
Hi,
Is there a possibility to get the size of a radio button? You can use
getWidth() and getHeight() of a JRadioButton, but this comes from the
component, which will be resized depending on the layout you use. I need
the size of the clickable unchangable circle (which size depends on the
look and feel).
But why do you want to get that?
Remember that, the native behavior (for example, on the Mac and Windows)
of check boxes and radio buttons is that they are active if the icon OR
the text label is clicked. This behavior is, of course, highly useful
for user productivity, since it gives a much larger target to hit with
the mouse button. (See Fitt's law, e.g.,
<http://en.wikipedia.org/wiki/Fitts'_law>,
<http://www.asktog.com/basics/firstPrinciples.html>)
Mac users, in particular, would tend to notice that the behavior isn't
quite what they expected. But I suppose that this
--
Thomas A. Russ, USC/Information Sciences Institute
.
- Follow-Ups:
- Re: Size of a radiobutton
- From: Andre Rothe
- Re: Size of a radiobutton
- References:
- Size of a radiobutton
- From: Andre Rothe
- Size of a radiobutton
- Prev by Date: Their Bvlgari Blvgari watch is the iconic watch of their watch assortment. It’s true contemporary design is enhanced by a double logo bevel on a perfectly cut cylinder. The amount of options is endless in this. No matter what option is chosen, if safe to say this watch just speaks sophistication....
- Next by Date: printing a JLabel text above a JTable
- Previous by thread: Re: Size of a radiobutton
- Next by thread: Re: Size of a radiobutton
- Index(es):