diff options
author | Jakob Odersky <jodersky@gmail.com> | 2009-12-20 17:53:45 +0000 |
---|---|---|
committer | Jakob Odersky <jodersky@gmail.com> | 2009-12-20 17:53:45 +0000 |
commit | e87fcc40f9a2e8624d3260abf8180596de79b152 (patch) | |
tree | a3052eb7b657099e2bd616ce74b903f6250527e5 /src/graphyx/gui/InfoPanel.scala | |
parent | 66d338aec5d632927fa561a68310c8931938e9e0 (diff) | |
download | sims-e87fcc40f9a2e8624d3260abf8180596de79b152.tar.gz sims-e87fcc40f9a2e8624d3260abf8180596de79b152.tar.bz2 sims-e87fcc40f9a2e8624d3260abf8180596de79b152.zip |
Made code fully compatible with scala 2.8.
Diffstat (limited to 'src/graphyx/gui/InfoPanel.scala')
-rw-r--r-- | src/graphyx/gui/InfoPanel.scala | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/graphyx/gui/InfoPanel.scala b/src/graphyx/gui/InfoPanel.scala index 6e58ba3..d9dad43 100644 --- a/src/graphyx/gui/InfoPanel.scala +++ b/src/graphyx/gui/InfoPanel.scala @@ -7,9 +7,11 @@ package graphyx.gui import scala.swing._ +import scala.swing._ + class InfoPanel(container: Container) extends BoxPanel(Orientation.Vertical){ - preferredSize = (200, 50) - + preferredSize = new java.awt.Dimension(200, 50) + val out = new TextArea out.editable = false contents += out |