public class JRadioButtonTest { public JRadioButtonTest() { JFrame f = new JFrame("Program window");//Create a JFrame window f.setVisible(true);//This sentence must be present, otherwise the window cannot be displayed } public static void main(String[] args) { new JRadioButtonTest(); } }
Build the most basic program window
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=326310766&siteId=291194637
Recommended
Ranking