2
* Created on 19.12.2007
5
package org.jdesktop.swingx.test;
9
import javax.swing.JComponent;
10
import javax.swing.plaf.ColorUIResource;
11
import javax.swing.plaf.ComponentUI;
13
import org.jdesktop.swingx.plaf.basic.BasicMonthViewUI;
17
* Testing custom ui delegate for JXMonthView.
19
* @author Jeanette Winzenburg
21
public class CustomMonthViewUI extends BasicMonthViewUI {
22
@SuppressWarnings({"UnusedDeclaration"})
23
public static ComponentUI createUI(JComponent c) {
24
return new CustomMonthViewUI();
28
protected void installDefaults() {
29
super.installDefaults();
30
monthView.setSelectionBackground(new ColorUIResource(Color.MAGENTA));
b'\\ No newline at end of file'