package de.dakror.virtualhub.settings;

import java.awt.Dimension;
import java.io.File;
import java.util.Arrays;

import javax.swing.Icon;
import javax.swing.filechooser.FileSystemView;

/**
 * @author Dakror
 */
public class CFG
{
	// -- UniVersion -- //
	public static final int VERSION = 2013101120;
	public static final int PHASE = 2;
	
	public static boolean INTERNET;
	
	public static final File DIR = new File(System.getProperty("user.home") + "/.dakror/VirtualHub");
	public static final Icon FOLDER = FileSystemView.getFileSystemView().getSystemIcon(DIR);
	
	public static final int SERVER_PORT = 4444;
	
	public static final Dimension PREVIEWSIZE = new Dimension(244, 183);
	
	public static void p(Object... p)
	{
		if (p.length == 1) System.out.println(p[0]);
		else System.out.println(Arrays.toString(p));
	}
	
}

package de.dakror.virtualhub.settings;

import java.awt.Dimension;
import java.io.File;
import java.util.Arrays;

import javax.swing.Icon;
import javax.swing.filechooser.FileSystemView;

/**
 * @author Dakror
 */
public class CFG
{
	// -- UniVersion -- //
	public static final int VERSION = 2013102617;
	public static final int PHASE = 2;
	
	public static boolean INTERNET;
	
	public static final File DIR = new File(System.getProperty("user.home") + "/.dakror/VirtualHub");
	public static final Icon FOLDER = FileSystemView.getFileSystemView().getSystemIcon(DIR);
	
	public static final int SERVER_PORT = 4444;
	
	public static final Dimension PREVIEWSIZE = new Dimension(244, 183);
	
	public static void p(Object... p)
	{
		if (p.length == 1) System.out.println(p[0]);
		else System.out.println(Arrays.toString(p));
	}
	
}

update build