1 import java.awt.*; 2 3 import static java.awt.Toolkit.getDefaultToolkit; 4 5 public class Main{ 6 7 public static final int MAIN_FRAME_WIDTH = (int)(getDefaultToolkit().getScreenSize().getWidth()*0.75); 8 public static final int MAIN_FRAME_HEIGHT = (int)(getDefaultToolkit().getScreenSize().getHeight()*0.75); 9 public static final int OTHER_FRAME_WIDTH = (int)(getDefaultToolkit().getScreenSize().getWidth()*0.5); 10 public static final int OTHER_FRAME_HEIGHT = (int)(getDefaultToolkit().getScreenSize().getHeight()*0.5); 11 public static final int CHORD_FRAME_WIDTH = (int)(getDefaultToolkit().getScreenSize().getWidth()*0.25); 12 public static final int CHORD_FRAME_HEIGHT = (int)(getDefaultToolkit().getScreenSize().getHeight()*0.25); 13 public static final Color[] keyNoteColors = new Color[]{new Color(213, 0, 4), new Color(232, 84, 15), new Color(231, 182, 7), new Color(139, 210, 4), new Color(7, 241, 194), new Color(0, 4, 206), new Color(181, 3, 229)}; 14 15 private static GUI gui; 16 17 public Main(){ 18 19 } 20 21 public static void main(String[] args){ 22 gui = new GUI(); 23 } 24 } 25