< prev index next >
src/java.desktop/share/classes/javax/swing/plaf/basic/BasicInternalFrameUI.java
Print this page
*** 416,428 ****
}
/**
! * Installs necessary mouse handlers on <code>newPane</code>
* and adds it to the frame.
! * Reverse process for the <code>currentPane</code>.
*
* @param currentPane this {@code Jcomponent} is the current pane being
* viewed that has mouse handlers installed
* @param newPane this {@code Jcomponent} is the pane which will be added
* and have mouse handlers installed
--- 416,428 ----
}
/**
! * Installs necessary mouse handlers on {@code newPane}
* and adds it to the frame.
! * Reverse process for the {@code currentPane}.
*
* @param currentPane this {@code Jcomponent} is the current pane being
* viewed that has mouse handlers installed
* @param newPane this {@code Jcomponent} is the pane which will be added
* and have mouse handlers installed
*** 723,733 ****
return new DefaultDesktopManager();
}
/**
* This method is called when the user wants to close the frame.
! * The <code>playCloseSound</code> Action is fired.
* This action is delegated to the desktopManager.
*
* @param f the {@code JInternalFrame} being viewed
*/
protected void closeFrame(JInternalFrame f) {
--- 723,733 ----
return new DefaultDesktopManager();
}
/**
* This method is called when the user wants to close the frame.
! * The {@code playCloseSound} Action is fired.
* This action is delegated to the desktopManager.
*
* @param f the {@code JInternalFrame} being viewed
*/
protected void closeFrame(JInternalFrame f) {
*** 737,747 ****
getDesktopManager().closeFrame(f);
}
/**
* This method is called when the user wants to maximize the frame.
! * The <code>playMaximizeSound</code> Action is fired.
* This action is delegated to the desktopManager.
*
* @param f the {@code JInternalFrame} being viewed
*/
protected void maximizeFrame(JInternalFrame f) {
--- 737,747 ----
getDesktopManager().closeFrame(f);
}
/**
* This method is called when the user wants to maximize the frame.
! * The {@code playMaximizeSound} Action is fired.
* This action is delegated to the desktopManager.
*
* @param f the {@code JInternalFrame} being viewed
*/
protected void maximizeFrame(JInternalFrame f) {
*** 751,761 ****
getDesktopManager().maximizeFrame(f);
}
/**
* This method is called when the user wants to minimize the frame.
! * The <code>playRestoreDownSound</code> Action is fired.
* This action is delegated to the desktopManager.
*
* @param f the {@code JInternalFrame} being viewed
*/
protected void minimizeFrame(JInternalFrame f) {
--- 751,761 ----
getDesktopManager().maximizeFrame(f);
}
/**
* This method is called when the user wants to minimize the frame.
! * The {@code playRestoreDownSound} Action is fired.
* This action is delegated to the desktopManager.
*
* @param f the {@code JInternalFrame} being viewed
*/
protected void minimizeFrame(JInternalFrame f) {
*** 769,779 ****
getDesktopManager().minimizeFrame(f);
}
/**
* This method is called when the user wants to iconify the frame.
! * The <code>playMinimizeSound</code> Action is fired.
* This action is delegated to the desktopManager.
*
* @param f the {@code JInternalFrame} being viewed
*/
protected void iconifyFrame(JInternalFrame f) {
--- 769,779 ----
getDesktopManager().minimizeFrame(f);
}
/**
* This method is called when the user wants to iconify the frame.
! * The {@code playMinimizeSound} Action is fired.
* This action is delegated to the desktopManager.
*
* @param f the {@code JInternalFrame} being viewed
*/
protected void iconifyFrame(JInternalFrame f) {
*** 783,793 ****
getDesktopManager().iconifyFrame(f);
}
/**
* This method is called when the user wants to deiconify the frame.
! * The <code>playRestoreUpSound</code> Action is fired.
* This action is delegated to the desktopManager.
*
* @param f the {@code JInternalFrame} being viewed
*/
protected void deiconifyFrame(JInternalFrame f) {
--- 783,793 ----
getDesktopManager().iconifyFrame(f);
}
/**
* This method is called when the user wants to deiconify the frame.
! * The {@code playRestoreUpSound} Action is fired.
* This action is delegated to the desktopManager.
*
* @param f the {@code JInternalFrame} being viewed
*/
protected void deiconifyFrame(JInternalFrame f) {
< prev index next >