When changing the Look & Feel programatically (i.e., menu item on my
frame) everything updates except the folder icons on a JTree object.
Is there a way to get the folder icons to update to the appropriate
L&F? If I set the L&F before setting the JFrame to visible, it draws
the appropriate folder icon.
Karsten Wutzke - 24 May 2005 19:26 GMT
Have you tried hiding and reshowing the frame? It's an ugly frame blink,
but might help.
Karsten
> When changing the Look & Feel programatically (i.e., menu item on my
> frame) everything updates except the folder icons on a JTree object.
> Is there a way to get the folder icons to update to the appropriate
> L&F? If I set the L&F before setting the JFrame to visible, it draws
> the appropriate folder icon.
Christian Kaufhold - 24 May 2005 19:46 GMT
> When changing the Look & Feel programatically (i.e., menu item on my
> frame) everything updates except the folder icons on a JTree object.
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4465529
Christian
newsgroups.net@gmail.com - 24 May 2005 20:08 GMT
Thanks! That's what I needed...