--- old/src/share/classes/javax/swing/plaf/metal/MetalTitlePane.java 2014-02-12 23:37:40.000000000 -0800
+++ new/src/share/classes/javax/swing/plaf/metal/MetalTitlePane.java 2014-02-12 23:37:40.000000000 -0800
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2006, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -49,6 +49,7 @@
* @author Terry Kellerman
* @since 1.4
*/
+@SuppressWarnings("serial") // Superclass is not serializable across versions
class MetalTitlePane extends JComponent {
private static final Border handyEmptyBorder = new EmptyBorder(0,0,0,0);
private static final int IMAGE_HEIGHT = 16;
@@ -781,6 +782,7 @@
/**
* Actions used to close
the Window
.
*/
+ @SuppressWarnings("serial") // Superclass is not serializable across versions
private class CloseAction extends AbstractAction {
public CloseAction() {
super(UIManager.getString("MetalTitlePane.closeTitle",
@@ -796,6 +798,7 @@
/**
* Actions used to iconfiy
the Frame
.
*/
+ @SuppressWarnings("serial") // Superclass is not serializable across versions
private class IconifyAction extends AbstractAction {
public IconifyAction() {
super(UIManager.getString("MetalTitlePane.iconifyTitle",
@@ -811,6 +814,7 @@
/**
* Actions used to restore
the Frame
.
*/
+ @SuppressWarnings("serial") // Superclass is not serializable across versions
private class RestoreAction extends AbstractAction {
public RestoreAction() {
super(UIManager.getString
@@ -826,6 +830,7 @@
/**
* Actions used to restore
the Frame
.
*/
+ @SuppressWarnings("serial") // Superclass is not serializable across versions
private class MaximizeAction extends AbstractAction {
public MaximizeAction() {
super(UIManager.getString("MetalTitlePane.maximizeTitle",
@@ -843,6 +848,7 @@
* image to draw from the Frame associated with the
* JRootPane
.
*/
+ @SuppressWarnings("serial") // Superclass is not serializable across versions
private class SystemMenuBar extends JMenuBar {
public void paint(Graphics g) {
if (isOpaque()) {