Re: [Swingosc-devel] java exception on begin drag
Brought to you by:
sciss
From: James H. <jam...@gm...> - 2010-07-02 07:07:49
|
>bump< I logged this as tracker id 3017849 - http://sourceforge.net/tracker/?func=detail&aid=3017849&group_id=155586&atid=796400 Not a functional problem, but damn annoying. The problem doesn't happen every time I boot the swing server... but when it does happen, this is sufficient to reproduce it. Not a matter of a complex sc gui. w = Window("test", Rect(10, 50, 110, 30)); d = DragSource(w, Rect(5, 5, 100, 20)) .beginDragAction_({ "drag".postln }); w.front; (Mac OSX 10.4.11, java version "1.5.0_19" [the latest that stupid Apple provides]) hjh On 5/31/10 8:32 PM, James Harkins wrote: > I get this (sometimes) when starting a drag from a dragsink. > > java.io.IOException: application/x-java-file-list > at > sun.awt.datatransfer.DataTransferer.translateTransferable(DataTransferer.java:1038) > > at > apple.awt.CDataTransferer.translateTransferable(CDataTransferer.java:119) > at > sun.awt.datatransfer.DataTransferer$6.run(DataTransferer.java:2216) > at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) > at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) > at > java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269) > > at > java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) > > at > java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184) > at > java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176) > at java.awt.EventDispatchThread.run(EventDispatchThread.java:110) > > I dragged from that dragsink this afternoon, no problem. Tonight, fail. > > The dragsink, btw, is in ddwChucklib - run > "ChuckableBrowser.newWindow" then try to drag anything from "drag > selection." > > The exception doesn't seem to affect functionality - I can complete > the drag and dropping the object does what it should. > > Thanks. > 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 |