ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/conient/uk/org/iscream/cms/conient/Conient.java
(Generate patch)

Comparing projects/cms/source/conient/uk/org/iscream/cms/conient/Conient.java (file contents):
Revision 1.34 by tdb, Tue May 21 16:47:10 2002 UTC vs.
Revision 1.35 by tdb, Fri Jan 31 17:05:50 2003 UTC

# Line 156 | Line 156 | public class Conient extends JFrame {
156          getContentPane().add(bottom, "South");
157          
158          // a nice icon for the window
159 <        setIconImage((new ImageIcon("./resources/server.gif")).getImage());
159 >        setIconImage((new ImageIcon(getClass().getResource("/resources/server.gif"))).getImage());
160  
161          // and just because we can, a silly splash screen
162          // of the dudes that did this funky jibble
# Line 278 | Line 278 | public class Conient extends JFrame {
278              setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
279              JPanel splash = new JPanel();
280              splash.setBackground(Color.black);
281 <            JLabel image = new JLabel((new ImageIcon("./resources/i-scream-splash.gif")));
281 >            JLabel image = new JLabel((new ImageIcon(getClass().getResource("/resources/i-scream-splash.gif"))));
282              splash.add(image);
283              setContentPane(splash);
284              Dimension screen = getToolkit().getScreenSize();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines