src/share/classes/com/sun/java/swing/plaf/gtk/GTKPainter.java
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2002, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
@@ -1412,10 +1412,11 @@
g.fillRect(x, y, w, h);
}
}
// Refer to GTKLookAndFeel for details on this.
+ @SuppressWarnings("serial") // Superclass is not serializable across versions
static class ListTableFocusBorder extends AbstractBorder implements
UIResource {
private boolean selectedCell;
private boolean focusedCell;
@@ -1480,10 +1481,11 @@
return true;
}
}
// TitledBorder implementation for GTK L&F
+ @SuppressWarnings("serial") // Superclass is not serializable across versions
static class TitledBorder extends AbstractBorder implements UIResource {
public void paintBorder(Component c, Graphics g, int x, int y,
int w, int h) {
SynthContext context = getContext((JComponent)c);