Changeset 6933 for lang/scala

Show
Ignore:
Timestamp:
02/19/08 19:19:10 (9 months ago)
Author:
kmizu
Message:
 
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/scala/sandbox/src/jp/gr/java_conf/mizu/gui/GUIBuilder.scala

    r6931 r6933  
    5353        } 
    5454  def textField(params :Any*) :JTextField = { 
    55      val widget = new JTextField 
    56      asContainer.add(widget) 
    57      params.foreach { 
    58      case text:String => widget.setText(text) 
    59      case (property:Symbol, value) => setProperty(widget, property, value) 
    60      } 
    61      widget 
     55    val widget = new JTextField 
     56    asContainer.add(widget) 
     57    params.foreach { 
     58    case text:String => widget.setText(text) 
     59    case (property:Symbol, value) => setProperty(widget, property, value) 
     60    } 
     61    widget 
    6262  } 
    6363        def action(handler :ActionEvent => Unit) :ActionListener = {