Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #3428
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!news.glorb.com!news-out.readnews.com!transit3.readnews.com!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail |
|---|---|
| From | "tar" <tar@THRWHITE.remove-dii-this> |
| Subject | Re: Size of a radiobutton |
| Message-ID | <ymifxtagcjq.fsf@blackcat.isi.edu> (permalink) |
| X-Comment-To | comp.lang.java.gui |
| Newsgroups | comp.lang.java.gui |
| In-Reply-To | <fumvgj$4gk$1@aioe.org> |
| References | <fumvgj$4gk$1@aioe.org> |
| Content-Type | text/plain; charset=IBM437 |
| Content-Transfer-Encoding | 8bit |
| X-Gateway | time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92] |
| Lines | 31 |
| Date | Wed, 27 Apr 2011 15:44:48 GMT |
| NNTP-Posting-Host | 96.60.20.240 |
| X-Complaints-To | news@tds.net |
| X-Trace | newsreading01.news.tds.net 1303919088 96.60.20.240 (Wed, 27 Apr 2011 10:44:48 CDT) |
| NNTP-Posting-Date | Wed, 27 Apr 2011 10:44:48 CDT |
| Organization | TDS.net |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.java.gui:3428 |
Show key headers only | View raw
To: comp.lang.java.gui Andre Rothe <andre.rothe@imise.uni-leipzig.de> 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 --- * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet! --- Synchronet 3.15a-Win32 NewsLink 1.92 Time Warp of the Future BBS - telnet://time.synchro.net:24
Back to comp.lang.java.gui | Previous | Next — Previous in thread | Find similar | Unroll thread
Size of a radiobutton "Andre Rothe" <andre.rothe@THRWHITE.remove-dii-this> - 2011-04-27 15:44 +0000 Re: Size of a radiobutton "Frank Meyer" <frank.meyer@THRWHITE.remove-dii-this> - 2011-04-27 15:44 +0000 Re: Size of a radiobutton "tar" <tar@THRWHITE.remove-dii-this> - 2011-04-27 15:44 +0000
csiph-web