package ui.view; import java.awt.EventQueue; import java.util.ArrayList; import javax.swing.UIManager; import javax.swing.UnsupportedLookAndFeelException; import ui.controller.*; import ui.model.*; public class Main { public static void main(String[] args) { // *Design try { UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); } catch (ClassNotFoundException | InstantiationException | IllegalAccessException | UnsupportedLookAndFeelException e1) { // TODO Auto-generated catch block e1.printStackTrace(); } EventQueue.invokeLater(new Runnable() { public void run() { try { idCounter ID = new idCounter(); Model MODEL = new Model(); Control CONTROL = new Control(MODEL); GUI VIEW = new GUI(CONTROL); VIEW.getFrmCyberPhysical().setVisible(true); } catch (Exception e) { e.printStackTrace(); } } }); } }