/*
* @(#)KunststoffComboBoxUIExt.java
*
* Copyright (c) 2003-2004 Stand By Soft, Ltd. All rights reserved.
*
* This software is the proprietary information of Stand By Soft, Ltd.
* Use is subject to license terms.
*/
package com.standbysoft.demo.date.plaf;
import javax.swing.plaf.basic.ComboPopup;
import com.incors.plaf.kunststoff.KunststoffComboBoxUI;
import com.standbysoft.component.util.swing.ComboBoxUIExt;
/**
* A <code>KunststoffComboBoxUI</code> object for which one an change the <code>ComboPopup</code>.
* Extends the <code>ComboBoxUI</code> for the Kunststoff look and feel to make it possible to
* change the popup for a combo box.
*/
public class KunststoffComboBoxUIExt extends KunststoffComboBoxUI implements ComboBoxUIExt {
private ComboPopup popup;
protected ComboPopup createPopup() {
if (popup == null) {
return super.createPopup();
} else {
return popup;
}
}
public void setComboPopup(ComboPopup popup) {
this.popup = popup;
}
}
|