diff options
author | Michael Koch <konqueror@gmx.de> | 2005-01-28 12:25:08 +0000 |
---|---|---|
committer | Michael Koch <konqueror@gmx.de> | 2005-01-28 12:25:08 +0000 |
commit | d8b9d549ba4517834c3d73ca0fbb4c36b9151179 (patch) | |
tree | d229b46fc2fcc754cf8429871277caf1e3dc1a8b /javax | |
parent | b64fde9daaab70b10beee96dedf703014ad304ee (diff) | |
download | classpath-d8b9d549ba4517834c3d73ca0fbb4c36b9151179.tar.gz |
2005-01-28 Michael Koch <konqueror@gmx.de>
* javax/swing/SwingUtilities.java
(getFontMetrics): Removed.
Diffstat (limited to 'javax')
-rw-r--r-- | javax/swing/SwingUtilities.java | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/javax/swing/SwingUtilities.java b/javax/swing/SwingUtilities.java index 08256e74a..924a9d092 100644 --- a/javax/swing/SwingUtilities.java +++ b/javax/swing/SwingUtilities.java @@ -295,22 +295,6 @@ public class SwingUtilities } /** - * Returns the font metrics object for a given font. The metrics can be - * used to calculate crude bounding boxes and positioning information, - * for laying out components with textual elements. - * - * @param font The font to get metrics for - * - * @return The font's metrics - * - * @see java.awt.font.GlyphMetrics - */ - public static FontMetrics getFontMetrics(Font font) - { - return Toolkit.getDefaultToolkit().getFontMetrics(font); - } - - /** * If <code>comp</code> is a RootPaneContainer, return its JRootPane. * Otherwise call <code>getAncestorOfClass(JRootPane.class, a)</code>. * |