Skip to content

Instantly share code, notes, and snippets.

@uncoded-ro
Last active June 14, 2022 07:31
Show Gist options
  • Save uncoded-ro/ff6b8f3d8de82998f650e8c15d362162 to your computer and use it in GitHub Desktop.
Save uncoded-ro/ff6b8f3d8de82998f650e8c15d362162 to your computer and use it in GitHub Desktop.
package ro.virtualcampus.gui;
import javax.swing.JFrame;
public class ComboBoxApp extends JFrame {
private static final long serialVersionUID = 1L;
public ComboBoxApp() {
super("ComboBox");
}
public static void main(String args[]) {
ComboBoxApp app = new ComboBoxApp();
ComboBoxPanel cbp = new ComboBoxPanel();
app.add(cbp);
app.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
app.pack();
app.setVisible(true);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment