Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
12
Task/User-input-Graphical/Scala/user-input-graphical.scala
Normal file
12
Task/User-input-Graphical/Scala/user-input-graphical.scala
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import swing.Dialog.{Message, showInput}
|
||||
import scala.swing.Swing
|
||||
|
||||
object UserInput extends App {
|
||||
def responce = showInput(null,
|
||||
"Complete the sentence:\n\"Green eggs and...\"",
|
||||
"Customized Dialog",
|
||||
Message.Plain,
|
||||
Swing.EmptyIcon,
|
||||
Nil, "ham")
|
||||
println(responce)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue