Revision: 593
Author: allain.lalonde
Date: Mon Jul 27 22:02:02 2009
Log: Cleaning up examples a little
http://code.google.com/p/piccolo2d/source/detail?r=593

Modified:
   
/piccolo2d.java/trunk/examples/src/main/java/edu/umd/cs/piccolo/examples/ExampleRunner.java
   
/piccolo2d.java/trunk/examples/src/main/java/edu/umd/cs/piccolo/examples/OffscreenCanvasExample.java

=======================================
---  
/piccolo2d.java/trunk/examples/src/main/java/edu/umd/cs/piccolo/examples/ExampleRunner.java
      
Mon Jul 27 13:48:11 2009
+++  
/piccolo2d.java/trunk/examples/src/main/java/edu/umd/cs/piccolo/examples/ExampleRunner.java
      
Mon Jul 27 22:02:02 2009
@@ -85,10 +85,10 @@
          addExampleButtons(panel, new Class[] { ActivityExample.class,  
AngleNodeExample.class,
                  BirdsEyeViewExample.class, CameraExample.class,  
CenterExample.class, ChartLabelExample.class,
                  ClipExample.class, CompositeExample.class,  
DynamicExample.class, EventHandlerExample.class,
-                FullScreenNodeExample.class, GraphEditorExample.class,  
GraphEditorExample.class, GridExample.class,
-                GroupExample.class, HandleExample.class,  
HierarchyZoomExample.class, KeyEventFocusExample.class,
+                FullScreenNodeExample.class, GraphEditorExample.class,  
GridExample.class, GroupExample.class,
+                HandleExample.class, HelloWorldExample.class,  
HierarchyZoomExample.class, KeyEventFocusExample.class,
                  LayoutExample.class, LensExample.class,  
NavigationExample.class, NodeCacheExample.class,
-                NodeEventExample.class, NodeEventExample.class,  
NodeLinkExample.class, PanToExample.class,
+                NodeEventExample.class, NodeExample.class,  
NodeLinkExample.class, PanToExample.class,
                  PathExample.class, PositionExample.class,  
PositionPathActivityExample.class, PulseExample.class,
                  ScrollingExample.class, SelectionExample.class,  
SquiggleExample.class, StickyExample.class,
                  StickyHandleLayerExample.class, StrokeExample.class,  
TextExample.class, TooltipExample.class,
@@ -111,7 +111,8 @@
                       
example.setDefaultCloseOperation(PFrame.DISPOSE_ON_CLOSE);
                  }
                  catch (Exception e) {
-                    JOptionPane.showMessageDialog(ExampleRunner.this, "A  
problem was encountered running the example");
+                    JOptionPane.showMessageDialog(ExampleRunner.this,
+                            "A problem was encountered running the  
example.\n\n" + e.getMessage());
                  }
              }
          });
=======================================
---  
/piccolo2d.java/trunk/examples/src/main/java/edu/umd/cs/piccolo/examples/OffscreenCanvasExample.java
     
Mon May  4 10:37:03 2009
+++  
/piccolo2d.java/trunk/examples/src/main/java/edu/umd/cs/piccolo/examples/OffscreenCanvasExample.java
     
Mon Jul 27 22:02:02 2009
@@ -35,14 +35,12 @@
  import java.awt.GraphicsConfiguration;
  import java.awt.GraphicsDevice;
  import java.awt.GraphicsEnvironment;
-import java.awt.geom.AffineTransform;
  import java.awt.geom.Rectangle2D;
  import java.awt.image.BufferStrategy;

  import edu.umd.cs.piccolo.activities.PActivity;
  import edu.umd.cs.piccolo.nodes.PPath;
  import edu.umd.cs.piccolo.nodes.PText;
-
  import edu.umd.cs.piccolox.POffscreenCanvas;

  /**

--~--~---------~--~----~------------~-------~--~----~
Piccolo2D Developers Group: http://groups.google.com/group/piccolo2d-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to