Skip to main content

How to disable HGraphicsButton Border on Focus state

2 replies [Last post]
terymas
Offline
Joined: 2007-09-03
Points: 0

Hi all,

some body know, how to disable border on focus state ?
I set setBordersEnabled(flase);

but on some old hardware player and Xletview, I have a black border...

Have a nice day ; )

Tery

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
bjoern_minkmar
Offline
Joined: 2007-06-11
Points: 0

Hi Terry,

If you are using a GraphicsButton you could try to set a transparent foreground color:

yourGraphicsButton.setForeground(new Color(0,0,0,0));

Maybe this helps. Please be aware that HAVi components can appear and behave differently on each player.

Cheers,
Björn

terymas
Offline
Joined: 2007-09-03
Points: 0

Hi Björn,
how are you today ?

You know what ? You are great ! ; )
Black border have disappear...