|
-
August 25th, 1999, 01:46 PM
#1
Pluggable L&F
I have a JPanel containing a few JButtons in an application. I want to keep the look and feel for the entire app as the default, Metal, but I want to change the L&F of the JButtons to Windows. How can i do this? I have tried calling the setLookAndFeel(new Windows()) method, and then calling the updateUI on the buttons, but it doesn't changed. Do i have to call it before i create the JButtons, or after i create them and before i add them, or after all that?
Anyone have any ideas?
thanks
t
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|