-
Setting font at runtime
Hi
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.
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
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks