[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[commit-cp] [bugs #11309] Swing; missing L&F config methods.
From: |
Thomas Zander |
Subject: |
[commit-cp] [bugs #11309] Swing; missing L&F config methods. |
Date: |
Tue, 21 Dec 2004 17:51:26 -0500 |
User-agent: |
Mozilla/3.01Gold (Macintosh; I; 68K) |
This mail is an automated notification from the bugs tracker
of the project: classpath.
/**************************************************************************/
[bugs #11309] Latest Modifications:
Changes by:
Thomas Zander <address@hidden>
'Date:
Tue 12/21/2004 at 22:01 (GMT)
------------------ Additional Follow-up Comments ----------------------------
They do; but note that the methods on MetalTheme are not static, and that means
you have to resolve the current theme set by the user. This can be an instance
that extends the MetalTheme, like the DefaultMetalTheme, or MyTheme.
/**************************************************************************/
[bugs #11309] Full Item Snapshot:
URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=11309>
Project: classpath
Submitted by: Thomas Zander
On: Mon 12/13/2004 at 14:13
Category: classpath
Severity: 5 - Average
Resolution: None
Privacy: Public
Assigned to: None
Status: Open
Platform Version: None
Summary: Swing; missing L&F config methods.
Original Submission: Each L&F based on the Metal L&F can provide swing-wide
color and font settings, which are then used by the various components by
calling the static methods on MetalLookAndFeel, like getControl().
These methods are missing currently.
The initialisation of which colors/fonts these methods return is done in
MetalTheme, specifically the addCustomEntriesToTable(UIDefaults table) method
which means that the UIDefaults object should be used to provide the data to
return in the above methods.
Follow-up Comments
------------------
-------------------------------------------------------
Date: Tue 12/21/2004 at 22:01 By: Thomas Zander <zander>
They do; but note that the methods on MetalTheme are not static, and that means
you have to resolve the current theme set by the user. This can be an instance
that extends the MetalTheme, like the DefaultMetalTheme, or MyTheme.
-------------------------------------------------------
Date: Tue 12/21/2004 at 21:28 By: Michael Koch <mkoch>
Just to make sure: Does all the getSomething() methods in MetalLookAndFeel
forward to MetalTheme.getSomething() ?
Sounds easy to implement.
For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=11309>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/