< prev index next >
src/java.desktop/share/classes/javax/swing/plaf/basic/BasicRootPaneUI.java
Print this page
@@ -177,11 +177,11 @@
}
/**
* Invoked when the default button property has changed. This reloads
* the bindings from the defaults table with name
- * <code>RootPane.defaultButtonWindowKeyBindings</code>.
+ * {@code RootPane.defaultButtonWindowKeyBindings}.
*/
void updateDefaultButtonBindings(JRootPane root) {
InputMap km = SwingUtilities.getUIInputMap(root, JComponent.
WHEN_IN_FOCUSED_WINDOW);
while (km != null && !(km instanceof RootPaneInputMap)) {
@@ -199,11 +199,11 @@
}
}
/**
* Invoked when a property changes on the root pane. If the event
- * indicates the <code>defaultButton</code> has changed, this will
+ * indicates the {@code defaultButton} has changed, this will
* reinstall the keyboard actions.
*/
public void propertyChange(PropertyChangeEvent e) {
if(e.getPropertyName().equals("defaultButton")) {
JRootPane rootpane = (JRootPane)e.getSource();
< prev index next >