Skip to content

Instantly share code, notes, and snippets.

View Chris2011's full-sized avatar

Chrizzly Chris2011

View GitHub Profile
@Chris2011
Chris2011 / ComboListener.java
Created January 18, 2023 17:27 — forked from resarahadian/ComboListener.java
ComboBox AutoComplete Java Swing
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
import java.util.Vector;
import javax.swing.DefaultComboBoxModel;
import javax.swing.JComboBox;
import javax.swing.JTextField;
public class ComboListener extends KeyAdapter
{
@SuppressWarnings("rawtypes")