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.33 by tdb, Sat May 18 18:15:56 2002 UTC vs.
Revision 1.36 by tdb, Sun Aug 1 10:40:05 2004 UTC

# Line 1 | Line 1
1   /*
2   * i-scream central monitoring system
3 + * http://www.i-scream.org
4   * Copyright (C) 2000-2002 i-scream
5   *
6   * This program is free software; you can redistribute it and/or
# Line 94 | Line 95 | public class Conient extends JFrame {
95          // the main frame (passed the two panels)
96          Conient client = new Conient(data, control);
97          conientFrame = (Frame) client;
98 <        Conient.addMessage("Conient {an i-scream Client} (c) 2001 The i-scream Project (http://www.i-scream.org.uk)");
98 >        Conient.addMessage("Conient {an i-scream Client} (c) 2001 The i-scream Project (http://www.i-scream.org)");
99  
100          Conient.addMessage("Conient ready.");
101          
# Line 155 | 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 277 | 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