Skip to content

Instantly share code, notes, and snippets.

@uncoded-ro
Last active June 14, 2022 07:27
Show Gist options
  • Save uncoded-ro/6b96769555021d4c704d3e95f29d2d89 to your computer and use it in GitHub Desktop.
Save uncoded-ro/6b96769555021d4c704d3e95f29d2d89 to your computer and use it in GitHub Desktop.
package ro.virtualcampus.gui;
import javax.swing.JFrame;
public class RadioButtonApp extends JFrame {
private static final long serialVersionUID = 1L;
public RadioButtonApp() {
super("RadioButton");
}
public static void main(String args[]) {
RadioButtonApp app = new RadioButtonApp();
RadioButtonPanel rbp = new RadioButtonPanel();
app.add(rbp);
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