This page is no longer maintained — Please continue to the home page at www.scala-lang.org

[Q][swing]Getting start scala.swing

2 replies
shuji yamamoto
Joined: 2009-06-17,
User offline. Last seen 42 years 45 weeks ago.

Hi.

I 'm learning way to build GUI using scala.swing.
Scala.swing is very diferent from swing.
# especially ListView!

How to learn scala.swing do you think?
Where is code samples or reference of scala.swing?

Thanks.

Shuji Yamamoto
Japan

Chris Marshall
Joined: 2009-06-17,
User offline. Last seen 44 weeks 3 days ago.
RE: [Q][swing]Getting start scala.swing
.hmmessage P { margin:0px; padding:0px } body.hmmessage { font-size: 10pt; font-family:Verdana } I've found that looking at the source in the case of scala.swing is very helpful e.g. to know where to add reactions/listenTo
I'd be very interested if there is fuller documentation on scala.swing as I haven't been able to find it. Programming in Scala has some of the very basics but it feels like a lot of thought went into scala.swing and it would be a shame to see a lack of uptake resulting from the lack of online documentation.
This is an observation of Scala in general that some (but not all) "modules" are not very well documented and examples scattered and sometimes too simple. One instance of this would be Responders, of which I need to know about for comprehensions (http://www.scala-lang.org/node/111) and Responders themselves (http://scala.sygneca.com/libs/responder); it's an effort to find this stuff and I discovered it by accident - they aren't even mentioned in PiS.
If there's one thing that the success of Spring and Hibernate in the Java world taught me, it was that *fantastic, comprehensive and well organized* documentation with real-world examples are critical for a technology to get the take-up it might deserve. This is not meant as a criticism; Scala is a really great language and I know how much of a pain writing docs is!

Chris
> Date: Thu, 18 Jun 2009 16:53:49 +0900
> To: scala-user [at] listes [dot] epfl [dot] ch
> Subject: [scala-user] [Q][swing]Getting start scala.swing
> From: yamashuu [at] k3 [dot] dion [dot] ne [dot] jp
>
> Hi.
>
> I 'm learning way to build GUI using scala.swing.
> Scala.swing is very diferent from swing.
> # especially ListView!
>
> How to learn scala.swing do you think?
> Where is code samples or reference of scala.swing?
>
> Thanks.
>
> Shuji Yamamoto
> Japan
>

View your Twitter and Flickr updates from one place - Learn more!
shuji yamamoto
Joined: 2009-06-17,
User offline. Last seen 42 years 45 weeks ago.
Re: [Q][swing]Getting start scala.swing

On Thu, 18 Jun 2009 16:53:49 +0900, shuji yamamoto
wrote:
Hi.
My learning path is converting swing samples of "Leaning
Java"(Niemeyer,Knudsen)
This book hava a lot of picture and simple code.

I wating for "Leaning Scala" Book :)

Thanks.

Shuji yamamoto
Japan

> Hi.
>
> I 'm learning way to build GUI using scala.swing.
> Scala.swing is very diferent from swing.
> # especially ListView!
>
> How to learn scala.swing do you think?
> Where is code samples or reference of scala.swing?
>
> Thanks.
>
> Shuji Yamamoto
> Japan
>

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland