// Path: src/main/java/gui/utils/GUIErrorHandler.java
// public class GUIErrorHandler {
// 
// 	public GUIErrorHandler(Exception e) {
// 		// TODO
// 		e.printStackTrace();
// 	}
// 
// }
// 
// Path: src/main/java/gui/utils/Images.java
// public class Images {
// 
// 	public static final ImageIcon DEFAULT_ICON =
// 		new ImageIcon(Images.class.getResource("/img/icon.png"));
// 	public static final ImageIcon DEFAULT_LOGO =
// 		new ImageIcon(Images.class.getResource("/img/logo.png"));
// 
// 	public static final ImageIcon TRIANGLE =
// 		new ImageIcon(Images.class.getResource("/img/triangle.png"));
// 	public static final ImageIcon INVERTED_TRIANGLE =
// 		new ImageIcon(Images.class.getResource("/img/inverted_triangle.png"));
// 
// 	public static ImageIcon resize(ImageIcon icon, int width, int height) {
// 		return
// 			new ImageIcon(icon.getImage().getScaledInstance(width, height, 0));
// 	}
// 
// }
// 
// Path: src/main/java/main/utils/ProjectProperties.java
// public class ProjectProperties {
// 
// 	public static final String PATH = "/about.prop";
// 
// 	public static final String KEY_VERSION = "version";
// 	public static final String KEY_WEBSITE = "website";
// 	public static final String KEY_MAIL = "mail";
// 
// 	private static Properties props = new Properties();
// 	private static boolean propsLoaded = false;
// 
// 	private static void loadProperties() throws IOException {
// 		if (propsLoaded) return;
// 
// 		InputStream versionStream =
// 			ProjectProperties.class.getResourceAsStream("/about.prop");
// 		props.load(versionStream);
// 		versionStream.close();
// 		propsLoaded = true;
// 	}
// 
// 	/**
// 	 * Finds and returns a property.
// 	 *
// 	 * @param key
// 	 * 			The key for this property.
// 	 * @return The property corresponding to the key.
// 	 * @throws IOException
// 	 */
// 	public static String get(String key) throws IOException {
// 		loadProperties();
// 		return props.getProperty(key);
// 	}
// 
// }


import java.io.IOException;
import javax.swing.BoxLayout;
import javax.swing.JLabel;
import javax.swing.JPanel;
import gui.utils.GUIErrorHandler;
import gui.utils.Images;
import main.utils.ProjectProperties;
package gui.views.components;




/**
 * Content of the "about" dialog.
 *
 * @author Maxime PIA
 */
@SuppressWarnings("serial")
public class AboutPanel extends JPanel {

	public AboutPanel() {
		setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));

// Path: src/main/java/gui/utils/GUIErrorHandler.java
// public class GUIErrorHandler {
// 
// 	public GUIErrorHandler(Exception e) {
// 		// TODO
// 		e.printStackTrace();
// 	}
// 
// }
// 
// Path: src/main/java/gui/utils/Images.java
// public class Images {
// 
// 	public static final ImageIcon DEFAULT_ICON =
// 		new ImageIcon(Images.class.getResource("/img/icon.png"));
// 	public static final ImageIcon DEFAULT_LOGO =
// 		new ImageIcon(Images.class.getResource("/img/logo.png"));
// 
// 	public static final ImageIcon TRIANGLE =
// 		new ImageIcon(Images.class.getResource("/img/triangle.png"));
// 	public static final ImageIcon INVERTED_TRIANGLE =
// 		new ImageIcon(Images.class.getResource("/img/inverted_triangle.png"));
// 
// 	public static ImageIcon resize(ImageIcon icon, int width, int height) {
// 		return
// 			new ImageIcon(icon.getImage().getScaledInstance(width, height, 0));
// 	}
// 
// }
// 
// Path: src/main/java/main/utils/ProjectProperties.java
// public class ProjectProperties {
// 
// 	public static final String PATH = "/about.prop";
// 
// 	public static final String KEY_VERSION = "version";
// 	public static final String KEY_WEBSITE = "website";
// 	public static final String KEY_MAIL = "mail";
// 
// 	private static Properties props = new Properties();
// 	private static boolean propsLoaded = false;
// 
// 	private static void loadProperties() throws IOException {
// 		if (propsLoaded) return;
// 
// 		InputStream versionStream =
// 			ProjectProperties.class.getResourceAsStream("/about.prop");
// 		props.load(versionStream);
// 		versionStream.close();
// 		propsLoaded = true;
// 	}
// 
// 	/**
// 	 * Finds and returns a property.
// 	 *
// 	 * @param key
// 	 * 			The key for this property.
// 	 * @return The property corresponding to the key.
// 	 * @throws IOException
// 	 */
// 	public static String get(String key) throws IOException {
// 		loadProperties();
// 		return props.getProperty(key);
// 	}
// 
// }


// Path: src/main/java/gui/views/components/AboutPanel.java
import java.io.IOException;
import javax.swing.BoxLayout;
import javax.swing.JLabel;
import javax.swing.JPanel;
import gui.utils.GUIErrorHandler;
import gui.utils.Images;
import main.utils.ProjectProperties;

package gui.views.components;




/**
 * Content of the "about" dialog.
 *
 * @author Maxime PIA
 */
@SuppressWarnings("serial")
public class AboutPanel extends JPanel {

	public AboutPanel() {
		setLayout(new BoxLayout(this, BoxLayout.Y_AXIS));

		JLabel logo = new JLabel(Images.DEFAULT_LOGO);