[MOBY-guts] biomoby commit

Paul Gordon gordonp at dev.open-bio.org
Mon Mar 29 19:50:54 UTC 2010


gordonp
Mon Mar 29 15:50:54 EDT 2010
Update of /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/util
In directory dev.open-bio.org:/tmp/cvs-serv10352/src/main/ca/ucalgary/seahawk/util

Modified Files:
	PrintableJEditorPane.java 
Log Message:
Now extends JTextArea to allow fancier display manipulation
moby-live/Java/src/main/ca/ucalgary/seahawk/util PrintableJEditorPane.java,1.2,1.3
===================================================================
RCS file: /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/util/PrintableJEditorPane.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/util/PrintableJEditorPane.java	2007/02/08 16:59:58	1.2
+++ /home/repository/moby/moby-live/Java/src/main/ca/ucalgary/seahawk/util/PrintableJEditorPane.java	2010/03/29 19:50:54	1.3
@@ -6,7 +6,7 @@
 import java.awt.print.PageFormat;
 import java.awt.print.Printable;
 import java.awt.print.PrinterException;
-import javax.swing.JEditorPane;
+import javax.swing.JTextPane;
 import javax.swing.RepaintManager;
 
 /**
@@ -14,7 +14,7 @@
  *
  * @author Paul Gordon (gordonp at ucalgary.ca)
  */
-public class PrintableJEditorPane extends JEditorPane implements Printable{
+public class PrintableJEditorPane extends JTextPane implements Printable{
 
     public int print (Graphics g, PageFormat pf, int pageIndex) throws PrinterException{
 	Graphics2D g2 = (Graphics2D) g;




More information about the MOBY-guts mailing list