< prev index next >
src/java.desktop/share/classes/javax/swing/plaf/basic/BasicToolBarUI.java
Print this page
@@ -689,11 +689,11 @@
}
/**
* Installs rollover borders on all the child components of the JComponent.
* <p>
- * This is a convenience method to call <code>setBorderToRollover</code>
+ * This is a convenience method to call {@code setBorderToRollover}
* for each child component.
*
* @param c container which holds the child components (usually a JToolBar)
* @see #setBorderToRollover
* @since 1.4
@@ -713,11 +713,11 @@
/**
* Installs non-rollover borders on all the child components of the JComponent.
* A non-rollover border is the border that is installed on the child component
* while it is in the toolbar.
* <p>
- * This is a convenience method to call <code>setBorderToNonRollover</code>
+ * This is a convenience method to call {@code setBorderToNonRollover}
* for each child component.
*
* @param c container which holds the child components (usually a JToolBar)
* @see #setBorderToNonRollover
* @since 1.4
@@ -737,11 +737,11 @@
/**
* Installs normal borders on all the child components of the JComponent.
* A normal border is the original border that was installed on the child
* component before it was added to the toolbar.
* <p>
- * This is a convenience method to call <code>setBorderNormal</code>
+ * This is a convenience method to call {@code setBorderNormal}
* for each child component.
*
* @param c container which holds the child components (usually a JToolBar)
* @see #setBorderToNonRollover
* @since 1.4
@@ -1233,11 +1233,11 @@
/**
* Paints the contents of the window used for dragging.
*
* @param g Graphics to paint to.
- * @throws NullPointerException is <code>g</code> is null
+ * @throws NullPointerException is {@code g} is null
* @since 1.5
*/
protected void paintDragWindow(Graphics g) {
g.setColor(dragWindow.getBackground());
int w = dragWindow.getWidth();
@@ -1576,12 +1576,12 @@
super(w);
}
/**
* Returns the orientation of the toolbar window when the toolbar is
- * floating. The orientation is either one of <code>JToolBar.HORIZONTAL</code>
- * or <code>JToolBar.VERTICAL</code>.
+ * floating. The orientation is either one of {@code JToolBar.HORIZONTAL}
+ * or {@code JToolBar.VERTICAL}.
*
* @return the orientation of the toolbar window
* @since 1.6
*/
public int getOrientation() {
< prev index next >