42 |
|
|
43 |
import javax.swing.JComponent; |
import javax.swing.JComponent; |
44 |
import javax.swing.JInternalFrame; |
import javax.swing.JInternalFrame; |
45 |
|
import javax.swing.border.EmptyBorder; |
46 |
import javax.swing.plaf.ComponentUI; |
import javax.swing.plaf.ComponentUI; |
47 |
import javax.swing.plaf.basic.BasicInternalFrameUI; |
import javax.swing.plaf.basic.BasicInternalFrameUI; |
48 |
|
|
49 |
|
|
50 |
public class MetalInternalFrameUI |
public class MetalInternalFrameUI |
51 |
extends BasicInternalFrameUI |
extends BasicInternalFrameUI |
52 |
{ |
{ |
87 |
|
|
88 |
return instance; |
return instance; |
89 |
} |
} |
90 |
|
|
91 |
|
protected JComponent createNorthPane(JInternalFrame w) |
92 |
|
{ |
93 |
|
titlePane = new MetalInternalFrameTitlePane(w); |
94 |
|
titlePane.setBorder(new EmptyBorder(2, 2, 2, 2)); |
95 |
|
return titlePane; |
96 |
|
} |
97 |
|
|
98 |
|
|
99 |
} |
} |