<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -30,9 +30,9 @@ public class EnumeratorDebugger {
         
         outlineTreePanel.addMouseListener(outlineTreePanel);
         
+        enumerator.generate();
         frame.setSize(800, 800);
         frame.setVisible(true);
-        enumerator.generate();
     }
     
     public static void main(String[] args) {</diff>
      <filename>src/app/EnumeratorDebugger.java</filename>
    </modified>
    <modified>
      <diff>@@ -120,6 +120,8 @@ public class OutlineTree {
     
     private boolean isDirty = false;
     
+    private GraphicalNode selected;
+    
     public OutlineTree() {
         nodeList = new ArrayList&lt;GraphicalNode&gt;();
     }
@@ -190,14 +192,21 @@ public class OutlineTree {
                     child.x + xOffset, child.y + yOffset);
             draw(child, g);
         }
-        g.drawOval((current.x - nodeWidth/2) + xOffset, 
-                   (current.y - nodeWidth/2) + yOffset,
-                   nodeWidth, nodeHeight);
+        if (current == selected) {
+            g.fillOval((current.x - nodeWidth/2) + xOffset, 
+                    (current.y - nodeWidth/2) + yOffset,
+                    nodeWidth, nodeHeight);
+        } else {
+            g.drawOval((current.x - nodeWidth/2) + xOffset, 
+                       (current.y - nodeWidth/2) + yOffset,
+                       nodeWidth, nodeHeight);
+        }
     }
 
     public SimpleGraph getGraphAt(int x, int y) {
         for (GraphicalNode node : this.nodeList) {
             if (within(node, x, y)) {
+                selected = node;
                 return node.graph;
             }
         }</diff>
      <filename>src/display/signature/OutlineTree.java</filename>
    </modified>
    <modified>
      <diff>@@ -51,6 +51,7 @@ public class OutlineTreePanel extends JPanel
         SimpleGraph g = this.getGraphAt(e.getX(), e.getY());
         if (g != null) {
             graphSelectionListener.graphSelected(new GraphSelectionEvent(g));
+            this.repaint();
         }
     }
 </diff>
      <filename>src/display/signature/OutlineTreePanel.java</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>fa9cc94646211b86a4e499a3e0f651a472c67658</id>
    </parent>
  </parents>
  <author>
    <name>maclean</name>
    <email>gilleain.torrance@gmail.com</email>
  </author>
  <url>http://github.com/gilleain/generation/commit/7c2a393772a4008e64352ce28ee22fdf71615a4d</url>
  <id>7c2a393772a4008e64352ce28ee22fdf71615a4d</id>
  <committed-date>2009-09-23T23:22:29-07:00</committed-date>
  <authored-date>2009-09-23T23:22:29-07:00</authored-date>
  <message>Repainting properly, and displaying selections</message>
  <tree>a2615135289989a0fcffd0328518137805bee9cd</tree>
  <committer>
    <name>maclean</name>
    <email>gilleain.torrance@gmail.com</email>
  </committer>
</commit>
