- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Date Picker?
Fri, 2009-02-27, 00:05
What is the best way to handle dates/times in a Scala Swing form? I'm
not seeing any sort of Date Picker class. Is it roll your own, or am I
missing something?
Also, are there any tutorials on creating GUI apps in Scala -- other
than the SCells app in the Programming in Scala book? If not, is Scala
Swing similar enough to Java Swing to use the Java tutorials?
Thanks!
Chas. Munat
Seattle
We are only wrapping standard swing components, so you need to write or
wrap your own date widget. I believe swingx has a JXDatePicker or so,
don't they?
Scala swing tries to be as close to Java Swing as possible, except for
those cases, where we see better solutions in Scala. Therefore, it's
good to know Java Swing first. Although not a tutorial, the examples in
the scala.swing.test package should be pretty educational.
Ingo
Charles F. Munat wrote:
> What is the best way to handle dates/times in a Scala Swing form? I'm
> not seeing any sort of Date Picker class. Is it roll your own, or am I
> missing something?
>
> Also, are there any tutorials on creating GUI apps in Scala -- other
> than the SCells app in the Programming in Scala book? If not, is Scala
> Swing similar enough to Java Swing to use the Java tutorials?
>
> Thanks!
>
> Chas. Munat
> Seattle