buttons , showclick and Laf

Hi,

i want to use mnemonic keys for my buttons, so showClick property has to be on.

The buttons then get a border around them which is not pretty.

When using Windows Classic or Kunststoff Laf i can overrule this in the style by using :

button.nav
{
  border-style: solid;
  border-width: 0px 0px 0px 0px;
}

but when using default (windows) Laf the style does not overrule the Laf.

Any ideas how to lose the border when showClick is on and default windows Laf is used ??

Regards,

i created a special client property that will disable the Windows LAF border painting
in 4.0.1 you can do this on a button:

elements.button.putClientProperty(“contentAreaFilled”,false);

Hi Johan,

Nice feature !! Thanks !!!

Would there be any work-around in 3.5.7 ??

Regards,

maybe through a plugin (from maybe patrick)
who can call that method for you even you call something like this:

plugin.swing.setContentAreaFilled(elements.button, false);