Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #2316
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!news.alt.net!news-in-01.newsfeed.easynews.com!easynews.com!easynews!news-out.news.tds.net!newsreading01.news.tds.net!86597e80!not-for-mail |
|---|---|
| From | "usenet" <usenet@THRWHITE.remove-dii-this> |
| Subject | Re: JButton.setMargin bro |
| Message-ID | <0T4bucbdI25e@uni.chka.de> (permalink) |
| X-Comment-To | comp.lang.java.gui |
| Newsgroups | comp.lang.java.gui |
| In-Reply-To | <i692d3t1r2i1dr3jbhmsjmt3gkib3i7tc9@4ax.com> |
| References | <i692d3t1r2i1dr3jbhmsjmt3gkib3i7tc9@4ax.com> |
| Content-Type | text/plain; charset=IBM437 |
| Content-Transfer-Encoding | 8bit |
| X-Gateway | time.synchro.net [Synchronet 3.15a-Win32 NewsLink 1.92] |
| Lines | 18 |
| Date | Wed, 27 Apr 2011 15:38:24 GMT |
| NNTP-Posting-Host | 96.60.20.240 |
| X-Complaints-To | news@tds.net |
| X-Trace | newsreading01.news.tds.net 1303918704 96.60.20.240 (Wed, 27 Apr 2011 10:38:24 CDT) |
| NNTP-Posting-Date | Wed, 27 Apr 2011 10:38:24 CDT |
| Organization | TDS.net |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.java.gui:2316 |
Show key headers only | View raw
To: comp.lang.java.gui Roedy Green <see_website@mindprod.com.invalid> wrote: > It seems that Swing ignores JButton.setMargin. Is that your finding? > Is this a bug or is there some excuse for it? The margin is modelled as an extra border (e.g. javax.swing.plaf.basic.BasicBorders.MarginBorder), usually installed by the LookAndFeel. If you replace a button's border, put a margin border (using CompoundBorder) in the place where you want to have it, relative to the other border(s). Christian --- * 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 | Next in thread | Find similar | Unroll thread
JButton.setMargin broken "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
Re: JButton.setMargin bro "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
Re: JButton.setMargin bro "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
Re: JButton.setMargin bro "Andrew Thompson" <andrew.thompson@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
Re: JButton.setMargin bro "usenet" <usenet@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
Re: JButton.setMargin bro "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
Re: JButton.setMargin bro "Roedy Green" <roedy.green@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
csiph-web