mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
Change the absolute path to relative path for graphics.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user