Change the absolute path to relative path for graphics.

This commit is contained in:
Rob Cashwalker
2011-09-24 20:10:22 +00:00
parent 2053933ca4
commit 1d756d74ea

View File

@@ -77,9 +77,9 @@ import java.awt.GridLayout;
public class Gui_HomeScreen {
// Hack... WindowBuilder can't deal with path relative to the project folder like "res/"
// So... use a full path when debugging or designing with WindowBuilder
private String HomeScreenPath = "/home/rob/ForgeSVN/ForgeSVN/res/images/ui/HomeScreen/";
//private String HomeScreenPath = "/home/rob/ForgeSVN/ForgeSVN/res/images/ui/HomeScreen/";
// And switch to relative path for distribution
// private String HomeScreenPath = "res/images/ui/HomeScreen/";
private String HomeScreenPath = "res/images/ui/HomeScreen/";
private JFrame gHS;