You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by sm...@apache.org on 2013/10/05 01:45:53 UTC

svn commit: r1529349 [9/44] - in /pivot/trunk: charts/src/org/apache/pivot/charts/ charts/src/org/apache/pivot/charts/skin/ core/src/org/apache/pivot/beans/ core/src/org/apache/pivot/collections/ core/src/org/apache/pivot/collections/adapter/ core/src/...

Modified: pivot/trunk/tests/src/org/apache/pivot/tests/SheetTest.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/SheetTest.java?rev=1529349&r1=1529348&r2=1529349&view=diff
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/SheetTest.java (original)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/SheetTest.java Fri Oct  4 23:45:40 2013
@@ -46,9 +46,8 @@ public class SheetTest extends Applicati
     private Sheet sheet = null;
 
     @Override
-    public void startup(final Display display, Map<String, String> properties)
-        throws Exception {
-        Picture picture = (Picture)Image.load(getClass().getResource("IMG_0767_2.jpg"));
+    public void startup(final Display display, Map<String, String> properties) throws Exception {
+        Picture picture = (Picture) Image.load(getClass().getResource("IMG_0767_2.jpg"));
         picture.resample(120);
 
         BoxPane windowContent = new BoxPane();
@@ -75,10 +74,12 @@ public class SheetTest extends Applicati
 
         tablePane.getRows().get(0).add(sheetContent);
 
-        Label promptBody = new Label("Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.");
+        Label promptBody = new Label(
+            "Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.");
         promptBody.getStyles().put("wrapText", true);
 
-        final Prompt prompt = new Prompt(MessageType.INFO, "Prompt", new ArrayList<>("OK"), promptBody);
+        final Prompt prompt = new Prompt(MessageType.INFO, "Prompt", new ArrayList<>("OK"),
+            promptBody);
         prompt.setTitle("Prompt");
         prompt.getStyles().put("resizable", true);
 
@@ -94,7 +95,8 @@ public class SheetTest extends Applicati
             }
         });
 
-        Label alertBody = new Label("Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.");
+        Label alertBody = new Label(
+            "Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.");
         alertBody.getStyles().put("wrapText", true);
 
         final Alert alert = new Alert(MessageType.INFO, "Alert", new ArrayList<>("OK"), alertBody);
@@ -123,8 +125,8 @@ public class SheetTest extends Applicati
             public void buttonPressed(Button buttonArgument) {
                 prompt.open(frame);
 
-                Display displayLocal = DesktopApplicationContext.createDisplay(640, 480, 100, 100, true,
-                    true, false, buttonArgument.getDisplay().getHostWindow(), null);
+                Display displayLocal = DesktopApplicationContext.createDisplay(640, 480, 100, 100,
+                    true, true, false, buttonArgument.getDisplay().getHostWindow(), null);
 
                 Window window = new Window();
                 window.setTitle("New Secondary Window");

Modified: pivot/trunk/tests/src/org/apache/pivot/tests/ShutdownTest.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/ShutdownTest.java?rev=1529349&r1=1529348&r2=1529349&view=diff
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/ShutdownTest.java (original)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/ShutdownTest.java Fri Oct  4 23:45:40 2013
@@ -54,10 +54,10 @@ public class ShutdownTest extends Applic
                 @Override
                 public void dialogClosed(Dialog dialog, boolean modal) {
                     if (!(dialog instanceof Alert)) {
-                        return ;
+                        return;
                     }
 
-                    Alert alertLocal = (Alert)dialog;
+                    Alert alertLocal = (Alert) dialog;
                     if (alertLocal.getResult()) {
                         if (alertLocal.getSelectedOptionIndex() == 1) {
                             cancelShutdown = false;

Modified: pivot/trunk/tests/src/org/apache/pivot/tests/SliderTest.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/SliderTest.java?rev=1529349&r1=1529348&r2=1529349&view=diff
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/SliderTest.java (original)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/SliderTest.java Fri Oct  4 23:45:40 2013
@@ -35,18 +35,18 @@ public class SliderTest extends Applicat
     private Label valueLabel2 = null;
 
     @Override
-    public void startup(Display display, Map<String, String> properties)
-        throws Exception {
+    public void startup(Display display, Map<String, String> properties) throws Exception {
         BXMLSerializer bxmlSerializer = new BXMLSerializer();
-        window = new Window((Component)bxmlSerializer.readObject(getClass().getResource("slider_test.bxml")));
-        slider1 = (Slider)bxmlSerializer.getNamespace().get("slider1");
+        window = new Window((Component) bxmlSerializer.readObject(getClass().getResource(
+            "slider_test.bxml")));
+        slider1 = (Slider) bxmlSerializer.getNamespace().get("slider1");
         slider1.getSliderValueListeners().add(new SliderValueListener() {
             @Override
             public void valueChanged(Slider slider, int previousValue) {
                 valueLabel1.setText(Integer.toString(slider.getValue()));
             }
         });
-        slider2 = (Slider)bxmlSerializer.getNamespace().get("slider2");
+        slider2 = (Slider) bxmlSerializer.getNamespace().get("slider2");
         slider2.getSliderValueListeners().add(new SliderValueListener() {
             @Override
             public void valueChanged(Slider slider, int previousValue) {
@@ -54,8 +54,8 @@ public class SliderTest extends Applicat
             }
         });
 
-        valueLabel1 = (Label)bxmlSerializer.getNamespace().get("valueLabel1");
-        valueLabel2 = (Label)bxmlSerializer.getNamespace().get("valueLabel2");
+        valueLabel1 = (Label) bxmlSerializer.getNamespace().get("valueLabel1");
+        valueLabel2 = (Label) bxmlSerializer.getNamespace().get("valueLabel2");
 
         window.setTitle("Slider Test");
         window.setMaximized(true);

Modified: pivot/trunk/tests/src/org/apache/pivot/tests/SpinnerFocusTest.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/SpinnerFocusTest.java?rev=1529349&r1=1529348&r2=1529349&view=diff
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/SpinnerFocusTest.java (original)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/SpinnerFocusTest.java Fri Oct  4 23:45:40 2013
@@ -52,11 +52,12 @@ public class SpinnerFocusTest extends Ap
         Action.getNamedActions().put("buttonAction", action);
 
         BXMLSerializer bxmlSerializer = new BXMLSerializer();
-        frame = new Frame((Component)bxmlSerializer.readObject(getClass().getResource("spinner_focus_test.bxml")));
+        frame = new Frame((Component) bxmlSerializer.readObject(getClass().getResource(
+            "spinner_focus_test.bxml")));
         frame.setTitle("Spinner Focus Test");
         frame.open(display);
 
-        spinner = (Spinner)bxmlSerializer.getNamespace().get("spinner");
+        spinner = (Spinner) bxmlSerializer.getNamespace().get("spinner");
         spinner.requestFocus();
 
         // action.setEnabled(false);

Modified: pivot/trunk/tests/src/org/apache/pivot/tests/SplashScreenTest.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/SplashScreenTest.java?rev=1529349&r1=1529348&r2=1529349&view=diff
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/SplashScreenTest.java (original)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/SplashScreenTest.java Fri Oct  4 23:45:40 2013
@@ -39,35 +39,25 @@ import org.apache.pivot.wtk.Window;
 
 /**
  * Test Application for demonstrating the <code>--preserveSplashScreen</code>
- * Pivot startup property.<br/>
- *
- * This desktop application simulates some task processing while a SplashScreen
- * is displayed, before forcing the Pivot host window to become visible which in
- * turn hides the SplashScreen.<br/>The progress of the simulated tasks is shown
- * using a Pivot Meter that paints onto the SplashScreen as the tasks
- * 'complete'. <br/><br/>
- *
- * If <code>--preserveSplashScreen</code> is set to <code>true</code> and there
- * is a SplashScreen, DesktopApplicationContext will not make the Pivot host
- * window visible until
- * {@link DesktopApplicationContext#replaceSplashScreen(Display)
- * replaceSplashScreen(Display)} is called.<br/><br/>
- *
- * If <code>--preserveSplashScreen</code> is set to <code>false</code>, is not
+ * Pivot startup property.<br/> This desktop application simulates some task
+ * processing while a SplashScreen is displayed, before forcing the Pivot host
+ * window to become visible which in turn hides the SplashScreen.<br/>The
+ * progress of the simulated tasks is shown using a Pivot Meter that paints onto
+ * the SplashScreen as the tasks 'complete'. <br/><br/> If
+ * <code>--preserveSplashScreen</code> is set to <code>true</code> and there is
+ * a SplashScreen, DesktopApplicationContext will not make the Pivot host window
+ * visible until {@link DesktopApplicationContext#replaceSplashScreen(Display)
+ * replaceSplashScreen(Display)} is called.<br/><br/> If
+ * <code>--preserveSplashScreen</code> is set to <code>false</code>, is not
  * supplied, or there is no SplashScreen, DesktopApplicationContext make the
  * Pivot host window visible as normal. Any calls to
  * {@link DesktopApplicationContext#replaceSplashScreen(Display)
- * replaceSplashScreen(Display)} will have no effect.<br/><br/>
- *
- * <b>Example usage</b> (all one line)
- * <pre>
- * java -classpath bin;
- *      -splash:bin/org/apache/pivot/tests/splash.png
- *      org.apache.pivot.tests.SplashScreenTest
- *      --preserveSplashScreen=true
- *      --fullScreen=false
- * </pre>
- *
+ * replaceSplashScreen(Display)} will have no effect.<br/><br/> <b>Example
+ * usage</b> (all one line) <pre> java -classpath bin;
+ * -splash:bin/org/apache/pivot/tests/splash.png
+ * org.apache.pivot.tests.SplashScreenTest --preserveSplashScreen=true
+ * --fullScreen=false </pre>
+ * 
  * @see SplashScreen
  * @see DesktopApplicationContext#replaceSplashScreen(Display)
  * @see DesktopApplicationContext#PRESERVE_SPLASH_SCREEN_ARGUMENT
@@ -84,8 +74,7 @@ public class SplashScreenTest extends Ap
             if (splashScreen != null) {
                 configureMeter(256, 16);
                 configureGraphics();
-            }
-            else {
+            } else {
                 System.err.println("Splash Screen not found");
             }
         }
@@ -94,7 +83,7 @@ public class SplashScreenTest extends Ap
         // 0.0 and and 1.0 (representing 0% and 100% respectively)
         private void increment(final double increment) {
             if (splashScreen == null) {
-                return ;
+                return;
             }
 
             double percentage = meter.getPercentage() + increment;
@@ -127,7 +116,6 @@ public class SplashScreenTest extends Ap
         }
     }
 
-
     @Override
     public void startup(final Display display, Map<String, String> properties) throws Exception {
 
@@ -135,8 +123,7 @@ public class SplashScreenTest extends Ap
         System.out.println("To show the Splash Screen, remember to run as a Standard Java Application, and with the arguments: "
             + "-splash:/org/apache/pivot/tests/splash.png "
             + "--preserveSplashScreen=true "
-            + ", or no splash screen will be shown"
-        );
+            + ", or no splash screen will be shown");
 
         // Create a Task that will load a BXML file and simulate some other
         // processing while updating a progress meter on the SplashScreen
@@ -172,8 +159,8 @@ public class SplashScreenTest extends Ap
                         public void run() {
                             Window window = null;
                             try {
-                                window = (Window) new BXMLSerializer().readObject(
-                                        this.getClass().getResource("splash.bxml"));
+                                window = (Window) new BXMLSerializer().readObject(this.getClass().getResource(
+                                    "splash.bxml"));
                             } catch (Exception e) {
                                 throw new RuntimeException(e);
                             }
@@ -213,7 +200,6 @@ public class SplashScreenTest extends Ap
         prepareApplicationTask.execute(new TaskAdapter<>(taskListener));
     }
 
-
     @Override
     public boolean shutdown(boolean optional) throws Exception {
         System.out.println("Shutdown the application at " + new Date());

Modified: pivot/trunk/tests/src/org/apache/pivot/tests/SplitPaneTest.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/SplitPaneTest.java?rev=1529349&r1=1529348&r2=1529349&view=diff
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/SplitPaneTest.java (original)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/SplitPaneTest.java Fri Oct  4 23:45:40 2013
@@ -30,7 +30,8 @@ public class SplitPaneTest extends Appli
     @Override
     public void startup(Display display, Map<String, String> properties) throws Exception {
         BXMLSerializer bxmlSerializer = new BXMLSerializer();
-        window = new Window((Component)bxmlSerializer.readObject(getClass().getResource("splitpane_test.bxml")));
+        window = new Window((Component) bxmlSerializer.readObject(getClass().getResource(
+            "splitpane_test.bxml")));
 
         window.setTitle("SplitPane Test");
         window.setMaximized(true);

Modified: pivot/trunk/tests/src/org/apache/pivot/tests/SuggestionPopupTest.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/SuggestionPopupTest.java?rev=1529349&r1=1529348&r2=1529349&view=diff
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/SuggestionPopupTest.java (original)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/SuggestionPopupTest.java Fri Oct  4 23:45:40 2013
@@ -33,22 +33,25 @@ import org.apache.pivot.wtk.Window;
 public class SuggestionPopupTest extends Application.Adapter {
     private Window window = null;
 
-    @BXML private TextInput textInput = null;
-    @BXML private Label selectedIndexLabel = null;
+    @BXML
+    private TextInput textInput = null;
+    @BXML
+    private Label selectedIndexLabel = null;
 
     private SuggestionPopup suggestionPopup = new SuggestionPopup();
 
     @Override
     public void startup(Display display, Map<String, String> properties) throws Exception {
         BXMLSerializer bxmlSerializer = new BXMLSerializer();
-        window = (Window)bxmlSerializer.readObject(SuggestionPopupTest.class,
+        window = (Window) bxmlSerializer.readObject(SuggestionPopupTest.class,
             "suggestion_popup_test.bxml");
         bxmlSerializer.bind(this);
 
         textInput.getTextInputContentListeners().add(new TextInputContentListener.Adapter() {
             @Override
             public void textInserted(TextInput textInputArgument, int index, int count) {
-                ArrayList<String> suggestions = new ArrayList<>("One", "Two", "Three", "Four", "Five");
+                ArrayList<String> suggestions = new ArrayList<>("One", "Two", "Three", "Four",
+                    "Five");
                 suggestionPopup.setSuggestionData(suggestions);
                 suggestionPopup.open(textInputArgument, new SuggestionPopupCloseListener() {
                     @Override

Modified: pivot/trunk/tests/src/org/apache/pivot/tests/TablePaneTest.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/TablePaneTest.java?rev=1529349&r1=1529348&r2=1529349&view=diff
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/TablePaneTest.java (original)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/TablePaneTest.java Fri Oct  4 23:45:40 2013
@@ -27,10 +27,9 @@ public class TablePaneTest extends Appli
     private Window window = null;
 
     @Override
-    public void startup(Display display, Map<String, String> properties)
-        throws Exception {
+    public void startup(Display display, Map<String, String> properties) throws Exception {
         BXMLSerializer bxmlSerializer = new BXMLSerializer();
-        window = (Window)bxmlSerializer.readObject(TablePaneTest.class, "table_pane_test.bxml");
+        window = (Window) bxmlSerializer.readObject(TablePaneTest.class, "table_pane_test.bxml");
         window.open(display);
     }
 

Modified: pivot/trunk/tests/src/org/apache/pivot/tests/TableViewCellRendererCustom.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/TableViewCellRendererCustom.java?rev=1529349&r1=1529348&r2=1529349&view=diff
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/TableViewCellRendererCustom.java (original)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/TableViewCellRendererCustom.java Fri Oct  4 23:45:40 2013
@@ -20,12 +20,11 @@ import org.apache.pivot.json.JSON;
 import org.apache.pivot.wtk.content.TableViewCellRenderer;
 
 /**
- * Minimal sample for a customized version of table cell renderer.
- * Renders cell contents as a string, but in this case, transformed.
- * <br/>
- * Note that here it's possible to extends Label implements TableView.CellRenderer,
- * or even to extends directly TableViewCellRenderer
- * (because it extends Label and implements TableView.CellRenderer).
+ * Minimal sample for a customized version of table cell renderer. Renders cell
+ * contents as a string, but in this case, transformed. <br/> Note that here
+ * it's possible to extends Label implements TableView.CellRenderer, or even to
+ * extends directly TableViewCellRenderer (because it extends Label and
+ * implements TableView.CellRenderer).
  */
 public class TableViewCellRendererCustom extends TableViewCellRenderer {
 
@@ -37,8 +36,8 @@ public class TableViewCellRendererCustom
             return text;
         }
 
-        // return new StringBuffer(text).reverse().toString();  // reverse text
-        return text.toUpperCase();  // to upper text
+        // return new StringBuffer(text).reverse().toString(); // reverse text
+        return text.toUpperCase(); // to upper text
     }
 
 }

Modified: pivot/trunk/tests/src/org/apache/pivot/tests/TableViewTest2.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/TableViewTest2.java?rev=1529349&r1=1529348&r2=1529349&view=diff
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/TableViewTest2.java (original)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/TableViewTest2.java Fri Oct  4 23:45:40 2013
@@ -33,15 +33,14 @@ public class TableViewTest2 extends Appl
     private Window menu = null;
 
     @Override
-    public void startup(Display display, Map<String, String> properties)
-        throws Exception {
+    public void startup(Display display, Map<String, String> properties) throws Exception {
         BXMLSerializer bxmlSerializer = new BXMLSerializer();
 
         System.out.println("Double Click on Table elements to open the Row Editor");
 
-        window = (Window)bxmlSerializer.readObject(TableViewTest2.class, "table_view_test2.bxml");
-        tableView = (TableView)bxmlSerializer.getNamespace().get("tableView");
-        menu = (Window)bxmlSerializer.readObject(TableViewTest2.class, "context_menus.bxml");
+        window = (Window) bxmlSerializer.readObject(TableViewTest2.class, "table_view_test2.bxml");
+        tableView = (TableView) bxmlSerializer.getNamespace().get("tableView");
+        menu = (Window) bxmlSerializer.readObject(TableViewTest2.class, "context_menus.bxml");
 
         tableView.setMenuHandler(new ContextMenusSampleMenuHandlerAdapter());
         System.out.println("Right  Click on Table elements to display Contextual Menu: " + menu);

Modified: pivot/trunk/tests/src/org/apache/pivot/tests/TagDecoratorTest.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/TagDecoratorTest.java?rev=1529349&r1=1529348&r2=1529349&view=diff
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/TagDecoratorTest.java (original)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/TagDecoratorTest.java Fri Oct  4 23:45:40 2013
@@ -30,24 +30,22 @@ public class TagDecoratorTest extends Ap
     private Frame frame = null;
 
     @Override
-    public void startup(Display display, Map<String, String> properties)
-        throws Exception {
+    public void startup(Display display, Map<String, String> properties) throws Exception {
         frame = new Frame();
         frame.setTitle("Tag Decorator Test");
         frame.setPreferredSize(480, 360);
 
         Image tag = Image.load(getClass().getResource("go-home.png"));
 
-        frame.getDecorators().add(new TagDecorator(tag,
-            HorizontalAlignment.RIGHT, VerticalAlignment.TOP,
-            10, -10));
+        frame.getDecorators().add(
+            new TagDecorator(tag, HorizontalAlignment.RIGHT, VerticalAlignment.TOP, 10, -10));
 
         frame.open(display);
     }
 
     @Override
     public boolean shutdown(boolean optional) {
-        if (frame!= null) {
+        if (frame != null) {
             frame.close();
         }
 

Modified: pivot/trunk/tests/src/org/apache/pivot/tests/TestUtils.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/TestUtils.java?rev=1529349&r1=1529348&r2=1529349&view=diff
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/TestUtils.java (original)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/TestUtils.java Fri Oct  4 23:45:40 2013
@@ -31,9 +31,12 @@ public class TestUtils {
             System.out.println("The current SecurityManager is: " + System.getSecurityManager());
 
             System.out.println("Your operating system is: " + System.getProperty("os.name", NA));
-            System.out.println("The JVM you are running is: " + System.getProperty("java.version", NA));
-            System.out.println("Your user home directory is: " + System.getProperty("user.home", NA));
-            System.out.println("Your JRE installation directory is: " + System.getProperty("java.home", NA));
+            System.out.println("The JVM you are running is: "
+                + System.getProperty("java.version", NA));
+            System.out.println("Your user home directory is: "
+                + System.getProperty("user.home", NA));
+            System.out.println("Your JRE installation directory is: "
+                + System.getProperty("java.home", NA));
         } catch (Exception e) {
             System.err.println("Caught exception: " + e.toString());
         }

Modified: pivot/trunk/tests/src/org/apache/pivot/tests/TextInputValidatorTest.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/TextInputValidatorTest.java?rev=1529349&r1=1529348&r2=1529349&view=diff
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/TextInputValidatorTest.java (original)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/TextInputValidatorTest.java Fri Oct  4 23:45:40 2013
@@ -38,13 +38,14 @@ import org.apache.pivot.wtk.validation.I
 import org.apache.pivot.wtk.validation.NotEmptyTextValidator;
 import org.apache.pivot.wtk.validation.RegexTextValidator;
 import org.apache.pivot.wtk.validation.Validator;
+
 // import java.util.Formatter;
 
 /**
  * Text input validator test.
  */
-public class TextInputValidatorTest  extends Application.Adapter {
-    private Locale locale = Locale.getDefault();  // the default locale
+public class TextInputValidatorTest extends Application.Adapter {
+    private Locale locale = Locale.getDefault(); // the default locale
 
     private Window window = null;
     private TextInput textinputLocale = null;
@@ -67,7 +68,7 @@ public class TextInputValidatorTest  ext
         System.out.println("current Locale is " + locale);
 
         // sample different ways to format numbers in i18n compatible way
-        NumberFormat  nf = NumberFormat.getInstance();
+        NumberFormat nf = NumberFormat.getInstance();
         //
         // String customDecimalPattern = ""###,###.###"";
         // DecimalFormat df = new DecimalFormat(customDecimalPattern);
@@ -78,40 +79,48 @@ public class TextInputValidatorTest  ext
         //
 
         BXMLSerializer bxmlSerializer = new BXMLSerializer();
-        window = new Window((Component)bxmlSerializer.readObject(
-            getClass().getResource("text_input_validator_test.bxml")));
+        window = new Window((Component) bxmlSerializer.readObject(getClass().getResource(
+            "text_input_validator_test.bxml")));
 
-        textinputLocale = (TextInput)bxmlSerializer.getNamespace().get("textinputLocale");
+        textinputLocale = (TextInput) bxmlSerializer.getNamespace().get("textinputLocale");
 
-        textinputComparableBigDecimal = (TextInput)bxmlSerializer.getNamespace().get("textinputComparableBigDecimal");
-        textinputComparableRange = (TextInput)bxmlSerializer.getNamespace().get("textinputComparableRange");
-        textinputDouble = (TextInput)bxmlSerializer.getNamespace().get("textinputDouble");
-        textinputFloat = (TextInput)bxmlSerializer.getNamespace().get("textinputFloat");
-        textinputFloatRange = (TextInput)bxmlSerializer.getNamespace().get("textinputFloatRange");
-        textinputIntRange = (TextInput)bxmlSerializer.getNamespace().get("textinputIntRange");
-        textinputDateRegex = (TextInput)bxmlSerializer.getNamespace().get("textinputDateRegex");
-        textinputCustomBoolean = (TextInput)bxmlSerializer.getNamespace().get("textinputCustomBoolean");
-        textinputNotEmptyText = (TextInput)bxmlSerializer.getNamespace().get("textinputNotEmptyText");
-        textinputEmptyText = (TextInput)bxmlSerializer.getNamespace().get("textinputEmptyText");
+        textinputComparableBigDecimal = (TextInput) bxmlSerializer.getNamespace().get(
+            "textinputComparableBigDecimal");
+        textinputComparableRange = (TextInput) bxmlSerializer.getNamespace().get(
+            "textinputComparableRange");
+        textinputDouble = (TextInput) bxmlSerializer.getNamespace().get("textinputDouble");
+        textinputFloat = (TextInput) bxmlSerializer.getNamespace().get("textinputFloat");
+        textinputFloatRange = (TextInput) bxmlSerializer.getNamespace().get("textinputFloatRange");
+        textinputIntRange = (TextInput) bxmlSerializer.getNamespace().get("textinputIntRange");
+        textinputDateRegex = (TextInput) bxmlSerializer.getNamespace().get("textinputDateRegex");
+        textinputCustomBoolean = (TextInput) bxmlSerializer.getNamespace().get(
+            "textinputCustomBoolean");
+        textinputNotEmptyText = (TextInput) bxmlSerializer.getNamespace().get(
+            "textinputNotEmptyText");
+        textinputEmptyText = (TextInput) bxmlSerializer.getNamespace().get("textinputEmptyText");
 
         textinputLocale.setText(locale.toString());
 
         String testValue = "123456789.0";
-        // new, validate a value but using BigDecimalValidator (subclass of ComparableValidator)
-        textinputComparableBigDecimal.setText("1e300");  // huge value, and outside double range ...
+        // new, validate a value but using BigDecimalValidator (subclass of
+        // ComparableValidator)
+        textinputComparableBigDecimal.setText("1e300"); // huge value, and
+                                                        // outside double range
+                                                        // ...
         BigDecimalValidator bdComp = new BigDecimalValidator();
         System.out.println("BigDecimalValidator: created instance with value: " + bdComp);
-        bdComp.setAutoTrim(true);  // enable auto-trim of input string, before validating
+        bdComp.setAutoTrim(true); // enable auto-trim of input string, before
+                                  // validating
         System.out.println("BigDecimalValidator: enable auto-trim of input string, before validating");
         textinputComparableBigDecimal.setValidator(bdComp);
 
         // new, validate in a range but using ComparableRangeValidator
         textinputComparableRange.setText(nf.format(new BigDecimal(testValue)));
         ComparableRangeValidator<BigDecimal> bdCompRange = new ComparableRangeValidator<>(
-            new BigDecimal("2.0"), new BigDecimal("123456789")
-        );
+            new BigDecimal("2.0"), new BigDecimal("123456789"));
         System.out.println("ComparableRangeValidator: created instance with value: " + bdCompRange);
-        bdCompRange.setAutoTrim(true);  // enable auto-trim of input string, before validating
+        bdCompRange.setAutoTrim(true); // enable auto-trim of input string,
+                                       // before validating
         System.out.println("ComparableRangeValidator: enable auto-trim of input string, before validating");
         textinputComparableRange.setValidator(bdCompRange);
         textinputComparableRange.getTextInputListeners().add(new TextInputListener.Adapter() {
@@ -120,26 +129,32 @@ public class TextInputValidatorTest  ext
                 invalidComparableRangeLabel.setText(textInput.isTextValid() ? "valid" : "invalid");
             }
         });
-        invalidComparableRangeLabel = (Label)bxmlSerializer.getNamespace().get("invalidComparableRangeLabel");
+        invalidComparableRangeLabel = (Label) bxmlSerializer.getNamespace().get(
+            "invalidComparableRangeLabel");
 
-        textinputDouble.setText("\u221E");  // infinite symbol
+        textinputDouble.setText("\u221E"); // infinite symbol
         textinputDouble.setValidator(new DoubleValidator());
 
         // textinputFloat.setText("123456.789");
         // new, show different ways to format decimal values in i18n format
         Double value = new Double(testValue);
         // textinputFloat.setText(value.toString());
-        // textinputFloat.setText(String.format(customDecimalFormat, value)); // sample using String.format
-        // formatter.format(customDecimalFormat, value);                      // sample using Formatter
-        // textinputFloat.setText(sb.toString());                             // sample using Formatter
-        // textinputFloat.setText(nf.format(value));                          // sample using NumberFormat
-        // textinputFloat.setText(df.format(value));                          // sample using DecimalFormat
-        textinputFloat.setText(nf.format(value));  // using this as a sample
+        // textinputFloat.setText(String.format(customDecimalFormat, value)); //
+        // sample using String.format
+        // formatter.format(customDecimalFormat, value); // sample using
+        // Formatter
+        // textinputFloat.setText(sb.toString()); // sample using Formatter
+        // textinputFloat.setText(nf.format(value)); // sample using
+        // NumberFormat
+        // textinputFloat.setText(df.format(value)); // sample using
+        // DecimalFormat
+        textinputFloat.setText(nf.format(value)); // using this as a sample
         textinputFloat.setValidator(new FloatValidator());
 
         // standard float range model
         // note that float approximations could give errors,
-        // try to increment/decrement the initial value near a range end, to see problems ...
+        // try to increment/decrement the initial value near a range end, to see
+        // problems ...
         textinputFloatRange.setText(nf.format(new Float(testValue)));
         textinputFloatRange.setValidator(new FloatRangeValidator(2.0f, 123456789f));
 
@@ -151,7 +166,7 @@ public class TextInputValidatorTest  ext
             }
         });
 
-        invalidLabel = (Label)bxmlSerializer.getNamespace().get("invalidLabel");
+        invalidLabel = (Label) bxmlSerializer.getNamespace().get("invalidLabel");
 
         // standard int range model
         textinputIntRange.setText("0");
@@ -179,7 +194,6 @@ public class TextInputValidatorTest  ext
         textinputEmptyText.setText("    ");
         textinputEmptyText.setValidator(new EmptyTextValidator());
 
-
         window.setTitle("Text Input Validator Test");
         window.setMaximized(true);
         window.open(display);

Modified: pivot/trunk/tests/src/org/apache/pivot/tests/VFSBrowserTest.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/VFSBrowserTest.java?rev=1529349&r1=1529348&r2=1529349&view=diff
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/VFSBrowserTest.java (original)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/VFSBrowserTest.java Fri Oct  4 23:45:40 2013
@@ -36,25 +36,23 @@ import org.apache.pivot.wtk.Sheet;
 import org.apache.pivot.wtk.SheetCloseListener;
 import org.apache.pivot.wtk.VFSBrowserSheet;
 
-public class VFSBrowserTest implements Application
-{
+public class VFSBrowserTest implements Application {
 
     public VFSBrowserTest() {
     }
 
-
     private Frame frame = null;
 
     @Override
-    public void startup(Display display, Map<String, String> properties) throws Exception
-    {
+    public void startup(Display display, Map<String, String> properties) throws Exception {
         BoxPane windowContent = new BoxPane();
         PushButton button = new PushButton("Open Sheet");
         button.getButtonPressListeners().add(new ButtonPressListener() {
             @Override
             public void buttonPressed(Button buttonArgument) {
                 try {
-                    final VFSBrowserSheet vfsBrowserSheet = new VFSBrowserSheet(VFSBrowserSheet.Mode.OPEN);
+                    final VFSBrowserSheet vfsBrowserSheet = new VFSBrowserSheet(
+                        VFSBrowserSheet.Mode.OPEN);
 
                     vfsBrowserSheet.open(frame, new SheetCloseListener() {
                         @Override
@@ -73,9 +71,9 @@ public class VFSBrowserTest implements A
                             }
                         }
                     });
-                }
-                catch (FileSystemException fse) {
-                    Alert.alert(MessageType.ERROR, String.format("File System Exception: %1$s", fse.getMessage()), frame);
+                } catch (FileSystemException fse) {
+                    Alert.alert(MessageType.ERROR,
+                        String.format("File System Exception: %1$s", fse.getMessage()), frame);
                 }
             }
         });
@@ -101,7 +99,6 @@ public class VFSBrowserTest implements A
         // empty block
     }
 
-
     @Override
     public void suspend() {
         // empty block
@@ -112,4 +109,3 @@ public class VFSBrowserTest implements A
     }
 
 }
-

Modified: pivot/trunk/tests/src/org/apache/pivot/tests/WatermarkDecoratorTest.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/WatermarkDecoratorTest.java?rev=1529349&r1=1529348&r2=1529349&view=diff
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/WatermarkDecoratorTest.java (original)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/WatermarkDecoratorTest.java Fri Oct  4 23:45:40 2013
@@ -29,7 +29,7 @@ public class WatermarkDecoratorTest exte
     @Override
     public void startup(Display display, Map<String, String> properties) throws Exception {
         BXMLSerializer bxmlSerializer = new BXMLSerializer();
-        window = (Window)bxmlSerializer.readObject(WatermarkDecoratorTest.class,
+        window = (Window) bxmlSerializer.readObject(WatermarkDecoratorTest.class,
             "watermark_decorator_test.bxml");
 
         window.open(display);
@@ -37,7 +37,7 @@ public class WatermarkDecoratorTest exte
 
     @Override
     public boolean shutdown(boolean optional) {
-        if (window!= null) {
+        if (window != null) {
             window.close();
         }
 

Modified: pivot/trunk/tests/src/org/apache/pivot/tests/WindowTest.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/WindowTest.java?rev=1529349&r1=1529348&r2=1529349&view=diff
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/WindowTest.java (original)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/WindowTest.java Fri Oct  4 23:45:40 2013
@@ -50,8 +50,8 @@ public class WindowTest extends Applicat
         window1.getComponentListeners().add(new ComponentListener.Adapter() {
             @Override
             public void sizeChanged(Component component, int previousWidth, int previousHeight) {
-                window1.align(window1.getDisplay().getBounds(),
-                    HorizontalAlignment.CENTER, VerticalAlignment.CENTER);
+                window1.align(window1.getDisplay().getBounds(), HorizontalAlignment.CENTER,
+                    VerticalAlignment.CENTER);
                 window1.getComponentListeners().remove(this);
             }
         });
@@ -108,7 +108,7 @@ public class WindowTest extends Applicat
         window1bi.setPreferredSize(180, 60);
         window1bi.setLocation(270, 160);
         window1bi.setContent(new Label("This window is not enabled"));
-        window1bi.setEnabled(false);  // to test even a not enabled window ...
+        window1bi.setEnabled(false); // to test even a not enabled window ...
         window1bi.open(window1b);
 
         Frame window1bii = new Frame();
@@ -128,7 +128,7 @@ public class WindowTest extends Applicat
         palette2.setPreferredSize(160, 60);
         palette2.setLocation(600, 200);
         palette2.setContent(new Label("This palette is not enabled"));
-        palette2.setEnabled(false);  // to test even a not enabled palette ...
+        palette2.setEnabled(false); // to test even a not enabled palette ...
         palette2.open(window1bii);
 
         dialogOwner.setTitle("Dialog Owner");

Modified: pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot686.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot686.java?rev=1529349&r1=1529348&r2=1529349&view=diff
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot686.java (original)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot686.java Fri Oct  4 23:45:40 2013
@@ -43,13 +43,15 @@ public class Pivot686 extends Applicatio
         forceFocus = Boolean.parseBoolean(forceFocusParameter);
 
         BXMLSerializer bxmlSerializer = new BXMLSerializer();
-        window = (Window)bxmlSerializer.readObject(this.getClass(), "pivot_686.bxml");
+        window = (Window) bxmlSerializer.readObject(this.getClass(), "pivot_686.bxml");
         initializeFields(bxmlSerializer);
         window.open(display);
 
         if (forceFocus == true) {
             System.out.println("force focus on textInput now");
-            textInput.requestFocus();  // force focus on TextInput, Ok when run as a Java Application, and even as Applet
+            textInput.requestFocus(); // force focus on TextInput, Ok when run
+                                      // as a Java Application, and even as
+                                      // Applet
         }
         System.out.println("textInput has focus: " + textInput.isFocused());
 
@@ -68,11 +70,11 @@ public class Pivot686 extends Applicatio
     private void initializeFields(BXMLSerializer serializer) {
         System.out.println("initializeFields: start");
 
-        textInput = (TextInput)serializer.getNamespace().get("textInput");
-        textInput.requestFocus();  // note that this has no effect here
+        textInput = (TextInput) serializer.getNamespace().get("textInput");
+        textInput.requestFocus(); // note that this has no effect here
         System.out.println("textInput has focus: " + textInput.isFocused());
 
-        pushButton = (PushButton)serializer.getNamespace().get("pushButton");
+        pushButton = (PushButton) serializer.getNamespace().get("pushButton");
         pushButton.getButtonPressListeners().add(new ButtonPressListener() {
             @Override
             public void buttonPressed(Button button) {

Modified: pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot694.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot694.java?rev=1529349&r1=1529348&r2=1529349&view=diff
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot694.java (original)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot694.java Fri Oct  4 23:45:40 2013
@@ -38,24 +38,24 @@ import org.apache.pivot.wtk.Window;
 public class Pivot694 extends Application.Adapter {
     private Window window = null;
 
-// TODO: for release 2.1 ... maybe generalizing some test here
-//    private ButtonGroup pushButtons = null;
-//    private ButtonGroup toggleButtons = null;
-//    private ButtonGroup radioButtons = null;
-//    private ButtonGroup checkButtons = null;
-//    private ButtonGroup checkTriButtons = null;
+    // TODO: for release 2.1 ... maybe generalizing some test here
+    // private ButtonGroup pushButtons = null;
+    // private ButtonGroup toggleButtons = null;
+    // private ButtonGroup radioButtons = null;
+    // private ButtonGroup checkButtons = null;
+    // private ButtonGroup checkTriButtons = null;
 
     private CalendarButton calendarButton1 = null;
     private CalendarButton calendarButton2 = null;
     private Spinner spinner1 = null;
     private Spinner spinner2 = null;
 
-    private ListView  listView1 = null;
-    private ListView  listView2 = null;
+    private ListView listView1 = null;
+    private ListView listView2 = null;
     private TableView tableView1 = null;
     private TableView tableView2 = null;
-    private TreeView  treeView1 = null;
-    private TreeView  treeView2 = null;
+    private TreeView treeView1 = null;
+    private TreeView treeView2 = null;
 
     private ListButton listButton1 = null;
     private ListButton listButton2 = null;
@@ -63,7 +63,6 @@ public class Pivot694 extends Applicatio
     private PushButton clearSelectionButton = null;
     private PushButton clearButton = null;
 
-
     @Override
     public void startup(Display display, Map<String, String> properties) throws Exception {
         System.out.println("startup: start");
@@ -71,17 +70,15 @@ public class Pivot694 extends Applicatio
         System.out.println("Test for clearing (selection) in many Components");
 
         BXMLSerializer bxmlSerializer = new BXMLSerializer();
-        window = (Window)bxmlSerializer.readObject(this.getClass(), "pivot_694.bxml");
+        window = (Window) bxmlSerializer.readObject(this.getClass(), "pivot_694.bxml");
         initializeFields(bxmlSerializer);
         window.open(display);
 
         System.out.println("Note that elements to clear selection, "
-            + " are to improve Pivot on this feature in a next release, so now only some components will support it"
-        );
+            + " are to improve Pivot on this feature in a next release, so now only some components will support it");
         System.out.println("Note that elements to clear (data) inside, will be emptied"
             + " only if they have a buttonDataKey/listDataKey/tableDataKey/treeDataKey/spinnerDataKey/xxxDataKey"
-            + " property set at creation time"
-        );
+            + " property set at creation time");
 
         System.out.println("startup: end");
     }
@@ -98,40 +95,46 @@ public class Pivot694 extends Applicatio
     private void initializeFields(BXMLSerializer serializer) {
         System.out.println("initializeFields: start");
 
-// TODO: for release 2.1 ... maybe generalizing some test here
-//        pushButtons = (ButtonGroup)serializer.getNamespace().get("pushButtons");
-//        toggleButtons = (ButtonGroup)serializer.getNamespace().get("toggleButtons");
-//        radioButtons = (ButtonGroup)serializer.getNamespace().get("radioButtons");
-//        checkButtons = (ButtonGroup)serializer.getNamespace().get("checkButtons");
-//        checkTriButtons = (ButtonGroup)serializer.getNamespace().get("checkTriButtons");
-
-        calendarButton1 = (CalendarButton)serializer.getNamespace().get("calendarButton1");
-        calendarButton2 = (CalendarButton)serializer.getNamespace().get("calendarButton2");
-        spinner1 = (Spinner)serializer.getNamespace().get("spinner1");
-        spinner2 = (Spinner)serializer.getNamespace().get("spinner2");
-
-        listView1 = (ListView)serializer.getNamespace().get("listView1");
-        listView2 = (ListView)serializer.getNamespace().get("listView2");
-        tableView1 = (TableView)serializer.getNamespace().get("tableView1");
-        tableView2 = (TableView)serializer.getNamespace().get("tableView2");
-        treeView1 = (TreeView)serializer.getNamespace().get("treeView1");
-        treeView2 = (TreeView)serializer.getNamespace().get("treeView2");
+        // TODO: for release 2.1 ... maybe generalizing some test here
+        // pushButtons =
+        // (ButtonGroup)serializer.getNamespace().get("pushButtons");
+        // toggleButtons =
+        // (ButtonGroup)serializer.getNamespace().get("toggleButtons");
+        // radioButtons =
+        // (ButtonGroup)serializer.getNamespace().get("radioButtons");
+        // checkButtons =
+        // (ButtonGroup)serializer.getNamespace().get("checkButtons");
+        // checkTriButtons =
+        // (ButtonGroup)serializer.getNamespace().get("checkTriButtons");
+
+        calendarButton1 = (CalendarButton) serializer.getNamespace().get("calendarButton1");
+        calendarButton2 = (CalendarButton) serializer.getNamespace().get("calendarButton2");
+        spinner1 = (Spinner) serializer.getNamespace().get("spinner1");
+        spinner2 = (Spinner) serializer.getNamespace().get("spinner2");
+
+        listView1 = (ListView) serializer.getNamespace().get("listView1");
+        listView2 = (ListView) serializer.getNamespace().get("listView2");
+        tableView1 = (TableView) serializer.getNamespace().get("tableView1");
+        tableView2 = (TableView) serializer.getNamespace().get("tableView2");
+        treeView1 = (TreeView) serializer.getNamespace().get("treeView1");
+        treeView2 = (TreeView) serializer.getNamespace().get("treeView2");
 
-        listButton1 = (ListButton)serializer.getNamespace().get("listButton1");
-        listButton2 = (ListButton)serializer.getNamespace().get("listButton2");
+        listButton1 = (ListButton) serializer.getNamespace().get("listButton1");
+        listButton2 = (ListButton) serializer.getNamespace().get("listButton2");
 
-        clearSelectionButton = (PushButton)serializer.getNamespace().get("clearSelectionButton");
+        clearSelectionButton = (PushButton) serializer.getNamespace().get("clearSelectionButton");
         clearSelectionButton.getButtonPressListeners().add(new ButtonPressListener() {
             @Override
             public void buttonPressed(Button button) {
-                System.out.println("Clearing selection from " + button.getName() + " at " + new Date());
+                System.out.println("Clearing selection from " + button.getName() + " at "
+                    + new Date());
 
-// TODO: for release 2.1 ... maybe generalizing some test here
-//                pushButtons.clearSelection();
-//                toggleButtons.clearSelection();
-//                radioButtons.clearSelection();
-//                checkButtons.clearSelection();
-//                checkTriButtons.clearSelection();
+                // TODO: for release 2.1 ... maybe generalizing some test here
+                // pushButtons.clearSelection();
+                // toggleButtons.clearSelection();
+                // radioButtons.clearSelection();
+                // checkButtons.clearSelection();
+                // checkTriButtons.clearSelection();
 
                 calendarButton1.clearSelection();
                 calendarButton2.clearSelection();
@@ -152,18 +155,19 @@ public class Pivot694 extends Applicatio
             }
         });
 
-        clearButton = (PushButton)serializer.getNamespace().get("clearButton");
+        clearButton = (PushButton) serializer.getNamespace().get("clearButton");
         clearButton.getButtonPressListeners().add(new ButtonPressListener() {
             @Override
             public void buttonPressed(Button button) {
                 System.out.println("Clearing data from " + button.getName() + " at " + new Date());
 
-// TODO: verify for release 2.1 if implement a method to empty components inside ...
-//                pushButtons.remove(button);
-//                toggleButtons.remove(button);
-//                radioButtons.remove(button);
-//                checkButtons.remove(button);
-//                checkTriButtons.remove(button);
+                // TODO: verify for release 2.1 if implement a method to empty
+                // components inside ...
+                // pushButtons.remove(button);
+                // toggleButtons.remove(button);
+                // radioButtons.remove(button);
+                // checkButtons.remove(button);
+                // checkTriButtons.remove(button);
 
                 // force clear of elements data ...
                 clearComponent(calendarButton1);
@@ -180,9 +184,11 @@ public class Pivot694 extends Applicatio
                 clearComponent(treeView1);
                 clearComponent(treeView2);
 
-// TODO: put (in bxml) the two tableView in a SplitPane, and see some strange moving mouse over  ...
+                // TODO: put (in bxml) the two tableView in a SplitPane, and see
+                // some strange moving mouse over ...
 
-// TODO: add clear/clearSelection methods even to some type of buttons (all types in the first row displayed) ...
+                // TODO: add clear/clearSelection methods even to some type of
+                // buttons (all types in the first row displayed) ...
 
             }
         });
@@ -197,10 +203,8 @@ public class Pivot694 extends Applicatio
         component.clear();
         component.repaint();
 
-        System.out.println("Component " + component + " with name \""
-            + component.getName() + "\""
-            + " cleared, and forced a repaint on it"
-        );
+        System.out.println("Component " + component + " with name \"" + component.getName() + "\""
+            + " cleared, and forced a repaint on it");
     }
 
     public static void main(String[] args) {

Modified: pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot714.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot714.java?rev=1529349&r1=1529348&r2=1529349&view=diff
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot714.java (original)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot714.java Fri Oct  4 23:45:40 2013
@@ -49,21 +49,21 @@ public class Pivot714 extends Applicatio
         this.owner = ownerArgument;
         final BXMLSerializer bxmlSerializer = new BXMLSerializer();
         try {
-            result = (Dialog)bxmlSerializer.readObject(Pivot714.class.getResource("pivot_714.bxml"));
+            result = (Dialog) bxmlSerializer.readObject(Pivot714.class.getResource("pivot_714.bxml"));
         } catch (IOException e) {
             e.printStackTrace();
         } catch (SerializationException e) {
             e.printStackTrace();
         }
 
-        final ListButton motif = (ListButton)bxmlSerializer.getNamespace().get("motif");
+        final ListButton motif = (ListButton) bxmlSerializer.getNamespace().get("motif");
 
         ArrayList<String> al = new ArrayList<>();
         al.add("One");
         al.add("Two");
         motif.setListData(al);
 
-        CalendarButton cbDate = (CalendarButton)bxmlSerializer.getNamespace().get("date");
+        CalendarButton cbDate = (CalendarButton) bxmlSerializer.getNamespace().get("date");
         dcl = (new DialogCloseListener() {
             @Override
             public void dialogClosed(Dialog dialog, boolean modal) {
@@ -72,7 +72,8 @@ public class Pivot714 extends Applicatio
         });
         cbDate.getCalendarButtonSelectionListeners().add(new CalendarButtonSelectionListener() {
             @Override
-            public void selectedDateChanged(CalendarButton calendarButton, CalendarDate previousSelectedDate) {
+            public void selectedDateChanged(CalendarButton calendarButton,
+                CalendarDate previousSelectedDate) {
                 // empty block
             }
         });
@@ -93,17 +94,17 @@ public class Pivot714 extends Applicatio
         result.open(owner, dcl);
     }
 
-   @Override
+    @Override
     public boolean shutdown(boolean optional) {
-       if (result != null) {
-           result.close();
-       }
+        if (result != null) {
+            result.close();
+        }
 
-       if (frame != null) {
+        if (frame != null) {
             frame.close();
-       }
+        }
 
-       return false;
+        return false;
     }
 
     public static void main(String[] args) {

Modified: pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot721.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot721.java?rev=1529349&r1=1529348&r2=1529349&view=diff
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot721.java (original)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot721.java Fri Oct  4 23:45:40 2013
@@ -38,21 +38,26 @@ public class Pivot721 extends Applicatio
         ButtonDataRenderer filledButtonDataRenderer = new ButtonDataRenderer();
         filledButtonDataRenderer.setFillIcon(true);
         PushButton button3 = (PushButton) bxmlSerializer.getNamespace().get("button3");
-        // ((ButtonDataRenderer)button3.getDataRenderer()).setFillIcon(true);  // ok, but note that all buttons share a common renderer instance
-        button3.setDataRenderer(filledButtonDataRenderer);  // set/use the customized renderer instance
+        // ((ButtonDataRenderer)button3.getDataRenderer()).setFillIcon(true); //
+        // ok, but note that all buttons share a common renderer instance
+        button3.setDataRenderer(filledButtonDataRenderer); // set/use the
+                                                           // customized
+                                                           // renderer instance
         PushButton button4 = (PushButton) bxmlSerializer.getNamespace().get("button4");
-        button4.setDataRenderer(filledButtonDataRenderer);  // set/use the customized renderer instance
+        button4.setDataRenderer(filledButtonDataRenderer); // set/use the
+                                                           // customized
+                                                           // renderer instance
 
         window.open(display);
     }
 
     @Override
     public boolean shutdown(boolean optional) {
-       if (window != null) {
-           window.close();
-       }
+        if (window != null) {
+            window.close();
+        }
 
-       return false;
+        return false;
     }
 
     public static void main(String[] args) {

Modified: pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot734.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot734.java?rev=1529349&r1=1529348&r2=1529349&view=diff
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot734.java (original)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot734.java Fri Oct  4 23:45:40 2013
@@ -54,8 +54,10 @@ public class Pivot734 extends Applicatio
         treeButtonAdd = (PushButton) bxmlSerializer.getNamespace().get("treeButtonAdd");
         treeButtonRemove = (PushButton) bxmlSerializer.getNamespace().get("treeButtonRemove");
         tree = (TreeView) bxmlSerializer.getNamespace().get("tree");
-        String treeStyleForShowEmptyBranchControls = ((Boolean) tree.getStyles().get("showEmptyBranchControls")).toString();
-        System.out.println("tree style for showEmptyBranchControls is " + treeStyleForShowEmptyBranchControls);
+        String treeStyleForShowEmptyBranchControls = ((Boolean) tree.getStyles().get(
+            "showEmptyBranchControls")).toString();
+        System.out.println("tree style for showEmptyBranchControls is "
+            + treeStyleForShowEmptyBranchControls);
 
         tree.getTreeViewSelectionListeners().add(new TreeViewSelectionListener() {
             @Override
@@ -85,10 +87,9 @@ public class Pivot734 extends Applicatio
                 Object x = tree.getSelectedNode();
                 System.out.println("add a 'new branch' element to the selected element :: " + x);
 
-                if (x != null && x instanceof TreeBranch)
-                {
+                if (x != null && x instanceof TreeBranch) {
                     TreeBranch treeBranch = new TreeBranch("new branch");
-                    ((TreeBranch)x).add(treeBranch);
+                    ((TreeBranch) x).add(treeBranch);
                 }
 
             }
@@ -98,12 +99,12 @@ public class Pivot734 extends Applicatio
             @Override
             public void buttonPressed(Button button) {
                 Object x = tree.getSelectedNode();
-                System.out.println("remove a 'new branch' element under the selected element :: " + x);
+                System.out.println("remove a 'new branch' element under the selected element :: "
+                    + x);
 
-                if (x != null && x instanceof TreeBranch)
-                {
+                if (x != null && x instanceof TreeBranch) {
                     TreeBranch treeBranch = new TreeBranch("new branch");
-                    ((TreeBranch)x).remove(treeBranch);
+                    ((TreeBranch) x).remove(treeBranch);
                 }
 
             }

Modified: pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot734WithWorkaround.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot734WithWorkaround.java?rev=1529349&r1=1529348&r2=1529349&view=diff
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot734WithWorkaround.java (original)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot734WithWorkaround.java Fri Oct  4 23:45:40 2013
@@ -54,8 +54,10 @@ public class Pivot734WithWorkaround exte
         treeButtonAdd = (PushButton) bxmlSerializer.getNamespace().get("treeButtonAdd");
         treeButtonRemove = (PushButton) bxmlSerializer.getNamespace().get("treeButtonRemove");
         tree = (TreeView) bxmlSerializer.getNamespace().get("tree");
-        String treeStyleForShowEmptyBranchControls = ((Boolean) tree.getStyles().get("showEmptyBranchControls")).toString();
-        System.out.println("tree style for showEmptyBranchControls is " + treeStyleForShowEmptyBranchControls);
+        String treeStyleForShowEmptyBranchControls = ((Boolean) tree.getStyles().get(
+            "showEmptyBranchControls")).toString();
+        System.out.println("tree style for showEmptyBranchControls is "
+            + treeStyleForShowEmptyBranchControls);
 
         tree.getTreeViewSelectionListeners().add(new TreeViewSelectionListener() {
             @Override
@@ -85,15 +87,14 @@ public class Pivot734WithWorkaround exte
                 Object x = tree.getSelectedNode();
                 System.out.println("add a 'new branch' element to the selected element :: " + x);
 
-                if (x != null && x instanceof TreeBranch)
-                {
+                if (x != null && x instanceof TreeBranch) {
                     TreeBranch treeBranch = new TreeBranch("new branch");
 
                     // workaround for PIVOT-734
                     Path path = tree.getSelectedPath();
                     tree.setBranchExpanded(path, true);
 
-                    ((TreeBranch)x).add(treeBranch);
+                    ((TreeBranch) x).add(treeBranch);
                 }
 
             }
@@ -103,12 +104,12 @@ public class Pivot734WithWorkaround exte
             @Override
             public void buttonPressed(Button button) {
                 Object x = tree.getSelectedNode();
-                System.out.println("remove a 'new branch' element under the selected element :: " + x);
+                System.out.println("remove a 'new branch' element under the selected element :: "
+                    + x);
 
-                if (x != null && x instanceof TreeBranch)
-                {
+                if (x != null && x instanceof TreeBranch) {
                     TreeBranch treeBranch = new TreeBranch("new branch");
-                    ((TreeBranch)x).remove(treeBranch);
+                    ((TreeBranch) x).remove(treeBranch);
                 }
 
             }

Modified: pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot738.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot738.java?rev=1529349&r1=1529348&r2=1529349&view=diff
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot738.java (original)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot738.java Fri Oct  4 23:45:40 2013
@@ -47,8 +47,10 @@ public class Pivot738 extends Applicatio
 
     public static void main(String[] args) {
         // turn on debug drawing, to better see painting problems
-        // System.setProperty("org.apache.pivot.wtk.debugfocus", "true");  // debug focus
-        System.setProperty("org.apache.pivot.wtk.debugpaint", "true");  // debug paint
+        // System.setProperty("org.apache.pivot.wtk.debugfocus", "true"); //
+        // debug focus
+        System.setProperty("org.apache.pivot.wtk.debugpaint", "true"); // debug
+                                                                       // paint
 
         DesktopApplicationContext.main(new String[] { Pivot738.class.getName() });
     }

Modified: pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot751WithoutGUI.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot751WithoutGUI.java?rev=1529349&r1=1529348&r2=1529349&view=diff
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot751WithoutGUI.java (original)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot751WithoutGUI.java Fri Oct  4 23:45:40 2013
@@ -30,15 +30,16 @@ public class Pivot751WithoutGUI extends 
             @Override
             public void selectedIndexChanged(TabPane tabPaneArgument, int previousSelectedIndex) {
                 System.out.println(String.format("tabs     : %-16d actual selectedIndex    : %d",
-                        tabPaneArgument.getTabs().getLength(), tabPaneArgument.getSelectedIndex()));
+                    tabPaneArgument.getTabs().getLength(), tabPaneArgument.getSelectedIndex()));
                 System.out.println(String.format("indirect : %-16s 'previousSelectedIndex' : %d",
-                        (previousSelectedIndex == tabPaneArgument.getSelectedIndex()), previousSelectedIndex));
+                    (previousSelectedIndex == tabPaneArgument.getSelectedIndex()),
+                    previousSelectedIndex));
             }
         });
 
         System.out.println("Empty TabPane sequence");
         System.out.println(String.format("tabs     : %-16d actual selectedIndex    : %d",
-                tabPane.getTabs().getLength(), tabPane.getSelectedIndex()));
+            tabPane.getTabs().getLength(), tabPane.getSelectedIndex()));
 
         System.out.println("\nAdding first Label to the sequence");
         tabPane.getTabs().add(new Label("1"));

Modified: pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot765.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot765.java?rev=1529349&r1=1529348&r2=1529349&view=diff
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot765.java (original)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot765.java Fri Oct  4 23:45:40 2013
@@ -28,10 +28,10 @@ import org.apache.pivot.wtk.Window;
 import org.apache.pivot.wtk.WindowStateListener;
 
 /**
- * This test will check that the previewWindowOpen method is called
- * before the ListPopup of the MenuButton is opened. This is crucial because
- * one need to populate the Menu before the Window opens, so that correct sizing
- * and layout can be performed.
+ * This test will check that the previewWindowOpen method is called before the
+ * ListPopup of the MenuButton is opened. This is crucial because one need to
+ * populate the Menu before the Window opens, so that correct sizing and layout
+ * can be performed.
  */
 public class Pivot765 extends Application.Adapter {
     private boolean menuPopulated = false;
@@ -58,8 +58,10 @@ public class Pivot765 extends Applicatio
             @Override
             public void windowOpened(Window windowArgument) {
                 if (!menuPopulated)
-                    Alert.alert("Window was opened before the menu was populated." +
-                            "Either previewWindowOpen threw an exception, or it wasn't called before the Window was opened.", windowArgument);
+                    Alert.alert(
+                        "Window was opened before the menu was populated."
+                            + "Either previewWindowOpen threw an exception, or it wasn't called before the Window was opened.",
+                        windowArgument);
             }
 
             @Override
@@ -70,7 +72,6 @@ public class Pivot765 extends Applicatio
             }
         });
 
-
         window.open(display);
     }
 
@@ -80,7 +81,7 @@ public class Pivot765 extends Applicatio
     }
 
     public static void main(String[] args) {
-        DesktopApplicationContext.main( new String[] { Pivot765.class.getName() });
+        DesktopApplicationContext.main(new String[] { Pivot765.class.getName() });
     }
 
 }

Modified: pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot800.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot800.java?rev=1529349&r1=1529348&r2=1529349&view=diff
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot800.java (original)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot800.java Fri Oct  4 23:45:40 2013
@@ -48,7 +48,8 @@ public class Pivot800 extends Applicatio
             sheet.setRootDirectory(homeFolder);
             System.out.println("selecting file " + firstFolderInHome);
             sheet.setSelectedFile(firstFolderInHome);
-            System.out.println("Selected file is " + sheet.getSelectedFile() + ", but button state is not updated!");
+            System.out.println("Selected file is " + sheet.getSelectedFile()
+                + ", but button state is not updated!");
         }
     }
 

Modified: pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot811.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot811.java?rev=1529349&r1=1529348&r2=1529349&view=diff
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot811.java (original)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot811.java Fri Oct  4 23:45:40 2013
@@ -41,7 +41,8 @@ public class Pivot811 extends Applicatio
     private Display display = null;
 
     @Override
-    public void startup(final Display displayArgument, Map<String, String> properties) throws Exception {
+    public void startup(final Display displayArgument, Map<String, String> properties)
+        throws Exception {
         this.display = displayArgument;
 
         Frame listFrame = new Frame();
@@ -61,7 +62,8 @@ public class Pivot811 extends Applicatio
         ScrollPane scrollPane = new ScrollPane();
         scrollPane.setHorizontalScrollBarPolicy(ScrollBarPolicy.FILL);
         scrollPane.setVerticalScrollBarPolicy(ScrollBarPolicy.FILL_TO_CAPACITY);
-        scrollPane.setRepaintAllViewport(true);  // workaround for pivot-738, needed only in in some cases
+        scrollPane.setRepaintAllViewport(true); // workaround for pivot-738,
+                                                // needed only in in some cases
         boxPane.add(scrollPane);
 
         final ListView listView = new ListView();
@@ -81,7 +83,8 @@ public class Pivot811 extends Applicatio
 
         listView.getComponentMouseButtonListeners().add(new ComponentMouseButtonListener.Adapter() {
             @Override
-            public boolean mouseClick(Component component, Mouse.Button button, int x, int y, int count) {
+            public boolean mouseClick(Component component, Mouse.Button button, int x, int y,
+                int count) {
                 System.out.println("mouseClick : " + count);
 
                 if (count == 2) {
@@ -102,18 +105,21 @@ public class Pivot811 extends Applicatio
                     String selectedItem = listView.getSelectedItem().toString();
                     Label label = new Label("Selected Item is \"" + selectedItem + "\"");
                     boxPaneLocal.add(label);
-                    boxPaneLocal.add(new Label(""));  // spacer
+                    boxPaneLocal.add(new Label("")); // spacer
 
                     boxPaneLocal.add(new Label("Click inside the text input to focus it"));
                     TextInput textInput = new TextInput();
                     textInput.setText("Focusable component");
-                    boxPaneLocal.add(textInput);  // workaround for pivot-811: add a focusable element inside the frame
+                    boxPaneLocal.add(textInput); // workaround for pivot-811:
+                                                 // add a focusable element
+                                                 // inside the frame
 
                     detailFrame.open(displayArgument);
 
-                    // workaround for pivot-811: force the focus on the first focusable element inside the frame
+                    // workaround for pivot-811: force the focus on the first
+                    // focusable element inside the frame
                     detailFrame.requestFocus();
-                    // textInput.requestFocus();  // or use this ...
+                    // textInput.requestFocus(); // or use this ...
                 }
 
                 return true;
@@ -137,8 +143,10 @@ public class Pivot811 extends Applicatio
 
     public static void main(String[] args) {
         // turn on debug drawing, to better see painting problems
-        System.setProperty("org.apache.pivot.wtk.debugfocus", "true");  // debug focus
-        // System.setProperty("org.apache.pivot.wtk.debugpaint", "true");  // debug paint
+        System.setProperty("org.apache.pivot.wtk.debugfocus", "true"); // debug
+                                                                       // focus
+        // System.setProperty("org.apache.pivot.wtk.debugpaint", "true"); //
+        // debug paint
 
         DesktopApplicationContext.main(new String[] { Pivot811.class.getName() });
     }

Modified: pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot832.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot832.java?rev=1529349&r1=1529348&r2=1529349&view=diff
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot832.java (original)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot832.java Fri Oct  4 23:45:40 2013
@@ -33,8 +33,7 @@ import org.apache.pivot.wtk.Sheet;
 import org.apache.pivot.wtk.SheetCloseListener;
 import org.apache.pivot.wtk.Window;
 
-public class Pivot832 extends Application.Adapter
-{
+public class Pivot832 extends Application.Adapter {
     private Window window = null;
     private String selectedFolder = null;
 
@@ -44,7 +43,6 @@ public class Pivot832 extends Applicatio
     @BXML
     private PushButton openFileButton = null;
 
-
     @Override
     public void startup(Display display, Map<String, String> properties) throws Exception {
         BXMLSerializer bxmlSerializer = new BXMLSerializer();
@@ -56,7 +54,13 @@ public class Pivot832 extends Applicatio
             public void buttonPressed(Button button) {
                 final FileBrowserSheet fileBrowserSheet = new FileBrowserSheet();
 
-                fileBrowserSheet.setMode(FileBrowserSheet.Mode.SAVE_TO);  // to be able to select a folder
+                fileBrowserSheet.setMode(FileBrowserSheet.Mode.SAVE_TO); // to
+                                                                         // be
+                                                                         // able
+                                                                         // to
+                                                                         // select
+                                                                         // a
+                                                                         // folder
                 fileBrowserSheet.open(window, new SheetCloseListener() {
                     @Override
                     public void sheetClosed(Sheet sheet) {
@@ -91,7 +95,8 @@ public class Pivot832 extends Applicatio
             public void buttonPressed(Button button) {
                 System.out.println("Now opening a BrowserSheet starting from the previous selected folder: \""
                     + selectedFolder + "\"");
-                final FileBrowserSheet fileBrowserSheet = new FileBrowserSheet(FileBrowserSheet.Mode.OPEN, selectedFolder);
+                final FileBrowserSheet fileBrowserSheet = new FileBrowserSheet(
+                    FileBrowserSheet.Mode.OPEN, selectedFolder);
 
                 try {
                     // multiple tests ...

Modified: pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot835.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot835.java?rev=1529349&r1=1529348&r2=1529349&view=diff
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot835.java (original)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot835.java Fri Oct  4 23:45:40 2013
@@ -23,8 +23,7 @@ import org.apache.pivot.wtk.DesktopAppli
 import org.apache.pivot.wtk.Display;
 import org.apache.pivot.wtk.Window;
 
-public class Pivot835 extends Application.Adapter
-{
+public class Pivot835 extends Application.Adapter {
     @Override
     public void startup(Display display, Map<String, String> properties) throws Exception {
         BXMLSerializer bxmlSerializer = new BXMLSerializer();

Modified: pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot837.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot837.java?rev=1529349&r1=1529348&r2=1529349&view=diff
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot837.java (original)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot837.java Fri Oct  4 23:45:40 2013
@@ -23,8 +23,7 @@ import org.apache.pivot.wtk.DesktopAppli
 import org.apache.pivot.wtk.Display;
 import org.apache.pivot.wtk.Window;
 
-public class Pivot837 extends Application.Adapter
-{
+public class Pivot837 extends Application.Adapter {
 
     @Override
     public void startup(Display display, Map<String, String> properties) throws Exception {

Modified: pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot838.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot838.java?rev=1529349&r1=1529348&r2=1529349&view=diff
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot838.java (original)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot838.java Fri Oct  4 23:45:40 2013
@@ -22,17 +22,15 @@ import org.apache.pivot.wtk.DesktopAppli
 import org.apache.pivot.wtk.Display;
 import org.apache.pivot.wtk.Window;
 
-public class Pivot838 extends Application.Adapter
-{
+public class Pivot838 extends Application.Adapter {
 
     @Override
-    public void startup(Display display, Map<String, String> properties) throws Exception
-    {
+    public void startup(Display display, Map<String, String> properties) throws Exception {
         // TODO: empty currently ...
 
         Window window = new Window();
         window.open(display);
-      }
+    }
 
     public static void main(String[] args) {
         DesktopApplicationContext.main(Pivot838.class, args);

Modified: pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot841.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot841.java?rev=1529349&r1=1529348&r2=1529349&view=diff
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot841.java (original)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot841.java Fri Oct  4 23:45:40 2013
@@ -26,34 +26,35 @@ import org.apache.pivot.wtk.TextArea.Par
 import org.apache.pivot.wtk.TextAreaContentListener;
 import org.apache.pivot.wtk.Window;
 
-public class Pivot841 extends Application.Adapter
-{
+public class Pivot841 extends Application.Adapter {
 
     @Override
-    public void startup(Display display, Map<String, String> properties) throws Exception
-    {
+    public void startup(Display display, Map<String, String> properties) throws Exception {
         TextArea textArea = new TextArea();
         textArea.setText("abcxyz");
 
         final ParagraphListener paragraphListener = new ParagraphListener.Adapter() {
             @Override
             public void textInserted(Paragraph paragraph, int index, int count) {
-                System.out.println("Text inserted\n\tparagraph content: '" + paragraph.getCharacters() + "" + "'\n\tindex: " + index + "\n\tcount: " + count);
+                System.out.println("Text inserted\n\tparagraph content: '"
+                    + paragraph.getCharacters() + "" + "'\n\tindex: " + index + "\n\tcount: "
+                    + count);
             }
 
             @Override
             public void textRemoved(Paragraph paragraph, int index, int count) {
-                System.out.println("Text removed\n\tparagraph content: '" + paragraph.getCharacters() + "'\n\tindex: " + index + "\n\tcount: " + count);
+                System.out.println("Text removed\n\tparagraph content: '"
+                    + paragraph.getCharacters() + "'\n\tindex: " + index + "\n\tcount: " + count);
             }
         };
 
         textArea.getParagraphs().get(0).getParagraphListeners().add(paragraphListener);
         textArea.getTextAreaContentListeners().add(new TextAreaContentListener.Adapter() {
             @Override
-            public void paragraphInserted(TextArea textAreaArgument, int index)
-            {
+            public void paragraphInserted(TextArea textAreaArgument, int index) {
                 Paragraph paragraph = textAreaArgument.getParagraphs().get(index);
-                System.out.println("Paragraph inserted\n\tparagraph content: '" + paragraph.getCharacters() + "'\n\tindex: " + index);
+                System.out.println("Paragraph inserted\n\tparagraph content: '"
+                    + paragraph.getCharacters() + "'\n\tindex: " + index);
 
                 paragraph.getParagraphListeners().add(paragraphListener);
             }
@@ -61,7 +62,7 @@ public class Pivot841 extends Applicatio
 
         Window window = new Window(textArea);
         window.open(display);
-      }
+    }
 
     public static void main(String[] args) {
         DesktopApplicationContext.main(Pivot841.class, args);

Modified: pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot862.java
URL: http://svn.apache.org/viewvc/pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot862.java?rev=1529349&r1=1529348&r2=1529349&view=diff
==============================================================================
--- pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot862.java (original)
+++ pivot/trunk/tests/src/org/apache/pivot/tests/issues/Pivot862.java Fri Oct  4 23:45:40 2013
@@ -33,8 +33,7 @@ import org.apache.pivot.wtk.Sheet;
 import org.apache.pivot.wtk.SheetCloseListener;
 import org.apache.pivot.wtk.Window;
 
-public class Pivot862 extends Application.Adapter
-{
+public class Pivot862 extends Application.Adapter {
     private Window window = null;
     private String selectedFolder = null;
 
@@ -44,7 +43,6 @@ public class Pivot862 extends Applicatio
     @BXML
     private PushButton openFileButton = null;
 
-
     @Override
     public void startup(Display display, Map<String, String> properties) throws Exception {
         BXMLSerializer bxmlSerializer = new BXMLSerializer();
@@ -56,7 +54,13 @@ public class Pivot862 extends Applicatio
             public void buttonPressed(Button button) {
                 final FileBrowserSheet fileBrowserSheet = new FileBrowserSheet();
 
-                fileBrowserSheet.setMode(FileBrowserSheet.Mode.SAVE_TO);  // to be able to select a folder
+                fileBrowserSheet.setMode(FileBrowserSheet.Mode.SAVE_TO); // to
+                                                                         // be
+                                                                         // able
+                                                                         // to
+                                                                         // select
+                                                                         // a
+                                                                         // folder
                 fileBrowserSheet.open(window, new SheetCloseListener() {
                     @Override
                     public void sheetClosed(Sheet sheet) {
@@ -92,10 +96,16 @@ public class Pivot862 extends Applicatio
                 System.out.println("Now opening a BrowserSheet starting from the previous selected folder: \""
                     + selectedFolder + "\"");
                 FileBrowserSheet fileBrowserSheet =
-                        // new FileBrowserSheet(FileBrowserSheet.Mode.OPEN, selectedFolder);  // use this as a workaround ...
-                        new FileBrowserSheet(FileBrowserSheet.Mode.OPEN);  // test to see the wrong behavior
-                        // new FileBrowserSheet();  // test to see the wrong behavior
-                fileBrowserSheet.setRootFolder(selectedFolder);  // ok, but doesn't solve this issue ...
+                // new FileBrowserSheet(FileBrowserSheet.Mode.OPEN,
+                // selectedFolder); // use this as a workaround ...
+                new FileBrowserSheet(FileBrowserSheet.Mode.OPEN); // test to see
+                                                                  // the wrong
+                                                                  // behavior
+                // new FileBrowserSheet(); // test to see the wrong behavior
+                fileBrowserSheet.setRootFolder(selectedFolder); // ok, but
+                                                                // doesn't solve
+                                                                // this issue
+                                                                // ...
                 System.out.println("\nNote: the behavior here is right only when using the constructor with two parameters ..."
                     + " but in this source it's used one of other constructors.\n");