jdk/src/java.desktop/share/classes/javax/swing/plaf/synth/SynthInternalFrameUI.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2002, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2002, 2015, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
54 */ |
54 */ |
55 public static ComponentUI createUI(JComponent b) { |
55 public static ComponentUI createUI(JComponent b) { |
56 return new SynthInternalFrameUI((JInternalFrame)b); |
56 return new SynthInternalFrameUI((JInternalFrame)b); |
57 } |
57 } |
58 |
58 |
|
59 /** |
|
60 * Constructs a {@code SynthInternalFrameUI}. |
|
61 * @param b an internal frame |
|
62 */ |
59 protected SynthInternalFrameUI(JInternalFrame b) { |
63 protected SynthInternalFrameUI(JInternalFrame b) { |
60 super(b); |
64 super(b); |
61 } |
65 } |
62 |
66 |
63 /** |
67 /** |