update
This commit is contained in:
17
DEV.2.1/TP/TP8-Evenements/3.Radio/MainRadio.java
Normal file
17
DEV.2.1/TP/TP8-Evenements/3.Radio/MainRadio.java
Normal file
@@ -0,0 +1,17 @@
|
||||
import javax.swing.*;
|
||||
import java.awt.*;
|
||||
|
||||
public class MainRadio {
|
||||
public static void main(String[] args) {
|
||||
JFrame frame = new JFrame("Radio");
|
||||
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
||||
|
||||
|
||||
Radio panel = new Radio();
|
||||
|
||||
frame.add(panel);
|
||||
frame.setSize(500,500);
|
||||
frame.setLocation(500,250);
|
||||
frame.setVisible(true);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user