< prev index next >
src/java.desktop/share/classes/com/sun/java/swing/plaf/motif/MotifOptionPaneUI.java
Print this page
*** 57,67 ****
return new MotifOptionPaneUI();
}
/**
* Creates and returns a Container containin the buttons. The buttons
! * are created by calling <code>getButtons</code>.
*/
protected Container createButtonArea() {
Container b = super.createButtonArea();
if(b != null && b.getLayout() instanceof ButtonAreaLayout) {
--- 57,67 ----
return new MotifOptionPaneUI();
}
/**
* Creates and returns a Container containin the buttons. The buttons
! * are created by calling {@code getButtons}.
*/
protected Container createButtonArea() {
Container b = super.createButtonArea();
if(b != null && b.getLayout() instanceof ButtonAreaLayout) {
*** 95,106 ****
};
}
/**
* Creates and adds a JLabel representing the icon returned from
! * <code>getIcon</code> to <code>top</code>. This is messaged from
! * <code>createMessageArea</code>
*/
protected void addIcon(Container top) {
/* Create the icon. */
Icon sideIcon = getIcon();
--- 95,106 ----
};
}
/**
* Creates and adds a JLabel representing the icon returned from
! * {@code getIcon} to {@code top}. This is messaged from
! * {@code createMessageArea}
*/
protected void addIcon(Container top) {
/* Create the icon. */
Icon sideIcon = getIcon();
< prev index next >