Author: ruschein
Date: 2010-07-16 09:34:02 -0700 (Fri, 16 Jul 2010)
New Revision: 20949
Modified:
cytoscape/trunk/src/cytoscape/view/InternalFrameComponent.java
Log:
Fixed some comments.
Modified: cytoscape/trunk/src/cytoscape/view/InternalFrameComponent.java
===================================================================
--- cytoscape/trunk/src/cytoscape/view/InternalFrameComponent.java
2010-07-16 16:13:25 UTC (rev 20948)
+++ cytoscape/trunk/src/cytoscape/view/InternalFrameComponent.java
2010-07-16 16:34:02 UTC (rev 20949)
@@ -118,7 +118,7 @@
/**
* Our implementation of Component setBounds(). If we don't do this,
the
- * individual canvas do not get rendered.
+ * individual canvasses do not get rendered.
*
* @param x int
* @param y int
@@ -140,11 +140,11 @@
* @param pageFormat PageFormat (size and orientation of the page being
drawn)
* @param pageIndex int (the zero based index of the page being drawn)
*
- * @return PAGE_EXISTS if teh page is rendered or NO_SUCH_PAGE if
pageIndex specifies non-existent page
+ * @return PAGE_EXISTS if the page is rendered or NO_SUCH_PAGE if
pageIndex specifies non-existent page
* @throws PrinterException
*/
- public int print(Graphics graphics, PageFormat pageFormat, int
pageIndex)
- throws PrinterException {
+ public int print(Graphics graphics, PageFormat pageFormat, int
pageIndex) throws PrinterException
+ {
if (pageIndex == 0) {
((Graphics2D)
graphics).translate(pageFormat.getImageableX(), pageFormat.getImageableY());
--
You received this message because you are subscribed to the Google Groups
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/cytoscape-cvs?hl=en.