Changeset 6933 for lang/scala/sandbox
- Timestamp:
- 02/19/08 19:19:10 (9 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/scala/sandbox/src/jp/gr/java_conf/mizu/gui/GUIBuilder.scala
r6931 r6933 53 53 } 54 54 def textField(params :Any*) :JTextField = { 55 val widget = new JTextField56 asContainer.add(widget)57 params.foreach {58 case text:String => widget.setText(text)59 case (property:Symbol, value) => setProperty(widget, property, value)60 }61 widget55 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 62 62 } 63 63 def action(handler :ActionEvent => Unit) :ActionListener = {
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)