1. Setting the panel unable to change
Java.awt.frame.setresizable (false);
2, set a set of radio Radiobutton?
? First statement:? ButtonGroup jButtonGroup = new ButtonGroup () ;? JRadioButton jRadioButton1 = new JRadioButton () ;? JRadioButton jRadioButton2 = new JRadioButton () ;? JRadioButton jRadioButton3 = new JRadioButton () ;? after bundling: ??? jButtonGroup.add (jradiobutton1); ??? jButtonGroup.Add (jradiobutton2); ??? jbuttongroup.add (jradiobutton3);
3, pop up a prompt box
JOPTIONPANE.SHOWMESSAGEDIALOG (this, "")
4. Get the total length of a list object
GetItemcount ();
5. Judging whether an Item in a list object is selected
IsIndexSelected (int index);