/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/**
* Metal implementation of JInternalFrame.
* <p>
*
* @author Steve Wilson
*/
new MetalPropertyChangeHandler();
super(b);
}
return new MetalInternalFrameUI( (JInternalFrame) c);
}
super.installUI(c);
if ( paletteProp != null ) {
}
//c.setOpaque(false);
}
frame = (JInternalFrame)c;
if (cont instanceof JComponent) {
}
}
super.uninstallUI(c);
}
protected void installListeners() {
super.installListeners();
}
protected void uninstallListeners() {
super.uninstallListeners();
}
protected void installKeyboardActions(){
super.installKeyboardActions();
// BasicInternalFrameUI creates an action with the same name, we override
// it as Metal frames do not have system menus.
}
}
protected void uninstallKeyboardActions(){
super.uninstallKeyboardActions();
}
protected void uninstallComponents() {
super.uninstallComponents();
}
if ( c instanceof JComponent ) {
}
}
}
return new MetalInternalFrameTitlePane(w);
}
{
{
}
{
}
else
{
}
}
// this should be deprecated - jcs
if (isPalette) {
} else {
}
}
private static class MetalPropertyChangeHandler implements
{
{
return;
}
{
if ( e.getNewValue() instanceof String )
{
}
}
{
if ( e.getNewValue() != null )
{
}
else
{
ui.setPalette( false );
}
}
}
} // end class MetalPropertyChangeHandler
{
if ( !leftToRight ) {
}
}
return rect;
}
}
else {
super.mouseClicked(e);
}
}
else {
super.mouseClicked(e);
}
}
}; /// End BorderListener Class
/**
* Returns the <code>MouseInputAdapter</code> that will be installed
* on the TitlePane.
*
* @param w the <code>JInternalFrame</code>
* @return the <code>MouseInputAdapter</code> that will be installed
* on the TitlePane.
* @since 1.6
*/
return new BorderListener1();
}
}