2023-01-16 18:50:52 +01:00
|
|
|
import javax.swing.JFrame;
|
|
|
|
|
|
|
|
/**
|
2023-01-17 19:14:09 +01:00
|
|
|
* Classe che visualizza una nuvola tramite un JFrame e CloudComponent
|
|
|
|
* @author radaelli11353
|
|
|
|
*/
|
2023-01-16 18:50:52 +01:00
|
|
|
public class CloudViewer {
|
|
|
|
public static void main(String[] args) {
|
|
|
|
JFrame frame = new JFrame();
|
|
|
|
|
|
|
|
frame.setSize(500, 500);
|
|
|
|
frame.setTitle("Visualizzatore nuvola");
|
|
|
|
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
|
|
|
|
|
|
|
CloudComponent component = new CloudComponent();
|
|
|
|
frame.add(component);
|
|
|
|
|
|
|
|
frame.setVisible(true);
|
|
|
|
}
|
|
|
|
}
|