Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Is it possible to do drag-and-drop operation between swt and swing component?
Is it possible to do drag-and-drop operation between swt and swing component? [message #446350] Tue, 23 November 2004 16:47 Go to next message
Eclipse UserFriend
Originally posted by: nksong.handysoft.com

Hi all,

I'm stuck in this problem.

Is it possible to do drag-and-drop operation between swt and swing
component?

Deadline is killing me.

Please help me out.

Thanks,

Namkyu
Re: Is it possible to do drag-and-drop operation between swt and swing component? [message #446352 is a reply to message #446350] Tue, 23 November 2004 17:03 Go to previous messageGo to next message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
SWT uses the native clipboard mechanism and I believe in JDK 1.4.2 Swing
does too. However, there are many "types" that can be exchanged and I have
not tested that SWT and Swing use the same types on each platform. The best
way to confirm that the data type you want can be exchanged is to test it.

"Namkyu Song" <nksong@handysoft.com> wrote in message
news:cnvpjc$r5b$1@www.eclipse.org...
> Hi all,
>
> I'm stuck in this problem.
>
> Is it possible to do drag-and-drop operation between swt and swing
> component?
>
> Deadline is killing me.
>
> Please help me out.
>
> Thanks,
>
> Namkyu
>
>
Re: Is it possible to do drag-and-drop operation between swt and swing component? [message #446412 is a reply to message #446352] Wed, 24 November 2004 17:51 Go to previous message
Eddie Galvez is currently offline Eddie GalvezFriend
Messages: 103
Registered: July 2009
Senior Member
We had to do this, and to be safe we used the TextTransfer type, so in
essence we were dragging and dropping strings. NOT the best thing to do
(now our app even accepts drops from text editors ;) but it's what we're
doing for now... We plan to rewrite out our Swing code as time permits.

- Eddie
Previous Topic:Using TAB to jump from column to column
Next Topic:Widget central ?
Goto Forum:
  


Current Time: Thu Apr 25 17:59:59 GMT 2024

Powered by FUDForum. Page generated in 5.03555 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top