Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Drag and drop with JTreeTable  RSS feed

 
Slamer Slamer
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,
Recently I have used the JTreeTable example provided in the Swing Connection : The swing HTML Parser (Part 3 of the JTreeTable articles) (http://java.sun.com/products/jfc/tsc/articles/bookmarks/index.html). It works fine! So, I've wondered to use drag and drop capabilities with this advanced component and I've integrated the brilliant sample provided by Deudeu (see http://forum.java.sun.com/thread.jsp?forum=57&thread=296255&start=0&range=15&hilite=false&q=).
The result of this integration is close to be a success, all the different functionalities are working : moving and copying nodes into/from the JTreeTable). Unfortunately, the cursor behave strangely and some flicker appear when I drag a node over the JTree component.
It appear to be a swing's refresh issue. The program is working correctly when I have used the JTree without combining the JTable. Have you an idea to resolve that?
Regards,
Slamer
 
Cesar Corzo
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Slamer Slamer,
I am in the same boat. Can you post the integration code? your JtreeTable with DnD? I am using the same classes and need some orientation. Thanks a lot in advance.

Sincerely,

Cesar
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Slamer Slamer wrote:


"Slamer Slamer",
Please check your private messages for an important administrative matter.
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
??

the original post is 5+ years old
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think I was posting mine when you posted yours.

I was referring to the request (of a 5 year old thread)
"Can you post the integration code?"
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No.
I actually did not see the date of the original post.
 
Rob Spoor
Sheriff
Posts: 20893
81
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Slammer Slammer hasn't posted since May 2004, so I doubt he's still active.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!