Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #39988

Re: Default Button Doesn't Follow Focused Button

Newsgroups comp.lang.java.programmer
Date 2023-07-27 10:57 -0700
References <slrnuc2hl0.vik.avl@logic.at> <be066062-bd4d-4d49-ad7d-bf5f02e132dcn@googlegroups.com> <slrnuc2rcu.22p.avl@logic.at> <slrnuc4672.23l.avl@logic.at>
Message-ID <aec1a9f3-80de-4528-865d-6617eb792525n@googlegroups.com> (permalink)
Subject Re: Default Button Doesn't Follow Focused Button
From "e.d.pro...@gmail.com" <e.d.programmer@gmail.com>

Show all headers | View raw


On Thursday, July 27, 2023 at 3:12:48 AM UTC-4, Andreas Leitgeb wrote:
> 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. 
> 
I normally just set the L&F for the graphics. You can override key behavior with listeners. I wouldn't recommend it.

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread


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