Skip to content

Instantly share code, notes, and snippets.

View malithjkmt's full-sized avatar
😆
Don't eat, code and sleep

Malith malithjkmt

😆
Don't eat, code and sleep
View GitHub Profile
@malithjkmt
malithjkmt / AutoComboBox.java
Last active August 29, 2015 14:27 — forked from resarahadian/ComboListener.java
ComboBox AutoComplete Java Swing
import java.util.Vector;
import javax.swing.DefaultComboBoxModel;
import javax.swing.JComboBox;
import javax.swing.JTextField;
public class AutoComboBox extends JComboBox<Object> {
// default item list
String keyWord[] = {"item1", "item2", "item3"};