So you've created an empty JTable, you've given it a TransferHandler to accept drops,
and you've added it to a JScrollPane. But when you launch your application and drag some completely valid
data into the table, it rejects you! I'm not kidding; go ahead and try it yourself with this demo
(requires build 76 or greater of Mustang). Drag from the component
labelled "Drag from here" into the JTable...
Hello again friends!
Prompted by an excellent question from wrandelshofer in the comments section of my recent
Swing Drag and Drop
blog entry,
I'm jumping on the opportunity to tell you more about the enhancements made in Mustang. In particular,
I'd like to talk about how these changes have enabled location-sensitive Drag and Drop.
In order to clarify the concept, I'll paraphrase the...
Do the toto!
Shortly before the holidays, I had the opportunity to visit a customer site in the
wonderful city of Montreal, Canada. I was an eater of excellent food, a seer of
new sites, and a lucky fan at Centre Bell
when the Montreal Canadians won their first
overtime shootout under the new NHL rules! And that was just in the off hours. I also
truly enjoyed myself during the day in the...
Many Thanks!
An expression that my friend and Swing Team colleague in Russia, Michael Knyazev, offers to me;
and one I'd like to extend to you now. It's been seven months since my first blog,
with it's goofy play on words, discussion of Swing's improved drag gesture, and my promise that
I'd write about more exciting Drag and Drop enhancements shortly. Seven months is slightly longer than I...