Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #39986
| Path | csiph.com!weretis.net!feeder8.news.weretis.net!eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Andreas Leitgeb <avl@logic.at> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: Default Button Doesn't Follow Focused Button |
| Date | Thu, 27 Jul 2023 07:12:34 -0000 (UTC) |
| Organization | A noiseless patient Spider |
| Lines | 34 |
| Message-ID | <slrnuc4672.23l.avl@logic.at> (permalink) |
| References | <slrnuc2hl0.vik.avl@logic.at> <be066062-bd4d-4d49-ad7d-bf5f02e132dcn@googlegroups.com> <slrnuc2rcu.22p.avl@logic.at> |
| Reply-To | avl@logic.at |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 8bit |
| Injection-Date | Thu, 27 Jul 2023 07:12:34 -0000 (UTC) |
| Injection-Info | dont-email.me; posting-host="683247f685e30b6406bd64a5cf8a822d"; logging-data="1925870"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+3mcOgs8SMIvtYEVNCs9B1" |
| User-Agent | slrn/1.0.3 (Linux) |
| Cancel-Lock | sha1:WTCGkrQLnI+SGa2SUEE0l3v0VIk= |
| Xref | csiph.com comp.lang.java.programmer:39986 |
Show key headers only | View raw
Problem is solved! The culprit was in very old parts of the code, where my predecessor- programmers explicitly thwarted Windows laf default behaviour, by defining all (except the chosen one) as non-defaultCapable. They were the same who explicitly selected windows laf, but really only wanted the look, not the feel - well, not all of it, at least. The reason, I fooled myself into thinking my SSCCE would be relevant is, that Java here isn't locally configured for windows l&f, so my SSCCE picked some other laf, and that other laf just didn't have the "default follows focused buttons"-behaviour in the first place. Andreas Leitgeb <avl@logic.at> wrote: > e.d.pro...@gmail.com <e.d.programmer@gmail.com> wrote: >> On Wednesday, July 26, 2023 at 12:15:42 PM UTC-4, Andreas Leitgeb wrote: >>> In Windows, it seems to be "usual behaviour" that if I now >>> use the Tab-key to set focus on any other button, then the >>> focused button should temporally become the new "default"- >>> button, until focus goes to something not-a-button, then the >>> original default button would receive the blue frame again >>> and become default again. > >> There is only supposed to be one default button. Focused button >> is a different matter. Use space bar to select focused button >> with keyboard. > > Yeah, count me in the choir for that preaching... > > Unfortunately, the customers refuse to sing along with us. >
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Default Button Doesn't Follow Focused Button Andreas Leitgeb <avl@logic.at> - 2023-07-26 16:15 +0000
Re: Default Button Doesn't Follow Focused Button "e.d.pro...@gmail.com" <e.d.programmer@gmail.com> - 2023-07-26 10:59 -0700
Re: Default Button Doesn't Follow Focused Button Andreas Leitgeb <avl@logic.at> - 2023-07-26 19:01 +0000
Re: Default Button Doesn't Follow Focused Button Andreas Leitgeb <avl@logic.at> - 2023-07-27 07:12 +0000
Re: Default Button Doesn't Follow Focused Button "e.d.pro...@gmail.com" <e.d.programmer@gmail.com> - 2023-07-27 10:57 -0700
csiph-web