import javax.swing.*; import java.awt.*; import java.awt.event.*; public class ValikuRedaktor implements ComboBoxEditor{ JScrollBar sb=new JScrollBar(JScrollBar.HORIZONTAL); public void addActionListener(ActionListener kuular){} public Component getEditorComponent(){ return sb; } public Object getItem(){ return sb.getValue(); } public void removeActionListener(ActionListener kuular){} public void selectAll(){} public void setItem(Object obj){ sb.setValue((Integer)obj); } }