Re: [Swingosc-devel] java exception on begin drag
Brought to you by:
sciss
|
From: Sc i. <co...@sc...> - 2010-07-25 12:08:06
|
hi james,
i'm currently traveling and don't have my laptop here. if there are further problems, i can take a look by the end of next week.
best, -sciss-
----- original message --------
Subject: Re: [Swingosc-devel] java exception on begin drag
Sent: Sun, 25 Jul 2010
From: James Harkins<jam...@gm...>
> On 7/25/10 10:24 AM, James Harkins wrote:
> > I tested by launching SwingOSC.jar from the terminal, then opening
> > Aquamacs (which launches sclang). Dragging is fine. It's also fine if
> > the server was launched by sclang previously, and then I recompiled
> > the library (new instance of sclang, old SwingOSC), or quit and
> > relaunched Aquamacs without quitting SwingOSC.
>
> Oh crap, I was wrong about this. The exceptions got written to the
> terminal window. Hm.
>
> I've definitely seen dragging throw the exception in the first sclang
> session where it's launched, then behave well after relaunching sclang.
> I.e., I just did exactly these steps:
>
> 1. Quit the swing server that I launched in the terminal.
> 2. Reboot the server from sclang (g.boot).
> 3. Run this and drag -- Java exception got posted.
>
> w = Window("test", Rect(910, 50, 110, 30));
> d = DragSource(w, Rect(5, 5, 100, 20))
> .beginDragAction_({ "drag".postln });
> w.front;
>
> 4. Recompile the library from Emacs (without quitting the swing server).
> 5. Run the same code and drag. No exception.
>
> So it seems a workaround for me is to recompile the library the first
> time SwingOSC gets booted, and then leave the same instance of SwingOSC
> up and running all day.
>
> hjh
>
>
> --
>
> James Harkins /// dewdrop world
> jam...@de...
> http://www.dewdrop-world.net
>
> "Come said the Muse,
> Sing me a song no poet has yet chanted,
> Sing me the universal." -- Whitman
>
> blog: http://www.dewdrop-world.net/words
> audio clips: http://www.dewdrop-world.net/audio
> more audio: http://soundcloud.com/dewdrop_world/tracks
>
>
> ----------------------------------------------------------------------------
> --
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> Swingosc-devel mailing list
> Swi...@li...
> https://lists.sourceforge.net/lists/listinfo/swingosc-devel
>
--- original message end ----
|