A
AtmO
I'm trying to disable a List component, using its method setEnabled(false).
With this last I don't gain a complete effect: the List items are no more
selectables but their aspect stays the same, unaffected (their color should
change in opaque gray, that's the default disactivation color). The color
changes only when the frame containing the list, is iconized then recalled
or the list area is covert behind a system window or other frame, then
brought again visible, or using method List.setVisible(false) first,
List.Visible(true) later.
NB: I'm using the 1.4.2 version, and methods like List.repaint() List.paint(g)
do not seem to work.
Any hint ?
Thanks.
With this last I don't gain a complete effect: the List items are no more
selectables but their aspect stays the same, unaffected (their color should
change in opaque gray, that's the default disactivation color). The color
changes only when the frame containing the list, is iconized then recalled
or the list area is covert behind a system window or other frame, then
brought again visible, or using method List.setVisible(false) first,
List.Visible(true) later.
NB: I'm using the 1.4.2 version, and methods like List.repaint() List.paint(g)
do not seem to work.
Any hint ?
Thanks.