Draggin’ and droppin’ URLs

Yesterday, I wrote about the ability to drop URLs onto an SWT component. I’ll pause for a couple of minutes while you go back and review it…

I found an entry in Bugzilla (bug #100095) that’s asking for the URLTransfer class to be made public. It seems that the functionality is under development. In the meantime, using the TextTransfer may be a good enough workaround depending on what you need to do (as long as you don’t require the ability to drag links off an Internet Explorer page). You’ll have t use some smarts to determine if it’s just a bunch of text being dropped, or if it’s a URL.

There are a bunch of other Transfer types that let you capture such things as dropped HTML and RTF text.

This entry was posted in Uncategorized. Bookmark the permalink.

2 Responses to Draggin’ and droppin’ URLs

  1. Online Web Solutions says:

    Hey, you have a great blog here! I’m definitely going to bookmark you!I have a web hosting site/blog. It pretty much covers web hosting related stuff.Come and check it out if you get time🙂

  2. Roland says:

    Looks like You’ve been hit by a blogspammer…

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s