summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2004-07-08 19:26:09 +0000
committerMark Wielaard <mark@klomp.org>2004-07-08 19:26:09 +0000
commitb5a43ab76719abc71ff8ac0ba202feb28770eabb (patch)
tree44e1de689837e538e7e5a3ef75915f4f60ff7cfa
parent6c4ed55af9ce6bc9de2a86abea6d590be12c233f (diff)
downloadclasspath-b5a43ab76719abc71ff8ac0ba202feb28770eabb.tar.gz
2004-07-08 Mark Wielaard <mark@klomp.org>
* javax/swing/Box.java: Put FIXME comment above class declaration. * javax/swing/JButton.java: Remove illegal L&F HTML from comments. * javax/swing/JCheckBox.java: Likewise. * javax/swing/JDialog.java: Likewise. * javax/swing/JRadioButton.java: Likewise. * javax/swing/JToggleButton.java: Likewise. * javax/swing/UIManager.java: Likewise. * javax/swing/border/TitledBorder.java: Likewise. * javax/swing/plaf/basic/BasicLabelUI.java: Likewise. * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise. * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise. * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise. * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise. * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise. * javax/swing/text/JTextComponent.java: Likewise.
-rw-r--r--ChangeLog18
-rw-r--r--javax/swing/Box.java6
-rw-r--r--javax/swing/JButton.java3
-rw-r--r--javax/swing/JCheckBox.java3
-rw-r--r--javax/swing/JDialog.java6
-rw-r--r--javax/swing/JRadioButton.java3
-rw-r--r--javax/swing/JToggleButton.java4
-rw-r--r--javax/swing/UIManager.java6
-rw-r--r--javax/swing/border/TitledBorder.java20
-rw-r--r--javax/swing/plaf/basic/BasicLabelUI.java4
-rw-r--r--javax/swing/plaf/basic/BasicLookAndFeel.java4
-rw-r--r--javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java2
-rw-r--r--javax/swing/plaf/basic/BasicProgressBarUI.java2
-rw-r--r--javax/swing/plaf/basic/BasicScrollBarUI.java6
-rw-r--r--javax/swing/plaf/basic/BasicSeparatorUI.java6
-rw-r--r--javax/swing/text/JTextComponent.java2
16 files changed, 57 insertions, 38 deletions
diff --git a/ChangeLog b/ChangeLog
index bf580d2d1..da22dd2fc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,23 @@
2004-07-08 Mark Wielaard <mark@klomp.org>
+ * javax/swing/Box.java: Put FIXME comment above class declaration.
+ * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
+ * javax/swing/JCheckBox.java: Likewise.
+ * javax/swing/JDialog.java: Likewise.
+ * javax/swing/JRadioButton.java: Likewise.
+ * javax/swing/JToggleButton.java: Likewise.
+ * javax/swing/UIManager.java: Likewise.
+ * javax/swing/border/TitledBorder.java: Likewise.
+ * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
+ * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
+ * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
+ * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
+ * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
+ * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
+ * javax/swing/text/JTextComponent.java: Likewise.
+
+2004-07-08 Mark Wielaard <mark@klomp.org>
+
* java/lang/System.java (static): Set file.encoding to 8859_1 when
not set yet.
* vm/reference/java/lang/VMRuntime.java (insertSystemProperties):
diff --git a/javax/swing/Box.java b/javax/swing/Box.java
index f5d090e0b..4e3387478 100644
--- a/javax/swing/Box.java
+++ b/javax/swing/Box.java
@@ -55,9 +55,8 @@ public class Box extends JComponent implements Accessible
{
private static final long serialVersionUID = 1525417495883046342L;
- protected class AccessibleBox
// FIXME: disable to make libjava compile; visibility rules are broken
- // extends Container.AccessibleAWTContainer
+ protected class AccessibleBox // extends Container.AccessibleAWTContainer
{
private static final long serialVersionUID = -7775079816389931944L;
@@ -75,9 +74,8 @@ public class Box extends JComponent implements Accessible
{
private static final long serialVersionUID = -1204263191910183998L;
- protected class AccessibleBoxFiller
// FIXME: disable to make libjava compile; visibility rules are broken
- // extends Component.AccessibleAWTComponent
+ protected class AccessibleBoxFiller // extends Component.AccessibleAWTComponent
{
private static final long serialVersionUID = 164963348357479321L;
diff --git a/javax/swing/JButton.java b/javax/swing/JButton.java
index 0eb5e4482..cb44992f3 100644
--- a/javax/swing/JButton.java
+++ b/javax/swing/JButton.java
@@ -98,7 +98,8 @@ public class JButton extends AbstractButton implements Accessible
public String getUIClassID()
{
- //Returns a string that specifies the name of the L&F class that renders this component.
+ //Returns a string that specifies the name of the Look and Feel
+ //class that renders this component.
return "ButtonUI";
}
diff --git a/javax/swing/JCheckBox.java b/javax/swing/JCheckBox.java
index 94aba4a47..b4620593e 100644
--- a/javax/swing/JCheckBox.java
+++ b/javax/swing/JCheckBox.java
@@ -85,7 +85,8 @@ public class JCheckBox extends JToggleButton
public String getUIClassID()
{
- //Returns a string that specifies the name of the L&F class that renders this component.
+ //Returns a string that specifies the name of the Look and Feel
+ //class that renders this component.
return "CheckBoxUI";
}
diff --git a/javax/swing/JDialog.java b/javax/swing/JDialog.java
index 598f4931c..d33158018 100644
--- a/javax/swing/JDialog.java
+++ b/javax/swing/JDialog.java
@@ -76,7 +76,7 @@ public class JDialog extends Dialog implements Accessible, WindowConstants,
/** The default action taken when closed. */
private int close_action = HIDE_ON_CLOSE;
- /** Whether JDialogs are decorated by the L&F. */
+ /** Whether JDialogs are decorated by the Look and Feel. */
private static boolean decorated = false;
/**
@@ -237,7 +237,7 @@ public class JDialog extends Dialog implements Accessible, WindowConstants,
* This method returns whether JDialogs will have their
* window decorations provided by the Look and Feel.
*
- * @return Whether the window decorations are L&F provided.
+ * @return Whether the window decorations are Look and Feel provided.
*/
public static boolean isDefaultLookAndFeelDecorated()
{
@@ -249,7 +249,7 @@ public class JDialog extends Dialog implements Accessible, WindowConstants,
* window decorations provided by the Look and Feel.
*
* @param defaultLookAndFeelDecorated Whether the window
- * decorations are L&F provided.
+ * decorations are Look and Feel provided.
*/
public static void setDefaultLookAndFeelDecorated(boolean defaultLookAndFeelDecorated)
{
diff --git a/javax/swing/JRadioButton.java b/javax/swing/JRadioButton.java
index 0802ac09b..54582f600 100644
--- a/javax/swing/JRadioButton.java
+++ b/javax/swing/JRadioButton.java
@@ -80,7 +80,8 @@ public class JRadioButton extends JToggleButton
public String getUIClassID()
{
- //Returns a string that specifies the name of the L&F class that renders this component.
+ //Returns a string that specifies the name of the Look and Feel
+ //class that renders this component.
return "RadioButtonUI";
}
diff --git a/javax/swing/JToggleButton.java b/javax/swing/JToggleButton.java
index 9f3395aa2..67371da0f 100644
--- a/javax/swing/JToggleButton.java
+++ b/javax/swing/JToggleButton.java
@@ -115,8 +115,8 @@ public class JToggleButton extends AbstractButton implements Accessible
}
/**
- * Returns a string that specifies the name of the L&amp;F class that renders
- * this component.
+ * Returns a string that specifies the name of the Look and Feel
+ * class that renders this component.
*/
public String getUIClassID()
{
diff --git a/javax/swing/UIManager.java b/javax/swing/UIManager.java
index 4ad953086..0310ed640 100644
--- a/javax/swing/UIManager.java
+++ b/javax/swing/UIManager.java
@@ -1,5 +1,5 @@
/* UIManager.java --
- Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2003, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -194,7 +194,7 @@ public class UIManager implements Serializable
*
* @param key an Object that specifies the font. Typically,
* this is a String such as
- * <code>&quot;TitledBorder.font&quot;</code>.
+ * <code>TitledBorder.font</code>.
*/
public static Font getFont(Object key)
{
@@ -253,7 +253,7 @@ public class UIManager implements Serializable
}
public static ComponentUI getUI(JComponent target)
- // Returns the L&F object that renders the target component.
+ // Returns the Look and Feel object that renders the target component.
{
ComponentUI ui = getDefaults().getUI(target);
//System.out.println("GET-UI-> " + ui + ", for " + target);
diff --git a/javax/swing/border/TitledBorder.java b/javax/swing/border/TitledBorder.java
index 8b9fe2a73..b257ce1c7 100644
--- a/javax/swing/border/TitledBorder.java
+++ b/javax/swing/border/TitledBorder.java
@@ -252,7 +252,7 @@ public class TitledBorder
* The border underneath the title. If this value is
* <code>null</code>, the border will be retrieved from the {@link
* javax.swing.UIManager}&#x2019;s defaults table using the key
- * <code>&quot;TitledBorder.border&quot;</code>.
+ * <code>TitledBorder.border</code>.
*/
protected Border border;
@@ -279,7 +279,7 @@ public class TitledBorder
* The font for displaying the title text. If this value is
* <code>null</code>, the font will be retrieved from the {@link
* javax.swing.UIManager}&#x2019;s defaults table using the key
- * <code>&quot;TitledBorder.font&quot;</code>.
+ * <code>TitledBorder.font</code>.
*/
protected Font titleFont;
@@ -288,7 +288,7 @@ public class TitledBorder
* The color for displaying the title text. If this value is
* <code>null</code>, the color will be retrieved from the {@link
* javax.swing.UIManager}&#x2019;s defaults table using the key
- * <code>&quot;TitledBorder.titleColor&quot;</code>.
+ * <code>TitledBorder.titleColor</code>.
*/
protected Color titleColor;
@@ -717,11 +717,11 @@ public class TitledBorder
* Retrieves the border underneath the title. If no border has been
* set, or if it has been set to<code>null</code>, the current
* {@link javax.swing.LookAndFeel} will be asked for a border
- * using the key <code>&quot;TitledBorder.border&quot;</code>.
+ * using the key <code>TitledBorder.border</code>.
*
* @return a border, or <code>null</code> if the current LookAndFeel
* does not provide a border for the key
- * <code>&quot;TitledBorder.border&quot;</code>.
+ * <code>TitledBorder.border</code>.
*
* @see javax.swing.UIManager#getBorder(Object)
*/
@@ -766,11 +766,11 @@ public class TitledBorder
* Retrieves the font for displaying the title text. If no font has
* been set, or if it has been set to<code>null</code>, the current
* {@link javax.swing.LookAndFeel} will be asked for a font
- * using the key <code>&quot;TitledBorder.font&quot;</code>.
+ * using the key <code>TitledBorder.font</code>.
*
* @return a font, or <code>null</code> if the current LookAndFeel
* does not provide a font for the key
- * <code>&quot;TitledBorder.font&quot;</code>.
+ * <code>TitledBorder.font</code>.
*
* @see javax.swing.UIManager#getFont(Object)
*/
@@ -787,11 +787,11 @@ public class TitledBorder
* Retrieves the color for displaying the title text. If no color has
* been set, or if it has been set to<code>null</code>, the current
* {@link javax.swing.LookAndFeel} will be asked for a color
- * using the key <code>&quot;TitledBorder.titleColor&quot;</code>.
+ * using the key <code>TitledBorder.titleColor</code>.
*
* @return a color, or <code>null</code> if the current LookAndFeel
* does not provide a color for the key
- * <code>&quot;TitledBorder.titleColor&quot;</code>.
+ * <code>TitledBorder.titleColor</code>.
*
* @see javax.swing.UIManager#getColor(Object)
*/
@@ -1088,7 +1088,7 @@ public class TitledBorder
/**
- * The border that constitues the &quot;interior&quot; border
+ * The border that constitues the interior border
* underneath the title text.
*/
Border border;
diff --git a/javax/swing/plaf/basic/BasicLabelUI.java b/javax/swing/plaf/basic/BasicLabelUI.java
index 782c2f0e5..46d012ddd 100644
--- a/javax/swing/plaf/basic/BasicLabelUI.java
+++ b/javax/swing/plaf/basic/BasicLabelUI.java
@@ -59,7 +59,7 @@ import javax.swing.plaf.LabelUI;
/**
* This is the Basic Look and Feel class for the JLabel. One BasicLabelUI
- * object is used to paint all JLabels that utilize the Basic L&F.
+ * object is used to paint all JLabels that utilize the Basic Look and Feel.
*/
public class BasicLabelUI extends LabelUI implements PropertyChangeListener
{
@@ -81,7 +81,7 @@ public class BasicLabelUI extends LabelUI implements PropertyChangeListener
*
* @param c The {@link JComponent} that a UI is being created for.
*
- * @return A label UI for the Basic L&F.
+ * @return A label UI for the Basic Look and Feel.
*/
public static ComponentUI createUI(JComponent c)
{
diff --git a/javax/swing/plaf/basic/BasicLookAndFeel.java b/javax/swing/plaf/basic/BasicLookAndFeel.java
index 0da43dd9a..314ab5f66 100644
--- a/javax/swing/plaf/basic/BasicLookAndFeel.java
+++ b/javax/swing/plaf/basic/BasicLookAndFeel.java
@@ -1,5 +1,5 @@
/* BasicLookAndFeel.java --
- Copyright (C) 2002 Free Software Foundation, Inc.
+ Copyright (C) 2002, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -228,7 +228,7 @@ public abstract class BasicLookAndFeel extends LookAndFeel
{
Object[] uiDefaults;
- // The JDK's default L&F happens to use these three purple shades
+ // The default Look and Feel happens to use these three purple shades
// extensively.
Color lightPurple = new Color(0xCC, 0xCC, 0xFF);
Color midPurple = new Color(0x99, 0x99, 0xCC);
diff --git a/javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java b/javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java
index a1adf0173..caa5f8ddd 100644
--- a/javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java
+++ b/javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java
@@ -53,7 +53,7 @@ import javax.swing.plaf.SeparatorUI;
/**
- * The Basic L&F UI delegate for JPopupMenu.Separator.
+ * The Basic Look and Feel UI delegate for JPopupMenu.Separator.
*/
public class BasicPopupMenuSeparatorUI extends BasicSeparatorUI
{
diff --git a/javax/swing/plaf/basic/BasicProgressBarUI.java b/javax/swing/plaf/basic/BasicProgressBarUI.java
index d17191717..fa84267ef 100644
--- a/javax/swing/plaf/basic/BasicProgressBarUI.java
+++ b/javax/swing/plaf/basic/BasicProgressBarUI.java
@@ -139,7 +139,7 @@ public class BasicProgressBarUI extends ProgressBarUI
// The total number of frames must be an even number.
// The total number of frames is calculated from
// the cycleTime and repaintInterval given by
- // the basic L&F's defaults.
+ // the basic Look and Feel defaults.
//
// +-----------------------------------------------+
// | frame0 | frame1 | frame2 | frame 3 | frame 4 |
diff --git a/javax/swing/plaf/basic/BasicScrollBarUI.java b/javax/swing/plaf/basic/BasicScrollBarUI.java
index b16f2a733..478ecc08d 100644
--- a/javax/swing/plaf/basic/BasicScrollBarUI.java
+++ b/javax/swing/plaf/basic/BasicScrollBarUI.java
@@ -571,7 +571,7 @@ public class BasicScrollBarUI extends ScrollBarUI implements LayoutManager,
/**
* This method configures the scrollbar's colors. This can be
- * done by looking up the standard colors from the L&F defaults.
+ * done by looking up the standard colors from the Look and Feel defaults.
*/
protected void configureScrollBarColors()
{
@@ -891,7 +891,7 @@ public class BasicScrollBarUI extends ScrollBarUI implements LayoutManager,
/**
* This method installs the defaults for the scrollbar specified
- * by the Basic L&F.
+ * by the Basic Look and Feel.
*/
protected void installDefaults()
{
@@ -1257,7 +1257,7 @@ public class BasicScrollBarUI extends ScrollBarUI implements LayoutManager,
/**
* This method uninstalls any defaults that this
- * scrollbar acquired from the Basic L&F defaults.
+ * scrollbar acquired from the Basic Look and Feel defaults.
*/
protected void uninstallDefaults()
{
diff --git a/javax/swing/plaf/basic/BasicSeparatorUI.java b/javax/swing/plaf/basic/BasicSeparatorUI.java
index 8f4500fd5..9149cb85d 100644
--- a/javax/swing/plaf/basic/BasicSeparatorUI.java
+++ b/javax/swing/plaf/basic/BasicSeparatorUI.java
@@ -51,7 +51,7 @@ import javax.swing.JSeparator;
import javax.swing.SwingUtilities;
/**
- * The Basic L&F UI delegate for JSeparator.
+ * The Basic Look and Feel UI delegate for JSeparator.
*/
public class BasicSeparatorUI extends SeparatorUI
{
@@ -113,7 +113,7 @@ public class BasicSeparatorUI extends SeparatorUI
/**
* This method installs the defaults that are given by
- * the Basic L&F.
+ * the Basic Look and Feel.
*
* @param s The JSeparator that is being installed.
*/
@@ -128,7 +128,7 @@ public class BasicSeparatorUI extends SeparatorUI
/**
* This method removes the defaults that were given
- * by the Basic L&F.
+ * by the Basic Look and Feel.
*
* @param s The JSeparator that is being uninstalled.
*/
diff --git a/javax/swing/text/JTextComponent.java b/javax/swing/text/JTextComponent.java
index 6451ef5c3..d5227d03e 100644
--- a/javax/swing/text/JTextComponent.java
+++ b/javax/swing/text/JTextComponent.java
@@ -371,7 +371,7 @@ public abstract class JTextComponent extends JComponent
}
/**
- * Returns a string that specifies the name of the l&amp;f class
+ * Returns a string that specifies the name of the Look and Feel class
* that renders this component.
*
* @return the string "TextComponentUI"