// Path: src/main/java/guichaguri/betterfps/BetterFps.java
// public class BetterFps {
// 
//     public static final String MC_VERSION = "1.12";
//     public static final String VERSION = "1.4.7";
//     public static final String URL = "http://guichaguri.github.io/BetterFps/";
//     public static final String UPDATE_URL = "http://widget.mcf.li/mc-mods/minecraft/229876-betterfps.json";
// 
//     public static boolean CLIENT = false;
//     public static File GAME_DIR = null;
// 
// }


import guichaguri.betterfps.BetterFps;
import java.awt.Desktop;
import java.awt.Dimension;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;
import java.io.IOException;
import java.net.URI;
import java.util.concurrent.TimeUnit;
import javax.swing.*;
package guichaguri.betterfps.installer;


/**
 * @author Guilherme Chaguri
 */
public class GuiInstaller extends JFrame implements ActionListener {

    private final String INSTALL = "install";
    private final String EXTRACT = "extract";
    private final String TEST_ALGORITHMS = "algorithm_test";
    private final String DOWNLOADS = "downloads";
    private final String ISSUES = "issues";

    private final String ISSUES_URL = "https://github.com/Guichaguri/BetterFps/issues";

    public GuiInstaller() {
        setTitle(BetterFpsInstaller.i18n("betterfps.installer.title"));
        setResizable(false);
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

        JPanel content = new JPanel();
        content.setLayout(new BoxLayout(content, BoxLayout.Y_AXIS));
        content.setBorder(BorderFactory.createEmptyBorder(25, 25, 25, 25));

// Path: src/main/java/guichaguri/betterfps/BetterFps.java
// public class BetterFps {
// 
//     public static final String MC_VERSION = "1.12";
//     public static final String VERSION = "1.4.7";
//     public static final String URL = "http://guichaguri.github.io/BetterFps/";
//     public static final String UPDATE_URL = "http://widget.mcf.li/mc-mods/minecraft/229876-betterfps.json";
// 
//     public static boolean CLIENT = false;
//     public static File GAME_DIR = null;
// 
// }


// Path: src/main/java/guichaguri/betterfps/installer/GuiInstaller.java
import guichaguri.betterfps.BetterFps;
import java.awt.Desktop;
import java.awt.Dimension;
import java.awt.GridLayout;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;
import java.io.IOException;
import java.net.URI;
import java.util.concurrent.TimeUnit;
import javax.swing.*;

package guichaguri.betterfps.installer;


/**
 * @author Guilherme Chaguri
 */
public class GuiInstaller extends JFrame implements ActionListener {

    private final String INSTALL = "install";
    private final String EXTRACT = "extract";
    private final String TEST_ALGORITHMS = "algorithm_test";
    private final String DOWNLOADS = "downloads";
    private final String ISSUES = "issues";

    private final String ISSUES_URL = "https://github.com/Guichaguri/BetterFps/issues";

    public GuiInstaller() {
        setTitle(BetterFpsInstaller.i18n("betterfps.installer.title"));
        setResizable(false);
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

        JPanel content = new JPanel();
        content.setLayout(new BoxLayout(content, BoxLayout.Y_AXIS));
        content.setBorder(BorderFactory.createEmptyBorder(25, 25, 25, 25));

        content.add(createLabel("betterfps.installer.versions", BetterFps.VERSION, BetterFps.MC_VERSION));