--- projects/cms/source/conient/uk/org/iscream/cms/conient/Conient.java 2002/05/21 16:47:10 1.34 +++ projects/cms/source/conient/uk/org/iscream/cms/conient/Conient.java 2003/01/31 17:05:50 1.35 @@ -34,7 +34,7 @@ import java.awt.event.*; * and its own display. * * @author $Author: tdb $ - * @version $Id: Conient.java,v 1.34 2002/05/21 16:47:10 tdb Exp $ + * @version $Id: Conient.java,v 1.35 2003/01/31 17:05:50 tdb Exp $ */ public class Conient extends JFrame { @@ -43,7 +43,7 @@ public class Conient extends JFrame { /** * The current CVS revision of this class */ - public final String REVISION = "$Revision: 1.34 $"; + public final String REVISION = "$Revision: 1.35 $"; /** * The initial width of the window @@ -156,7 +156,7 @@ public class Conient extends JFrame { getContentPane().add(bottom, "South"); // a nice icon for the window - setIconImage((new ImageIcon("./resources/server.gif")).getImage()); + setIconImage((new ImageIcon(getClass().getResource("/resources/server.gif"))).getImage()); // and just because we can, a silly splash screen // of the dudes that did this funky jibble @@ -278,7 +278,7 @@ public class Conient extends JFrame { setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR)); JPanel splash = new JPanel(); splash.setBackground(Color.black); - JLabel image = new JLabel((new ImageIcon("./resources/i-scream-splash.gif"))); + JLabel image = new JLabel((new ImageIcon(getClass().getResource("/resources/i-scream-splash.gif")))); splash.add(image); setContentPane(splash); Dimension screen = getToolkit().getScreenSize();