mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 02:24:40 +02:00
8189201: [macosx] NotSerializableException during JFrame with MenuBar serialization
Reviewed-by: serb, prr
This commit is contained in:
parent
8275c3907b
commit
01a0105416
4 changed files with 81 additions and 4 deletions
|
@ -31,13 +31,14 @@ import java.awt.Graphics;
|
|||
import java.awt.Insets;
|
||||
|
||||
import javax.swing.border.Border;
|
||||
import javax.swing.plaf.UIResource;
|
||||
|
||||
import sun.swing.SwingUtilities2;
|
||||
|
||||
/**
|
||||
* The class represents the border of a {@code JMenuBar}.
|
||||
*/
|
||||
public class AquaMenuBarBorder implements Border {
|
||||
public class AquaMenuBarBorder implements Border, UIResource {
|
||||
|
||||
@Override
|
||||
public void paintBorder(final Component c, final Graphics g, final int x,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue