01: /*
02: * @(#)OverlayableComboBox.java 8/10/2007
03: *
04: * Copyright 2002 - 2007 JIDE Software Inc. All rights reserved.
05: */
06:
07: package com.jidesoft.swing;
08:
09: import javax.swing.*;
10: import java.util.Vector;
11:
12: public class OverlayComboBox extends JComboBox {
13: public OverlayComboBox() {
14: }
15:
16: public OverlayComboBox(Vector<?> items) {
17: super (items);
18: }
19:
20: public OverlayComboBox(final Object items[]) {
21: super (items);
22: }
23:
24: public OverlayComboBox(ComboBoxModel aModel) {
25: super (aModel);
26: }
27:
28: @Override
29: public void repaint(long tm, int x, int y, int width, int height) {
30: super.repaint(tm, x, y, width, height);
31: OverlayableUtils.repaintOverlayable(this);
32: }
33:
34: }
|