Changeset 8288 for lang/scala
- Timestamp:
- 03/23/08 11:54:32 (8 months ago)
- Location:
- lang/scala/sandbox
- Files:
-
- 3 modified
-
lib/scala-sandbox.jar (modified) (previous)
-
src/jp/gr/java_conf/mizu/gui/GUIBuilder.scala (modified) (2 diffs)
-
webpages/lib/scala-sandbox.jar (modified) (previous)
Legend:
- Unmodified
- Added
- Removed
-
lang/scala/sandbox/src/jp/gr/java_conf/mizu/gui/GUIBuilder.scala
r7003 r8288 17 17 Box, 18 18 BoxLayout, 19 DefaultListModel, 19 20 JButton, 20 21 JFrame, 21 22 JLabel, 23 JList, 22 24 JPanel, 23 25 JTextField … … 51 53 } 52 54 withContext(widget)(thunk) 55 widget 56 } 57 def list(params :Any*) :JList = { 58 val widget = new JList 59 val model = new DefaultListModel 60 params.foreach { 61 case param => model.addElement(param) 62 } 63 widget.setModel(model) 53 64 widget 54 65 }
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)