krysalis-jplugin/src/java/org/krysalis/jplugin/framework/services/activation BasicActivator.java,1.4,1.5

[email protected]
Newsgroups gmane.comp.krysalis.metamorphosis.cvs
Message-ID <[email protected]>
Update of /cvsroot/metamorphosis/krysalis-jplugin/src/java/org/krysalis/jplugin/framework/services/activation
In directory sc8-pr-cvs1:/tmp/cvs-serv3380/src/java/org/krysalis/jplugin/framework/services/activation

Modified Files:
	BasicActivator.java 
Log Message:
Last round of Logging fixes and other small code tweak.
Compiles but will not ye work, as dependencies are also in the 
component descriptor.
Will fix later.

Index: BasicActivator.java
===================================================================
RCS file: /cvsroot/metamorphosis/krysalis-jplugin/src/java/org/krysalis/jplugin/framework/services/activation/BasicActivator.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** BasicActivator.java	29 Sep 2003 15:46:35 -0000	1.4
--- BasicActivator.java	29 Sep 2003 15:54:14 -0000	1.5
***************
*** 18,21 ****
--- 18,22 ----
  import javax.activation.MimetypesFileTypeMap;
  import javax.swing.JLabel;
+ import javax.swing.SwingConstants;
  
  import org.apache.avalon.framework.activity.Initializable;
***************
*** 102,113 ****
              } else {
                  JLabel replyLabel = new JLabel("no visible command (viewer) available");
!                 replyLabel.setHorizontalAlignment(JLabel.CENTER);
!                 replyLabel.setVerticalAlignment(JLabel.CENTER);
                  return replyLabel;
              }
          } else {
              JLabel replyLabel = new JLabel("no command or viewer available");
!             replyLabel.setHorizontalAlignment(JLabel.CENTER);
!             replyLabel.setVerticalAlignment(JLabel.CENTER);
              return replyLabel;
          }
--- 103,114 ----
              } else {
                  JLabel replyLabel = new JLabel("no visible command (viewer) available");
!                 replyLabel.setHorizontalAlignment(SwingConstants.CENTER);
!                 replyLabel.setVerticalAlignment(SwingConstants.CENTER);
                  return replyLabel;
              }
          } else {
              JLabel replyLabel = new JLabel("no command or viewer available");
!             replyLabel.setHorizontalAlignment(SwingConstants.CENTER);
!             replyLabel.setVerticalAlignment(SwingConstants.CENTER);
              return replyLabel;
          }




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.