68 |
p.setBackground(defaults.getColor("Panel.background")); |
p.setBackground(defaults.getColor("Panel.background")); |
69 |
p.setOpaque(true); |
p.setOpaque(true); |
70 |
} |
} |
71 |
|
|
72 |
|
/** |
73 |
|
* Uninstalls this UI from the JPanel. |
74 |
|
* |
75 |
|
* @param c the JPanel from which to uninstall this UI |
76 |
|
*/ |
77 |
|
public void uninstallUI(JComponent c) |
78 |
|
{ |
79 |
|
uninstallDefaults((JPanel) c); |
80 |
|
} |
81 |
|
|
82 |
|
/** |
83 |
|
* Uninstalls the UI defaults that have been install through |
84 |
|
* {@link #installDefaults}. |
85 |
|
* |
86 |
|
* @param p the panel from which to uninstall the UI defaults |
87 |
|
*/ |
88 |
|
protected void uninstallDefaults(JPanel p) |
89 |
|
{ |
90 |
|
// Nothing to do here. |
91 |
|
} |
92 |
} |
} |