Setting font at runtime
I'm currently trying to set the font of my application at runtime using the
code UIManager.put(key, value) and SwingUtilities.UpdateComponentTreeUI(Component).
This works fine for the first time but any subsequent changes are not updated
in the interface. Why is this ? Can anyone help ? I thought it may be something
to do with not replacing the object in the hashtable, but it seems to update
fine. Its as if a flag exists in the update routine that doesn't allow any
further updating after the first time.
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center