krysalis-jplugin/src/java/org/krysalis/swallowtail/sheets/text NetBeansEditor.java,1.3,1.4 NetBeansJavaKit.java,1.2,1.3 TextSheet.java,1.2,1.3

[email protected]
Newsgroups gmane.comp.krysalis.metamorphosis.cvs
Message-ID <[email protected]>
Update of /cvsroot/metamorphosis/krysalis-jplugin/src/java/org/krysalis/swallowtail/sheets/text
In directory sc8-pr-cvs1:/tmp/cvs-serv1880/src/java/org/krysalis/swallowtail/sheets/text

Modified Files:
	NetBeansEditor.java NetBeansJavaKit.java TextSheet.java 
Log Message:
Another round of Logging fixes and other small code tweaks.

Index: NetBeansEditor.java
===================================================================
RCS file: /cvsroot/metamorphosis/krysalis-jplugin/src/java/org/krysalis/swallowtail/sheets/text/NetBeansEditor.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** NetBeansEditor.java	29 Sep 2003 15:02:14 -0000	1.3
--- NetBeansEditor.java	29 Sep 2003 15:46:36 -0000	1.4
***************
*** 70,74 ****
       */
      private final static String MODIFIED = "modified";
!     private final org.apache.log4j.Category c = org.apache.log4j.Category.getInstance(this.getClass().toString());
      private DataHandler dh;
      private String contentType = "";
--- 70,74 ----
       */
      private final static String MODIFIED = "modified";
! 
      private DataHandler dh;
      private String contentType = "";
***************
*** 81,91 ****
  
  
-     /**
-      */
      public NetBeansEditor() {
!       c.debug("NetBeansEditor init");
! 
!        }
! 
  
      /**
--- 81,86 ----
  
  
      public NetBeansEditor() {
!     }
  
      /**

Index: NetBeansJavaKit.java
===================================================================
RCS file: /cvsroot/metamorphosis/krysalis-jplugin/src/java/org/krysalis/swallowtail/sheets/text/NetBeansJavaKit.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** NetBeansJavaKit.java	29 Sep 2003 13:29:24 -0000	1.2
--- NetBeansJavaKit.java	29 Sep 2003 15:46:36 -0000	1.3
***************
*** 17,20 ****
--- 17,21 ----
  import javax.swing.KeyStroke;
  import javax.swing.text.BadLocationException;
+ import javax.swing.text.DefaultEditorKit;
  import javax.swing.text.Document;
  import javax.swing.text.JTextComponent;
***************
*** 294,298 ****
  
                  BaseKit kit = Utilities.getKit(target);
!                 Action a = kit.getActionByName(BaseKit.insertContentAction);
                  if (a != null) {
                      Utilities.performAction(
--- 295,299 ----
  
                  BaseKit kit = Utilities.getKit(target);
!                 Action a = kit.getActionByName(DefaultEditorKit.insertContentAction);
                  if (a != null) {
                      Utilities.performAction(

Index: TextSheet.java
===================================================================
RCS file: /cvsroot/metamorphosis/krysalis-jplugin/src/java/org/krysalis/swallowtail/sheets/text/TextSheet.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** TextSheet.java	29 Sep 2003 13:20:19 -0000	1.2
--- TextSheet.java	29 Sep 2003 15:46:36 -0000	1.3
***************
*** 22,26 ****
   */
  public class TextSheet extends AbstractSaveableComponentSheet {
!     private final org.apache.log4j.Category c = org.apache.log4j.Category.getInstance(this.getClass().toString());
      private JTextArea jTextArea;
      private JComponent jComponent;
--- 22,26 ----
   */
  public class TextSheet extends AbstractSaveableComponentSheet {
! 
      private JTextArea jTextArea;
      private JComponent jComponent;




-------------------------------------------------------
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.