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

Java Swing routines in 2.9 branch

2 replies
sterg
Joined: 2009-10-06,
User offline. Last seen 2 years 39 weeks ago.

Hi,

does somebody know why the
Java Swing routines that I try to execute
from the Scala Interpreter do not work
well in the 2.9 branch,
while they are executed perfectly in 2.8 branch?

I have to use them in order to work on the 2.9 based
version of ScalaLab.

Best Regards

Stergios

ichoran
Joined: 2009-08-14,
User offline. Last seen 2 years 3 weeks ago.
Re: Java Swing routines in 2.9 branch
Can you be more specific?  I haven't had any trouble with Swing in the REPL under 2.9.0.RC2.

  --Rex

On Wed, Apr 27, 2011 at 6:40 AM, sterg <sterg@teikav.edu.gr> wrote:
Hi,

does somebody know why the
Java Swing routines that I try to execute
from the Scala Interpreter do not work
well in the 2.9 branch,
while they are executed perfectly in 2.8 branch?

I have to use them in order to work on the 2.9 based
version of ScalaLab.


Best Regards

Stergios




sterg
Joined: 2009-10-06,
User offline. Last seen 2 years 39 weeks ago.
Re: Java Swing routines in 2.9 branch

Specifically, for example,

val v = JOptionPane.showInputDialog("Give value", 9)

displays the input dialog that however do not work and
stalls the system.

At the official REPL works OK,
but I operate the Scala Interpreter from within Java code
and something happens with the class loaders.

On Wed, 2011-04-27 at 06:46 -0400, Rex Kerr wrote:
> Can you be more specific? I haven't had any trouble with Swing in the
> REPL under 2.9.0.RC2.
>
> --Rex
>
> On Wed, Apr 27, 2011 at 6:40 AM, sterg wrote:
> Hi,
>
> does somebody know why the
> Java Swing routines that I try to execute
> from the Scala Interpreter do not work
> well in the 2.9 branch,
> while they are executed perfectly in 2.8 branch?
>
> I have to use them in order to work on the 2.9 based
> version of ScalaLab.
>
>
> Best Regards
>
> Stergios
>
>
>
>

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