< prev index next >
src/java.desktop/share/classes/javax/swing/plaf/metal/MetalInternalFrameTitlePane.java
Print this page
*** 63,88 ****
private static final Border handyEmptyBorder = new EmptyBorder(0,0,0,0);
/**
* Key used to lookup Color from UIManager. If this is null,
! * <code>getWindowTitleBackground</code> is used.
*/
private String selectedBackgroundKey;
/**
* Key used to lookup Color from UIManager. If this is null,
! * <code>getWindowTitleForeground</code> is used.
*/
private String selectedForegroundKey;
/**
* Key used to lookup shadow color from UIManager. If this is null,
! * <code>getPrimaryControlDarkShadow</code> is used.
*/
private String selectedShadowKey;
/**
! * Boolean indicating the state of the <code>JInternalFrame</code>s
! * closable property at <code>updateUI</code> time.
*/
private boolean wasClosable;
int buttonsWidth = 0;
--- 63,88 ----
private static final Border handyEmptyBorder = new EmptyBorder(0,0,0,0);
/**
* Key used to lookup Color from UIManager. If this is null,
! * {@code getWindowTitleBackground} is used.
*/
private String selectedBackgroundKey;
/**
* Key used to lookup Color from UIManager. If this is null,
! * {@code getWindowTitleForeground} is used.
*/
private String selectedForegroundKey;
/**
* Key used to lookup shadow color from UIManager. If this is null,
! * {@code getPrimaryControlDarkShadow} is used.
*/
private String selectedShadowKey;
/**
! * Boolean indicating the state of the {@code JInternalFrame}s
! * closable property at {@code updateUI} time.
*/
private boolean wasClosable;
int buttonsWidth = 0;
*** 517,527 ****
repaint();
}
/**
* Updates any state dependant upon the JInternalFrame being shown in
! * a <code>JOptionPane</code>.
*/
private void updateOptionPaneState() {
int type = -2;
boolean closable = wasClosable;
Object obj = frame.getClientProperty("JInternalFrame.messageType");
--- 517,527 ----
repaint();
}
/**
* Updates any state dependant upon the JInternalFrame being shown in
! * a {@code JOptionPane}.
*/
private void updateOptionPaneState() {
int type = -2;
boolean closable = wasClosable;
Object obj = frame.getClientProperty("JInternalFrame.messageType");
< prev index next >