title: Scala Swing event framework - where do I add my reactors?
body: <p>I'm trying to catch a mouse-click even on a <code>Table</code> (which should cause a popup to be shown). The table is inside a <code>ScrollPane</code> which is (in turn) inside a <code>Panel</code>. I have added reactions to all the classes, but I can never seem to actually get a click event to be caught!</p>
  
  <pre><code>class MyPanel extends GridBagPanel {
    val gbc = new GridBagContraints( ... )
  
    add(new ScrollPane {
      reactions += {
        case MouseClicked(src, point, mod, clicks, pops) =&gt;
          println("Scroll pops: " + pops)
      } 
  
      viewportView = new Table {
        reactions += {
          case MouseClicked(src, point, mod, clicks, pops) =&gt;
            println("Table pops: " + pops)
        } 
  
        ...
      }
  
    }, gbc)
  
    reactions += {
      case MouseClicked(src, point, mod, clicks, pops) =&gt;
        println("Panel pops: " + pops)
    } 
  }
  </code></pre>
  
  <p>No matter where I click, nothing gets printed. What am I doing wrong?</p>