Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > de.comp.lang.java > #12853
| From | Rainer <Rainer.Poop@ObjectMail.com> |
|---|---|
| Newsgroups | de.comp.lang.java |
| Subject | Re: Java/NetBeans: Verwaltung von RadioButtons in einer ArrayList |
| Date | 2015-10-25 08:54 +0100 |
| Message-ID | <he2p2btvcav0m33c18fkr3051n8gbji4k6@4ax.com> (permalink) |
| References | <phcm2bde5n30n847r75qdjjvh60jiik2ae@4ax.com> <n0g1cj$fpi$1@newsreader4.netcologne.de> |
On Sat, 24 Oct 2015 15:34:11 +0200, Patrick Roemer
<sangamon@netcologne.de> wrote:
>
>int boxCount = ...;
>for(int idx = 0; idx < boxCount; boxCount++) {
> boxlist.add(new JCheckBox());
>}
OK, verstehe.
Und wie kann man Events systematisch abfragen, d. h. statt
private void chkEinsActionPerformed(java.awt.event.ActionEvent evt) {
...
}
private void chkZweiActionPerformed(java.awt.event.ActionEvent evt) {
...
}
usw. ....
in einer Schleife abfragen, ob irgendeines der Kontrollkästchen
geändert wurde, um dann Aktionen auszuführen?
Gruß
Rainer
Back to de.comp.lang.java | Previous | Next — Previous in thread | Next in thread | Find similar
Java/NetBeans: Verwaltung von RadioButtons in einer ArrayList Rainer <Rainer.Poop@ObjectMail.com> - 2015-10-24 09:28 +0200
Re: Java/NetBeans: Verwaltung von RadioButtons in einer ArrayList Patrick Roemer <sangamon@netcologne.de> - 2015-10-24 15:34 +0200
Re: Java/NetBeans: Verwaltung von RadioButtons in einer ArrayList Rainer <Rainer.Poop@ObjectMail.com> - 2015-10-25 08:54 +0100
Re: Java/NetBeans: Verwaltung von RadioButtons in einer ArrayList Patrick Roemer <sangamon@netcologne.de> - 2015-10-25 18:34 +0100
Re: Java/NetBeans: Verwaltung von RadioButtons in einer ArrayList Marco Bakera <pintman@bakera.de> - 2015-10-26 14:02 +0100
csiph-web