aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/awt
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java/awt')
-rw-r--r--libjava/java/awt/AWTPermission.java2
-rw-r--r--libjava/java/awt/Component.java3
-rw-r--r--libjava/java/awt/ComponentOrientation.java8
-rw-r--r--libjava/java/awt/Dialog.java12
-rw-r--r--libjava/java/awt/FontMetrics.java12
-rw-r--r--libjava/java/awt/Graphics.java2
-rw-r--r--libjava/java/awt/datatransfer/DataFlavor.java10
7 files changed, 26 insertions, 23 deletions
diff --git a/libjava/java/awt/AWTPermission.java b/libjava/java/awt/AWTPermission.java
index 993c60d..b5ba63d 100644
--- a/libjava/java/awt/AWTPermission.java
+++ b/libjava/java/awt/AWTPermission.java
@@ -79,7 +79,7 @@ import java.security.BasicPermission;
* <tr>
* <td><code>fullScreenExclusive</code></td>
* <td>enter full-screen exclusive mode</td>
- * <td>malicious code could masquerade as a trusted program</td><tr>
+ * <td>malicious code could masquerade as a trusted program</td></tr>
* </table>
*
* @author Tom Tromey <tromey@redhat.com>
diff --git a/libjava/java/awt/Component.java b/libjava/java/awt/Component.java
index bfd4e08..d52818a 100644
--- a/libjava/java/awt/Component.java
+++ b/libjava/java/awt/Component.java
@@ -105,7 +105,7 @@ import javax.accessibility.AccessibleStateSet;
* in inner classes, rather than using this object itself as the listener, if
* external objects do not need to save the state of this object.
*
- * <p><pre>
+ * <pre>
* import java.awt.*;
* import java.awt.event.*;
* import java.io.Serializable;
@@ -127,6 +127,7 @@ import javax.accessibility.AccessibleStateSet;
* aButton.addActionListener(new MyActionListener());
* }
* }
+ * </pre>
*
* <p>Status: Incomplete. The event dispatch mechanism is implemented. All
* other methods defined in the J2SE 1.3 API javadoc exist, but are mostly
diff --git a/libjava/java/awt/ComponentOrientation.java b/libjava/java/awt/ComponentOrientation.java
index 8d3a40c..02cf596 100644
--- a/libjava/java/awt/ComponentOrientation.java
+++ b/libjava/java/awt/ComponentOrientation.java
@@ -171,13 +171,15 @@ public final class ComponentOrientation implements Serializable
}
/**
- * Gets an orientation from a resource bundle. This tries the following:<ol>
+ * Gets an orientation from a resource bundle. This tries the following:
+ *
+ * <ul>
* <li>Use the key "Orientation" to find an instance of ComponentOrientation
* in the bundle.</li>
* <li>Get the locale of the resource bundle, and get the orientation of
* that locale.</li>
- * <li>Give up and get the orientation of the default locale.<li>
- * <ol>
+ * <li>Give up and get the orientation of the default locale.</li>
+ * </ul>
*
* @param bdl the bundle to use
* @return the orientation
diff --git a/libjava/java/awt/Dialog.java b/libjava/java/awt/Dialog.java
index 5516ff9..6bfb80c8 100644
--- a/libjava/java/awt/Dialog.java
+++ b/libjava/java/awt/Dialog.java
@@ -123,8 +123,8 @@ Dialog(Frame parent)
* parent and modality, that is resizable and which has no title.
*
* @param parent The parent frame of this dialog box.
- * @param modal <true> if this dialog box is modal, <code>false</code>
- * otherwise.
+ * @param modal <code>true</code> if this dialog box is modal,
+ * <code>false</code> otherwise.
*
* @exception IllegalArgumentException If the owner's GraphicsConfiguration
* is not from a screen device, or if owner is null. This exception is always
@@ -164,8 +164,8 @@ Dialog(Frame parent, String title)
*
* @param parent The parent frame of this dialog box.
* @param title The title string for this dialog box.
- * @param modal <true> if this dialog box is modal, <code>false</code>
- * otherwise.
+ * @param modal <code>true</code> if this dialog box is modal,
+ * <code>false</code> otherwise.
*
* @exception IllegalArgumentException If owner is null or
* GraphicsEnvironment.isHeadless() returns true.
@@ -183,8 +183,8 @@ Dialog(Frame parent, String title, boolean modal)
*
* @param parent The parent frame of this dialog box.
* @param title The title string for this dialog box.
- * @param modal <true> if this dialog box is modal, <code>false</code>
- * otherwise.
+ * @param modal <code>true</code> if this dialog box is modal,
+ * <code>false</code> otherwise.
* @param gc The <code>GraphicsConfiguration</code> object to use.
*
* @exception IllegalArgumentException If owner is null, the
diff --git a/libjava/java/awt/FontMetrics.java b/libjava/java/awt/FontMetrics.java
index a7f76e0..6a1a1c0 100644
--- a/libjava/java/awt/FontMetrics.java
+++ b/libjava/java/awt/FontMetrics.java
@@ -47,12 +47,12 @@ package java.awt;
* least the following methods:
* <p>
* <ul>
- * <li>getAscent
- * <li>getDescent
- * <li>getLeading()
- * <li>getMaxAdvance()
- * <li>charWidth(char)
- * <li>charsWidth(char[], int, int)
+ * <li>getAscent()</li>
+ * <li>getDescent()</li>
+ * <li>getLeading()</li>
+ * <li>getMaxAdvance()</li>
+ * <li>charWidth(char)</li>
+ * <li>charsWidth(char[], int, int)</li>
* </ul>
*
* @author Aaron M. Renn (arenn@urbanophile.com)
diff --git a/libjava/java/awt/Graphics.java b/libjava/java/awt/Graphics.java
index 0d551b2..d2207ea 100644
--- a/libjava/java/awt/Graphics.java
+++ b/libjava/java/awt/Graphics.java
@@ -1,5 +1,5 @@
/* Graphics.java -- Abstract Java drawing class
- Copyright (C) 1999, 2000, 2002 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2000, 2002, 2004 Free Software Foundation, Inc.
This file is part of GNU Classpath.
diff --git a/libjava/java/awt/datatransfer/DataFlavor.java b/libjava/java/awt/datatransfer/DataFlavor.java
index d911bab..3ec2191 100644
--- a/libjava/java/awt/datatransfer/DataFlavor.java
+++ b/libjava/java/awt/datatransfer/DataFlavor.java
@@ -270,7 +270,7 @@ DataFlavor(Class representationClass, String humanPresentableName)
/**
* Initializes a new instance of <code>DataFlavor</code> with the
* specified MIME type and description. If the MIME type has a
- * "class=<rep class>" parameter then the representation class will
+ * "class=&lt;rep class&gt;" parameter then the representation class will
* be the class name specified. Otherwise the class defaults to
* <code>java.io.InputStream</code>. If the human readable name
* is not specified (<code>null</code>) then the human readable name
@@ -319,7 +319,7 @@ getRepresentationClassFromMime(String mimeString, ClassLoader classLoader)
/**
* Initializes a new instance of <code>DataFlavor</code> with the
* specified MIME type and description. If the MIME type has a
- * "class=<rep class>" parameter then the representation class will
+ * "class=&lt;rep class&gt;" parameter then the representation class will
* be the class name specified. Otherwise the class defaults to
* <code>java.io.InputStream</code>. If the human readable name
* is not specified (<code>null</code>) then the human readable name
@@ -709,10 +709,10 @@ equals(DataFlavor flavor)
* are met:
* <p>
* <ul>
- * <li>The object is not <code>null</code>.
- * <li>The object is an instance of <code>DataFlavor</code>.
+ * <li>The object is not <code>null</code>.</li>
+ * <li>The object is an instance of <code>DataFlavor</code>.</li>
* <li>The object's MIME type and representation class are equal to
- * this object's.
+ * this object's.</li>
* </ul>
*
* @param obj The <code>Object</code> to test against.