- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Scala Swing: Good simple layout manager?
Tue, 2010-07-06, 15:24
Question from a Scala.swing noob:
Has something like TableLayout or MigLayout made its way into
scala.swing, or is there any other way to easily(!) layout
simple multi-column/-row GUIs?
KR
Det
Tue, 2010-07-06, 15:47
#2
Re: Scala Swing: Good simple layout manager?
Hi,
"easy" is probably very very subjective. I personally find MigLayout not
easy to use at all. My go-to layout manager is GroupLayout, for which I
created a Scala wrapper(1). The docs are not completely up to date but the
basic things are all there and the classes are now rather complete, imho.
Andreas
(1) http://github.com/aydjen/GroupPanel
Am Dienstag, den 06.07.2010, 16:24 +0200 schrieb Detering Dirk
:
> Question from a Scala.swing noob:
>
> Has something like TableLayout or MigLayout made its way into
> scala.swing, or is there any other way to easily(!) layout
> simple multi-column/-row GUIs?
>
> KR
> Det
Tue, 2010-07-06, 16:47
#3
RE: Scala Swing: Good simple layout manager?
Thanks Dennis,
but not what the question was about.
I don't need to easily layout complex forms in a designer,
but to easily layout simple forms in a script with scala.swing.
Just what you would do in Groovy with:
panel() {
tableLayout {
content.each { row ->
tr {
td { widget(row.selectbox) }
td { label(text: row.title) }
td { widget(row.donebox) }
}
}
}
}
> -----Original Message-----
> From: Dennis Haupt [mailto:h-star [at] gmx [dot] de]
> Sent: Tuesday, July 06, 2010 4:26 PM
> To: Detering Dirk; scala-user [at] listes [dot] epfl [dot] ch
> Subject: Re: [scala-user] Scala Swing: Good simple layout manager?
>
> jformdesigner.com
> i use that one. it's good.
> -------- Original-Nachricht --------
> > Datum: Tue, 6 Jul 2010 16:24:01 +0200
> > Von: Detering Dirk
> > An: "scala-user [at] listes [dot] epfl [dot] ch"
> > Betreff: [scala-user] Scala Swing: Good simple layout manager?
>
> > Question from a Scala.swing noob:
> >
> > Has something like TableLayout or MigLayout made its way into
> > scala.swing, or is there any other way to easily(!) layout
> > simple multi-column/-row GUIs?
> >
> > KR
> > Det
> >
> >
> > --
> >
> >
> > BITMARCK SOFTWARE GMBH
> > Firmensitz: Paul-Klinger-Strasse 15, 45127 Essen
> > Geschaeftsfuehrer: Frank Krause
> > Registergericht: Amtsgericht Essen HRB 20680
> >
> >
> ***********************************************************************
> >
> > Die Information in dieser E-Mail ist vertraulich und ist
> ausschliesslich
> > fuer den/die benannten Adressaten bestimmt. Ein Zugriff auf diese
> > E-Mail durch andere Personen als den/die benannten Adressaten ist
> > nicht gestattet. Sollten Sie nicht der benannte Adressat sein,
> loeschen
> > Sie bitte diese E-Mail.
> >
>
> --
> GMX DSL: Internet-, Telefon- und Handy-Flat ab 19,99 EUR/mtl.
> Bis zu 150 EUR Startguthaben inklusive! http://portal.gmx.net/de/go/dsl
Tue, 2010-07-06, 16:57
#4
Re: Scala Swing: Good simple layout manager?
On 06.07.2010 16:24, Detering Dirk wrote:
> Has something like TableLayout or MigLayout made its way into
> scala.swing, or is there any other way to easily(!) layout
> simple multi-column/-row GUIs?
I prefer a Scala Panel-Wrapper for MigLayout:
http://github.com/hotzen/MetaFlow/blob/swing-UI/src/metaflow/ui/MigPanel...
Usage like:
http://github.com/hotzen/MetaFlow/blob/swing-UI/src/metaflow/ui/GUI.scal...
Cheers, Kai
Wed, 2010-07-07, 01:27
#5
Re: Scala Swing: Good simple layout manager?
Ingo was supposed to include one of ours. Not sure what happened.
On Tue, Jul 6, 2010 at 10:29 AM, Andreas Flierl <andreas [at] flierl [dot] eu> wrote:
On Tue, Jul 6, 2010 at 10:29 AM, Andreas Flierl <andreas [at] flierl [dot] eu> wrote:
Hi,
"easy" is probably very very subjective. I personally find MigLayout not
easy to use at all. My go-to layout manager is GroupLayout, for which I
created a Scala wrapper(1). The docs are not completely up to date but the
basic things are all there and the classes are now rather complete, imho.
Andreas
(1) http://github.com/aydjen/GroupPanel
Am Dienstag, den 06.07.2010, 16:24 +0200 schrieb Detering Dirk
<Dirk [dot] Detering [at] bitmarck [dot] de>:
> Question from a Scala.swing noob:
>
> Has something like TableLayout or MigLayout made its way into
> scala.swing, or is there any other way to easily(!) layout
> simple multi-column/-row GUIs?
>
> KR
> Det
Wed, 2010-07-07, 13:57
#6
Re: Scala Swing: Good simple layout manager?
I also wait for a very long time to scala.swing will be extended
(JDestkopPane and JInternalFrame)...
2010/7/7 Naftoli Gugenheim <naftoligug [at] gmail [dot] com>
2010/7/7 Naftoli Gugenheim <naftoligug [at] gmail [dot] com>
Ingo was supposed to include one of ours. Not sure what happened.
On Tue, Jul 6, 2010 at 10:29 AM, Andreas Flierl <andreas [at] flierl [dot] eu> wrote:
Hi,
"easy" is probably very very subjective. I personally find MigLayout not
easy to use at all. My go-to layout manager is GroupLayout, for which I
created a Scala wrapper(1). The docs are not completely up to date but the
basic things are all there and the classes are now rather complete, imho.
Andreas
(1) http://github.com/aydjen/GroupPanel
Am Dienstag, den 06.07.2010, 16:24 +0200 schrieb Detering Dirk
<Dirk [dot] Detering [at] bitmarck [dot] de>:
> Question from a Scala.swing noob:
>
> Has something like TableLayout or MigLayout made its way into
> scala.swing, or is there any other way to easily(!) layout
> simple multi-column/-row GUIs?
>
> KR
> Det
Wed, 2010-07-07, 22:17
#7
Re: Scala Swing: Good simple layout manager?
I was referring to the two GroupPanel implementations that were already written.But contributions are welcome if there's something you'd like to add. :)
On Wed, Jul 7, 2010 at 8:54 AM, Artur Stanek <kermitas [at] gmail [dot] com> wrote:
On Wed, Jul 7, 2010 at 8:54 AM, Artur Stanek <kermitas [at] gmail [dot] com> wrote:
I also wait for a very long time to scala.swing will be extended (JDestkopPane and JInternalFrame)...
2010/7/7 Naftoli Gugenheim <naftoligug [at] gmail [dot] com>Ingo was supposed to include one of ours. Not sure what happened.
On Tue, Jul 6, 2010 at 10:29 AM, Andreas Flierl <andreas [at] flierl [dot] eu> wrote:
Hi,
"easy" is probably very very subjective. I personally find MigLayout not
easy to use at all. My go-to layout manager is GroupLayout, for which I
created a Scala wrapper(1). The docs are not completely up to date but the
basic things are all there and the classes are now rather complete, imho.
Andreas
(1) http://github.com/aydjen/GroupPanel
Am Dienstag, den 06.07.2010, 16:24 +0200 schrieb Detering Dirk
<Dirk [dot] Detering [at] bitmarck [dot] de>:
> Question from a Scala.swing noob:
>
> Has something like TableLayout or MigLayout made its way into
> scala.swing, or is there any other way to easily(!) layout
> simple multi-column/-row GUIs?
>
> KR
> Det
Thu, 2010-07-08, 08:17
#8
Re: Scala Swing: Good simple layout manager?
Last time we exchanged emails, I had the impression that you are willing
to contribute those. Correct me if I am wrong.
Ingo
On 7/7/10 2:54 PM, Artur Stanek wrote:
> I also wait for a very long time to scala.swing will be extended
> (JDestkopPane and JInternalFrame)...
>
>
> 2010/7/7 Naftoli Gugenheim >
>
> Ingo was supposed to include one of ours. Not sure what happened.
>
>
> On Tue, Jul 6, 2010 at 10:29 AM, Andreas Flierl > wrote:
>
>
> Hi,
>
> "easy" is probably very very subjective. I personally find
> MigLayout not
> easy to use at all. My go-to layout manager is GroupLayout, for
> which I
> created a Scala wrapper(1). The docs are not completely up to
> date but the
> basic things are all there and the classes are now rather
> complete, imho.
>
> Andreas
>
> (1) http://github.com/aydjen/GroupPanel
>
> Am Dienstag, den 06.07.2010, 16:24 +0200 schrieb Detering Dirk
> >:
> > Question from a Scala.swing noob:
> >
> > Has something like TableLayout or MigLayout made its way into
> > scala.swing, or is there any other way to easily(!) layout
> > simple multi-column/-row GUIs?
> >
> > KR
> > Det
>
>
>
Thu, 2010-07-08, 08:27
#9
Re: Scala Swing: Good simple layout manager?
It would be really nice if you two could agree on a common interface.
GroupLayout is different from the other standard layout managers, so it
needs a little bit of thought.
Ingo
On 7/7/10 2:25 AM, Naftoli Gugenheim wrote:
> Ingo was supposed to include one of ours. Not sure what happened.
>
>
> On Tue, Jul 6, 2010 at 10:29 AM, Andreas Flierl > wrote:
>
>
> Hi,
>
> "easy" is probably very very subjective. I personally find MigLayout not
> easy to use at all. My go-to layout manager is GroupLayout, for which I
> created a Scala wrapper(1). The docs are not completely up to date
> but the
> basic things are all there and the classes are now rather complete,
> imho.
>
> Andreas
>
> (1) http://github.com/aydjen/GroupPanel
>
> Am Dienstag, den 06.07.2010, 16:24 +0200 schrieb Detering Dirk
> >:
> > Question from a Scala.swing noob:
> >
> > Has something like TableLayout or MigLayout made its way into
> > scala.swing, or is there any other way to easily(!) layout
> > simple multi-column/-row GUIs?
> >
> > KR
> > Det
>
>
Thu, 2010-07-08, 20:07
#10
Re: Scala Swing: Good simple layout manager?
Andreas, do you have any input?
On Thu, Jul 8, 2010 at 3:13 AM, Ingo Maier <ingo [dot] maier [at] epfl [dot] ch> wrote:
On Thu, Jul 8, 2010 at 3:13 AM, Ingo Maier <ingo [dot] maier [at] epfl [dot] ch> wrote:
It would be really nice if you two could agree on a common interface. GroupLayout is different from the other standard layout managers, so it needs a little bit of thought.
Ingo
On 7/7/10 2:25 AM, Naftoli Gugenheim wrote:
Ingo was supposed to include one of ours. Not sure what happened.
On Tue, Jul 6, 2010 at 10:29 AM, Andreas Flierl <andreas [at] flierl [dot] eu
<mailto:andreas [at] flierl [dot] eu>> wrote:
Hi,
"easy" is probably very very subjective. I personally find MigLayout not
easy to use at all. My go-to layout manager is GroupLayout, for which I
created a Scala wrapper(1). The docs are not completely up to date
but the
basic things are all there and the classes are now rather complete,
imho.
Andreas
(1) http://github.com/aydjen/GroupPanel
Am Dienstag, den 06.07.2010, 16:24 +0200 schrieb Detering Dirk
<Dirk [dot] Detering [at] bitmarck [dot] de <mailto:Dirk [dot] Detering [at] bitmarck [dot] de>>:
> Question from a Scala.swing noob:
>
> Has something like TableLayout or MigLayout made its way into
> scala.swing, or is there any other way to easily(!) layout
> simple multi-column/-row GUIs?
>
> KR
> Det
Thu, 2010-07-08, 20:27
#11
Re: Scala Swing: Good simple layout manager?
Here's my latest copy. I think the first step would be a more detailed analysis of how they differ. Would you want to do that?
On Thu, Jul 8, 2010 at 3:20 PM, Andreas Flierl <andreas [at] flierl [dot] eu> wrote:
On Thu, Jul 8, 2010 at 3:20 PM, Andreas Flierl <andreas [at] flierl [dot] eu> wrote:
Ugh, I can't seem to find your code in the vast labyrinthe that is my mailbox.
Do you have it online somewhere? Or could you send it again? (Sorry...)
Once I can look it again I'll be sure to make some concrete suggestions.
From what I remember the end result of both our products, from a user's point of view, were rather similar. I've worked quite a bit on mine since then, adding a some convenience things like "spring" gaps, concise size constraints and alignment but also a lot of scaladoc.
Maybe we could start hacking together from some starting point (I don't mind if that'd be your code or mine) online ... at github or wherever?
-
Andreas
Am 08.07.2010 um 21:03 schrieb Naftoli Gugenheim:
> Andreas, do you have any input?
>
>
> On Thu, Jul 8, 2010 at 3:13 AM, Ingo Maier <ingo [dot] maier [at] epfl [dot] ch> wrote:
> It would be really nice if you two could agree on a common interface. GroupLayout is different from the other standard layout managers, so it needs a little bit of thought.
>
> Ingo
>
>
> On 7/7/10 2:25 AM, Naftoli Gugenheim wrote:
> Ingo was supposed to include one of ours. Not sure what happened.
>
>
> On Tue, Jul 6, 2010 at 10:29 AM, Andreas Flierl <andreas [at] flierl [dot] eu
> <mailto:andreas [at] flierl [dot] eu>> wrote:
>
>
> Hi,
>
> "easy" is probably very very subjective. I personally find MigLayout not
> easy to use at all. My go-to layout manager is GroupLayout, for which I
> created a Scala wrapper(1). The docs are not completely up to date
> but the
> basic things are all there and the classes are now rather complete,
> imho.
>
> Andreas
>
> (1) http://github.com/aydjen/GroupPanel
>
> Am Dienstag, den 06.07.2010, 16:24 +0200 schrieb Detering Dirk
> <Dirk [dot] Detering [at] bitmarck [dot] de <mailto:Dirk [dot] Detering [at] bitmarck [dot] de>>:
>
> > Question from a Scala.swing noob:
> >
> > Has something like TableLayout or MigLayout made its way into
> > scala.swing, or is there any other way to easily(!) layout
> > simple multi-column/-row GUIs?
> >
> > KR
> > Det
>
>
>
>
Thu, 2010-07-08, 20:37
#12
Re: Scala Swing: Good simple layout manager?
Ugh, I can't seem to find your code in the vast labyrinthe that is my mailbox.
Do you have it online somewhere? Or could you send it again? (Sorry...)
Once I can look it again I'll be sure to make some concrete suggestions.
From what I remember the end result of both our products, from a user's point of view, were rather similar. I've worked quite a bit on mine since then, adding a some convenience things like "spring" gaps, concise size constraints and alignment but also a lot of scaladoc.
Maybe we could start hacking together from some starting point (I don't mind if that'd be your code or mine) online ... at github or wherever?
-
Andreas
Am 08.07.2010 um 21:03 schrieb Naftoli Gugenheim:
> Andreas, do you have any input?
>
>
> On Thu, Jul 8, 2010 at 3:13 AM, Ingo Maier wrote:
> It would be really nice if you two could agree on a common interface. GroupLayout is different from the other standard layout managers, so it needs a little bit of thought.
>
> Ingo
>
>
> On 7/7/10 2:25 AM, Naftoli Gugenheim wrote:
> Ingo was supposed to include one of ours. Not sure what happened.
>
>
> On Tue, Jul 6, 2010 at 10:29 AM, Andreas Flierl > wrote:
>
>
> Hi,
>
> "easy" is probably very very subjective. I personally find MigLayout not
> easy to use at all. My go-to layout manager is GroupLayout, for which I
> created a Scala wrapper(1). The docs are not completely up to date
> but the
> basic things are all there and the classes are now rather complete,
> imho.
>
> Andreas
>
> (1) http://github.com/aydjen/GroupPanel
>
> Am Dienstag, den 06.07.2010, 16:24 +0200 schrieb Detering Dirk
> >:
>
> > Question from a Scala.swing noob:
> >
> > Has something like TableLayout or MigLayout made its way into
> > scala.swing, or is there any other way to easily(!) layout
> > simple multi-column/-row GUIs?
> >
> > KR
> > Det
>
>
>
>
Thu, 2010-07-08, 20:37
#13
Re: Scala Swing: Good simple layout manager?
Appreciate it. There isn't any chance of making 2.8, is there?
On Thu, Jul 8, 2010 at 3:32 PM, Andreas Flierl <andreas [at] flierl [dot] eu> wrote:
On Thu, Jul 8, 2010 at 3:32 PM, Andreas Flierl <andreas [at] flierl [dot] eu> wrote:
Aye, I'll look into it. Thanks.
Naftoli Gugenheim wrote:
> Here's my latest copy. I think the first step would be a more detailed analysis of how they differ. Would you want to do that?
Thu, 2010-07-08, 20:47
#14
Re: Scala Swing: Good simple layout manager?
Aye, I'll look into it. Thanks.
Naftoli Gugenheim wrote:
> Here's my latest copy. I think the first step would be a more detailed analysis of how they differ. Would you want to do that?
Fri, 2010-07-09, 07:27
#15
Re: Scala Swing: Good simple layout manager?
On 7/8/10 9:36 PM, Naftoli Gugenheim wrote:
> Appreciate it. There isn't any chance of making 2.8, is there?
It depends on how fast you are and how well tested it is :) Seriously, I
guess it is more for 2.8.1.
Ingo
>
>
> On Thu, Jul 8, 2010 at 3:32 PM, Andreas Flierl > wrote:
>
> Aye, I'll look into it. Thanks.
>
> Naftoli Gugenheim wrote:
> > Here's my latest copy. I think the first step would be a more
> detailed analysis of how they differ. Would you want to do that?
>
>
jformdesigner.com
i use that one. it's good.
-------- Original-Nachricht --------
> Datum: Tue, 6 Jul 2010 16:24:01 +0200
> Von: Detering Dirk
> An: "scala-user [at] listes [dot] epfl [dot] ch"
> Betreff: [scala-user] Scala Swing: Good simple layout manager?
> Question from a Scala.swing noob:
>
> Has something like TableLayout or MigLayout made its way into
> scala.swing, or is there any other way to easily(!) layout
> simple multi-column/-row GUIs?
>
> KR
> Det
>
>