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

Comparing projects/cms/source/server/uk/org/iscream/cms/server/core/loggers/SimpleSwingLogger.java (file contents):
Revision 1.9 by tdb, Tue May 29 17:02:35 2001 UTC vs.
Revision 1.14 by tdb, Sun Aug 1 10:40:56 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
7 + * modify it under the terms of the GNU General Public License
8 + * as published by the Free Software Foundation; either version 2
9 + * of the License, or (at your option) any later version.
10 + *
11 + * This program is distributed in the hope that it will be useful,
12 + * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 + * GNU General Public License for more details.
15 + *
16 + * You should have received a copy of the GNU General Public License
17 + * along with this program; if not, write to the Free Software
18 + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
19 + */
20 +
21   //---PACKAGE DECLARATION---
22   package uk.org.iscream.cms.server.core.loggers;
23  
24   //---IMPORTS---
25 < import uk.org.iscream.cms.server.util.*;
25 > import uk.org.iscream.cms.util.*;
26   import uk.org.iscream.cms.server.core.*;
27   import java.util.Date;
28   import java.text.DateFormat;
# Line 58 | Line 78 | public class SimpleSwingLogger extends JFrame implemen
78          Box box = Box.createVerticalBox();
79  
80          // create the i-scream logo at the top
81 <        JLabel iscream = new JLabel(new ImageIcon("./uk/ac/ukc/iscream/core/loggers/i-scream.gif"));
82 <        JLabel comment = new JLabel("   I-Scream System Logging Console");
81 >        JLabel iscream = new JLabel(new ImageIcon(getClass().getResource("/uk/org/iscream/cms/server/core/loggers/i-scream.gif")));
82 >        JLabel comment = new JLabel("   i-scream System Logging Console");
83          comment.setForeground( new Color(0, 0, 102));
84          iscream.setBackground(Color.white);
85          comment.setBackground(Color.white);
# Line 108 | Line 128 | public class SimpleSwingLogger extends JFrame implemen
128       * Overrides the {@link java.lang.Object#toString() Object.toString()}
129       * method to provide clean logging (every class should have this).
130       *
131 <     * This uses the uk.org.iscream.cms.server.util.FormatName class
131 >     * This uses the uk.org.iscream.cms.util.FormatName class
132       * to format the toString()
133       *
134       * @return the name of this class and its CVS revision
# Line 164 | Line 184 | public class SimpleSwingLogger extends JFrame implemen
184      
185   //---STATIC ATTRIBUTES---
186      
187 < }
187 > }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines