Link to home
Start Free TrialLog in
Avatar of InNoCenT_Ch1ld
InNoCenT_Ch1ld

asked on

how do i changed the LookAndFeel for my application when it is already running?

I wanted to allow the user to select the LookAndFeel they like and change it while they are running the application. But i'm not sure how.. do i just use the UIManager.setLookAndFeel to change it? but since the application is running, all the frame is opened, how this change affect them?

tks
ASKER CERTIFIED SOLUTION
Avatar of Mick Barry
Mick Barry
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of InNoCenT_Ch1ld
InNoCenT_Ch1ld

ASKER

>>SwingUtilities.updateComponentTreeUI(frame);
where should i do this? on every frame?
what about static frame?
static dialog actually...
yes for every top level container
you might want to also pack() them to account for size changes.
ok, thank you ;-)
no worries :)