// Path: src/com/sproutlife/SproutLife.java
// public class SproutLife {
//     private static final int appMajorVersion = 1;
//     private static final int appMinorVersion = 1;
//     private static final int appRevision = 0;
// 
//     public static int getAppMajorVersion() {
//         return appMajorVersion;
//     }
// 
//     public static int getAppMinorVersion() {
//         return appMinorVersion;
//     }
// 
//     public static int getAppRevision() {
//         return appRevision;
//     }
//     
//     public static String getAppVersion() {
//         return ""+getAppMajorVersion()+"."+getAppMinorVersion()+"."+getAppRevision();
//     }
// 
//     public static void main(String[] args) {
//         new GameController();
//     }
// }


import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.Toolkit;
import javax.swing.JFrame;
import com.sproutlife.SproutLife;
/*******************************************************************************
 * Copyright (c) 2016 Alex Shapiro - github.com/shpralex
 * This program and the accompanying materials
 * are made available under the terms of the The MIT License (MIT)
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *******************************************************************************/
package com.sproutlife.panel;





public class GameFrame extends JFrame {
    private static final Dimension DEFAULT_WINDOW_SIZE = new Dimension(1292, 641);
    private static final Dimension MINIMUM_WINDOW_SIZE = new Dimension(300, 300);

    PanelController panelController;

    public GameFrame(PanelController panelController) {
        this.panelController = panelController;
        initFrame();
        setLayout(new BorderLayout(0, 0));
    }

    private void initFrame() {
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
// Path: src/com/sproutlife/SproutLife.java
// public class SproutLife {
//     private static final int appMajorVersion = 1;
//     private static final int appMinorVersion = 1;
//     private static final int appRevision = 0;
// 
//     public static int getAppMajorVersion() {
//         return appMajorVersion;
//     }
// 
//     public static int getAppMinorVersion() {
//         return appMinorVersion;
//     }
// 
//     public static int getAppRevision() {
//         return appRevision;
//     }
//     
//     public static String getAppVersion() {
//         return ""+getAppMajorVersion()+"."+getAppMinorVersion()+"."+getAppRevision();
//     }
// 
//     public static void main(String[] args) {
//         new GameController();
//     }
// }


// Path: src/com/sproutlife/panel/GameFrame.java
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.Toolkit;
import javax.swing.JFrame;
import com.sproutlife.SproutLife;

/*******************************************************************************
 * Copyright (c) 2016 Alex Shapiro - github.com/shpralex
 * This program and the accompanying materials
 * are made available under the terms of the The MIT License (MIT)
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *******************************************************************************/
package com.sproutlife.panel;





public class GameFrame extends JFrame {
    private static final Dimension DEFAULT_WINDOW_SIZE = new Dimension(1292, 641);
    private static final Dimension MINIMUM_WINDOW_SIZE = new Dimension(300, 300);

    PanelController panelController;

    public GameFrame(PanelController panelController) {
        this.panelController = panelController;
        initFrame();
        setLayout(new BorderLayout(0, 0));
    }

    private void initFrame() {
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        setTitle("SproutLife - Evolving Game of Life - V " + SproutLife.getAppVersion());