Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #31022
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news.swapon.de!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Jeff Higgins <jeff@invalid.invalid> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Disabling generated buttons |
| Date | Mon, 02 Feb 2015 19:29:00 -0500 |
| Organization | A noiseless patient Spider |
| Lines | 16 |
| Message-ID | <map4ub$b3g$1@dont-email.me> (permalink) |
| References | <874mr41ox9.fsf@Equus.decebal.nl> <87vbjkz9df.fsf@Equus.decebal.nl> <c11fb336-efde-4772-a5ae-1c0889dcd47e@googlegroups.com> <87bnlcyv2h.fsf@Equus.decebal.nl> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=windows-1252; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Injection-Date | Tue, 3 Feb 2015 00:32:11 +0000 (UTC) |
| Injection-Info | mx02.eternal-september.org; posting-host="c50a9e5d554cfaba13eda1c71e805135"; logging-data="11376"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19hMnVOUhALCwzbyjpME0Da2ZRxuNwhWhM=" |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.4.0 |
| In-Reply-To | <87bnlcyv2h.fsf@Equus.decebal.nl> |
| Cancel-Lock | sha1:e6nmWBEa4eoR+Nsp0KTvEQjbGUQ= |
| Xref | csiph.com comp.lang.java.programmer:31022 |
Show key headers only | View raw
On 02/02/2015 02:25 PM, Cecil Westerhof wrote: > Op Monday 2 Feb 2015 19:24 CET schreef FredK: >> >> The above add() saves the buttons, so now you are saving them in two >> places. Presumably "this" is some kind of JPanel. The buttons you >> added are available by calling this.getComponents() > > The buttons are on a JFrame, but there are other buttons also on > the JFrame and only the Colour buttons should be disabled. That is why > I use the array. But I look into a cleaner solution. > Another shrug. Component.getClientProperty(Object key) Component.putClientProperty(Object key, Object value)
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Disabling generated buttons Cecil Westerhof <Cecil@decebal.nl> - 2015-02-02 13:24 +0100
Re: Disabling generated buttons Jeff Higgins <jeff@invalid.invalid> - 2015-02-02 07:47 -0500
Re: Disabling generated buttons Cecil Westerhof <Cecil@decebal.nl> - 2015-02-02 14:03 +0100
Re: Disabling generated buttons Jeff Higgins <jeff@invalid.invalid> - 2015-02-02 08:26 -0500
Re: Disabling generated buttons Jeff Higgins <jeff@invalid.invalid> - 2015-02-02 08:48 -0500
Re: Disabling generated buttons Jeff Higgins <jeff@invalid.invalid> - 2015-02-02 09:06 -0500
Re: Disabling generated buttons Cecil Westerhof <Cecil@decebal.nl> - 2015-02-02 15:17 +0100
Re: Disabling generated buttons Cecil Westerhof <Cecil@decebal.nl> - 2015-02-02 15:16 +0100
Re: Disabling generated buttons FredK <fred.l.kleinschmidt@gmail.com> - 2015-02-02 10:24 -0800
Re: Disabling generated buttons Cecil Westerhof <Cecil@decebal.nl> - 2015-02-02 20:25 +0100
Re: Disabling generated buttons Jeff Higgins <jeff@invalid.invalid> - 2015-02-02 19:29 -0500
Re: Disabling generated buttons Jeff Higgins <jeff@invalid.invalid> - 2015-02-02 19:35 -0500
Re: Disabling generated buttons Jeff Higgins <jeff@invalid.invalid> - 2015-02-02 20:42 -0500
Re: Disabling generated buttons Jeff Higgins <jeff@invalid.invalid> - 2015-02-02 21:10 -0500
Re: Disabling generated buttons Jeff Higgins <jeff@invalid.invalid> - 2015-02-02 23:32 -0500
csiph-web