You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by rw...@apache.org on 2018/06/04 16:07:48 UTC
svn commit: r1832864 -
/pivot/trunk/demos/src/org/apache/pivot/demos/text/TextPaneDemo.java
Author: rwhitcomb
Date: Mon Jun 4 16:07:48 2018
New Revision: 1832864
URL: http://svn.apache.org/viewvc?rev=1832864&view=rev
Log:
PIVOT-1032: Working on the style errors.
Modified:
pivot/trunk/demos/src/org/apache/pivot/demos/text/TextPaneDemo.java
Modified: pivot/trunk/demos/src/org/apache/pivot/demos/text/TextPaneDemo.java
URL: http://svn.apache.org/viewvc/pivot/trunk/demos/src/org/apache/pivot/demos/text/TextPaneDemo.java?rev=1832864&r1=1832863&r2=1832864&view=diff
==============================================================================
--- pivot/trunk/demos/src/org/apache/pivot/demos/text/TextPaneDemo.java (original)
+++ pivot/trunk/demos/src/org/apache/pivot/demos/text/TextPaneDemo.java Mon Jun 4 16:07:48 2018
@@ -94,10 +94,12 @@ public class TextPaneDemo implements App
public void startup(Display display, Map<String, String> properties) throws Exception {
System.out.println("startup(...)");
System.out.println("\n"
- + "In this test application as a sample for setting the display scale on startup, use startup argument \"--scale=n\" property; \n"
- + "for instance, using \"--scale=2.0\" will set double scale on the whole application.\n"
+ + "In this test application as a sample for setting the display scale on startup,\n"
+ + "use startup argument \"--scale=n\" property; \n"
+ + "For instance, using \"--scale=2.0\" will set double scale on the whole application.\n"
+ "\n"
- + "Anyway, using Ctrl-Shift-MouseWheel will scale the display up and down as well, for the user of your application.\n");
+ + "Anyway, using Ctrl-Shift-MouseWheel will scale the display up and down as well,\n"
+ + "for the user of your application.\n");
BXMLSerializer bxmlSerializer = new BXMLSerializer();
window = (Window) bxmlSerializer.readObject(TextPaneDemo.class, "text_pane_demo.bxml");
@@ -401,13 +403,13 @@ public class TextPaneDemo implements App
}, 200L);
}
- /** debugging tools */
+ /** Debugging tools. */
@SuppressWarnings("unused")
private void dumpDocument() {
dumpDocumentNode(textPane.getDocument(), System.out, 0);
}
- /** debugging tools */
+ /** Debugging tools. */
private void dumpDocumentNode(Node node, PrintStream printStream, final int indent) {
for (int i = 0; i < indent; i++) {
printStream.append(" ");