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

ScalaSwing

10 replies
Olindo Pindaro
Joined: 2011-03-28,
User offline. Last seen 1 year 29 weeks ago.

I want use scala.swing.Table using javax.swing.table.TableModel.

the constructors are:
new Table (rows: Int, columns: Int)
new Table (rowData: Array[Array[Any]], columnNames: Seq[_])
new Table ()

I suppose that i need to use new Table() and then set TableModel on
it.

Rights?

TNX all
Olindo

Goddard Jiri
Joined: 2009-10-16,
User offline. Last seen 42 years 45 weeks ago.
Re: ScalaSwing
Yes, it looks like.

new Table(100, 5) {
  . . .
  model = new javax.swing.table.TableModel
}

jiri

On Mon, Apr 11, 2011 at 3:27 PM, Olindo Pindaro <o.pindaro@gmail.com> wrote:
I want use scala.swing.Table using javax.swing.table.TableModel.

the constructors are:
new Table (rows: Int, columns: Int)
new Table (rowData: Array[Array[Any]], columnNames: Seq[_])
new Table ()


I suppose that i need to use new Table() and then set TableModel on
it.

Rights?

TNX all
Olindo



--
web: http://www.dredwerkz.cz
group: http://groups.google.com/group/dr3dwerkz
music: http://profile.ultimate-guitar.com/g0dd4rd/
twitter: http://twitter.com/#!/g0dd4rd
profile: http://www.google.com/profiles/g0dd4rd
icq: 218 659 431
Olindo Pindaro
Joined: 2011-03-28,
User offline. Last seen 1 year 29 weeks ago.
Re: ScalaSwing

THX,

It works

On 11 Apr, 16:42, Goddard Jiri wrote:
> Yes, it looks like.
>
> new Table(100, 5) {
>   . . .
>   model = new javax.swing.table.TableModel
>
> }
>
> jiri
>
>
>
>
>
>
>
>
>
> On Mon, Apr 11, 2011 at 3:27 PM, Olindo Pindaro wrote:
> > I want use scala.swing.Table using javax.swing.table.TableModel.
>
> > the constructors are:
> > new Table (rows: Int, columns: Int)
> > new Table (rowData: Array[Array[Any]], columnNames: Seq[_])
> > new Table ()
>
> > I suppose that i need to use new Table() and then set TableModel on
> > it.
>
> > Rights?
>
> > TNX all
> > Olindo
>
> --
> web:http://www.dredwerkz.cz
> group:http://groups.google.com/group/dr3dwerkz
> music:http://profile.ultimate-guitar.com/g0dd4rd/
> twitter:http://twitter.com/#!/g0dd4rd
> profile:http://www.google.com/profiles/g0dd4rd
> icq: 218 659 431

Mic
Joined: 2011-11-23,
User offline. Last seen 42 years 45 weeks ago.
swing
Hello,I saw this presentation http://vimeo.com/13900342 about Scala and Swing. However, I cannot find it anywhere in Internet. How far is the project and where can I download it or is there anything better available?
Thank you in advance.
Luc Bourlier
Joined: 2011-12-01,
User offline. Last seen 42 years 45 weeks ago.
Re: swing
Scala swing is part of the Scala project. Some doc is available in the source tree: https://github.com/scala/scala/tree/master/src/swing/doc
I have never used it, so I cannot say more about it.
HTH,Luc
Miguel Negrão
Joined: 2011-05-09,
User offline. Last seen 42 years 45 weeks ago.
Re: swing
It's part of scala, so just do 
import scala.swing._
I think this is the best set of examples out there:https://lampsvn.epfl.ch/trac/scala/browser/scala/trunk/src/swing/scala/swing/test

best,Miguel Negrão
Mic
Joined: 2011-11-23,
User offline. Last seen 42 years 45 weeks ago.
Re: Re: swing
Thank you for the links. In the same talk ( http://vimeo.com/13900342 ) at the end of the talk a guy mention that there are third party swing parts which in his opinion very good are. Which third libraries did he mean?
Thank you in advance.

On Thu, Dec 1, 2011 at 10:57 PM, Miguel Negrão <miguel.negrao-lists@friendlyvirus.org> wrote:
It's part of scala, so just do 
import scala.swing._
I think this is the best set of examples out there: https://lampsvn.epfl.ch/trac/scala/browser/scala/trunk/src/swing/scala/swing/test

best,Miguel Negrão

Ken Scambler
Joined: 2009-11-07,
User offline. Last seen 42 years 45 weeks ago.
Re: Re: swing

Hi Mic,
I can't remember who said what in the talk, but JGoodies, MiGLayout, Glazed Lists, and Substance L&F are all popular, high quality add-ons for Swing.

The Swing Application Framework and the data-binding JSR were once interesting, but I haven't heard much about them since the JSR got thrown out.

On 02/12/2011 10:18 AM, "Mic" <mictadlo@gmail.com> wrote:
Thank you for the links. In the same talk ( http://vimeo.com/13900342 ) at the end of the talk a guy mention that there are third party swing parts which in his opinion very good are. Which third libraries did he mean?
Thank you in advance.

On Thu, Dec 1, 2011 at 10:57 PM, Miguel Negrão <miguel.negrao-lists@friendlyvirus.org> wrote:
It's part of scala, so just do 
import scala.swing._
I think this is the best set of examples out there: https://lampsvn.epfl.ch/trac/scala/browser/scala/trunk/src/swing/scala/swing/test

best,Miguel Negrão

lucevers
Joined: 2009-07-18,
User offline. Last seen 16 weeks 6 days ago.
Re: Re: swing
Hi Ken,
   I hope there will be more information on the Scala doc website.
   http://docs.scala-lang.org/overviews/
   Status at the moment: Swing IN PROGRESS


   Luc.

On Fri, Dec 2, 2011 at 01:38, Ken Scambler <ken.scambler@gmail.com> wrote:

Hi Mic,
I can't remember who said what in the talk, but JGoodies, MiGLayout, Glazed Lists, and Substance L&F are all popular, high quality add-ons for Swing.

The Swing Application Framework and the data-binding JSR were once interesting, but I haven't heard much about them since the JSR got thrown out.

On 02/12/2011 10:18 AM, "Mic" <mictadlo@gmail.com> wrote:
Thank you for the links. In the same talk ( http://vimeo.com/13900342 ) at the end of the talk a guy mention that there are third party swing parts which in his opinion very good are. Which third libraries did he mean?
Thank you in advance.

On Thu, Dec 1, 2011 at 10:57 PM, Miguel Negrão <miguel.negrao-lists@friendlyvirus.org> wrote:
It's part of scala, so just do 
import scala.swing._
I think this is the best set of examples out there: https://lampsvn.epfl.ch/trac/scala/browser/scala/trunk/src/swing/scala/swing/test

best,Miguel Negrão


Ken Scambler
Joined: 2009-11-07,
User offline. Last seen 42 years 45 weeks ago.
Re: Re: swing

Hmmm, good point.  Maybe I should roll up my sleeves! :)

On 02/12/2011 7:17 PM, "Luc Evers" <lucevers@gmail.com> wrote:
Hi Ken,
   I hope there will be more information on the Scala doc website.
   http://docs.scala-lang.org/overviews/
   Status at the moment: Swing IN PROGRESS


   Luc.

On Fri, Dec 2, 2011 at 01:38, Ken Scambler <ken.scambler@gmail.com> wrote:

Hi Mic,
I can't remember who said what in the talk, but JGoodies, MiGLayout, Glazed Lists, and Substance L&F are all popular, high quality add-ons for Swing.

The Swing Application Framework and the data-binding JSR were once interesting, but I haven't heard much about them since the JSR got thrown out.

On 02/12/2011 10:18 AM, "Mic" <mictadlo@gmail.com> wrote:
Thank you for the links. In the same talk ( http://vimeo.com/13900342 ) at the end of the talk a guy mention that there are third party swing parts which in his opinion very good are. Which third libraries did he mean?
Thank you in advance.

On Thu, Dec 1, 2011 at 10:57 PM, Miguel Negrão <miguel.negrao-lists@friendlyvirus.org> wrote:
It's part of scala, so just do 
import scala.swing._
I think this is the best set of examples out there: https://lampsvn.epfl.ch/trac/scala/browser/scala/trunk/src/swing/scala/swing/test

best,Miguel Negrão


dcsobral
Joined: 2009-04-23,
User offline. Last seen 38 weeks 5 days ago.
Re: Re: swing

One can read the SID for it: http://www.scala-lang.org/sid/8.

And that "in progress" is probably what was previously available:
http://ingomaier.blogspot.com/2010/11/scalaswing-package-in-28-and-beyon....

On Fri, Dec 2, 2011 at 06:16, Luc Evers wrote:
> Hi Ken,
>
>    I hope there will be more information on the Scala doc website.
>
>    http://docs.scala-lang.org/overviews/
>
>    Status at the moment: Swing IN PROGRESS
>
>
>    Luc.
>
>
> On Fri, Dec 2, 2011 at 01:38, Ken Scambler wrote:
>>
>> Hi Mic,
>> I can't remember who said what in the talk, but JGoodies, MiGLayout,
>> Glazed Lists, and Substance L&F are all popular, high quality add-ons for
>> Swing.
>>
>> The Swing Application Framework and the data-binding JSR were once
>> interesting, but I haven't heard much about them since the JSR got thrown
>> out.
>>
>> On 02/12/2011 10:18 AM, "Mic" wrote:
>>>
>>> Thank you for the links. In the same talk ( http://vimeo.com/13900342 )
>>> at the end of the talk a guy mention that there are third party swing parts
>>> which in his opinion very good are. Which third libraries did he mean?
>>>
>>> Thank you in advance.
>>>
>>>
>>> On Thu, Dec 1, 2011 at 10:57 PM, Miguel Negrão
>>> wrote:
>>>>
>>>> It's part of scala, so just do
>>>>
>>>> import scala.swing._
>>>>
>>>> I think this is the best set of examples out there:
>>>>
>>>> https://lampsvn.epfl.ch/trac/scala/browser/scala/trunk/src/swing/scala/s...
>>>>
>>>> best,
>>>> Miguel Negrão
>>>
>>>
>

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