20 lines
390 B
Java
20 lines
390 B
Java
|
import javax.swing.*;
|
||
|
import java.awt.*;
|
||
|
import java.awt.event.*;
|
||
|
|
||
|
public class Barre{
|
||
|
public static void main(String[] args) {
|
||
|
|
||
|
Rond test = new Rond(10);
|
||
|
|
||
|
|
||
|
JFrame fenetre = new JFrame();
|
||
|
fenetre.setSize(800, 800);
|
||
|
fenetre.setLocation(100, 100);
|
||
|
fenetre.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
||
|
fenetre.add(test);
|
||
|
addMouseWheelMoved();
|
||
|
fenetre.setVisible(true);
|
||
|
}
|
||
|
}
|