Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.gui > #2283 > unrolled thread
| Started by | "Chameleon" <chameleon@THRWHITE.remove-dii-this> |
|---|---|
| First post | 2011-04-27 15:38 +0000 |
| Last post | 2011-04-27 15:38 +0000 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.lang.java.gui
default button in JDialog "Chameleon" <chameleon@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
Re: default button in JDi "Knute Johnson" <knute.johnson@THRWHITE.remove-dii-this> - 2011-04-27 15:38 +0000
| From | "Chameleon" <chameleon@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:38 +0000 |
| Subject | default button in JDialog |
| Message-ID | <faa3nl$q90$1@volcano1.grnet.gr> |
To: comp.lang.java.gui How can I activate a JButton when I press ENTER in a JDialog? --- * 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
[toc] | [next] | [standalone]
| From | "Knute Johnson" <knute.johnson@THRWHITE.remove-dii-this> |
|---|---|
| Date | 2011-04-27 15:38 +0000 |
| Subject | Re: default button in JDi |
| Message-ID | <5%1yi.152372$dA7.107482@newsfe16.lga> |
| In reply to | #2283 |
To: comp.lang.java.gui Chameleon wrote: > How can I activate a JButton when I press ENTER in a JDialog? Look at JRootPane.setDefaultButton(). -- Knute Johnson email s/nospam/knute/ --- * 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
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.java.gui
csiph-web