Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9086137
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T21:24:54+00:00 2026-06-16T21:24:54+00:00

The problem is thus: I have a slightly modified JTable implementation inside of a

  • 0

The problem is thus: I have a slightly modified JTable implementation inside of a JScrollPane. The JTable then has a TransferHandler registered so that items can be reordered, and inserted into each other.

The problem is that once the drag and drop functionality that we get for free from Java kicks in, the scrolling doesn’t get the appropriate MouseEvents for autoscroll to work.

I have seen obscure rferencs to this on the JavaDoc (http://docs.oracle.com/javase/7/docs/technotes/guides/swing/1.4/dnd.html).

But I cannot find a diffinitive solution, or anyone else referencing the same problem… So is there anyone put there with some helpful knowledge?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T21:24:56+00:00Added an answer on June 16, 2026 at 9:24 pm

    The cause of this behaviour is the drag and drop behaviour and the fact that
    the TransferHandler isn’t configured to support autoscroll. The TransferHandler
    is taking over the mouse events once a drag and drop is initiated, which means
    the autoscroll behaviour of the JTable doesn’t get executed.

    There are only obscure and vague references to this in the documentation, links
    are provided below:

    http://docs.oracle.com/javase/7/docs/technotes/guides/swing/1.4/dnd.html
    (keyword: BasicDropTargetListener)

    http://www.mpi-inf.mpg.de/departments/d5/teaching/ss05/is05/javadoc/javax/swing/plaf/basic/BasicDropTargetListener.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Essentially my problem is thus; I have a MVC system that redirects all requests
Problem: I have a table that prints out vertical but I would like it
Problem occured when i tried to display xml data that has been taken by
I am working on an image manipulation problem. I have an overhead projector that
I have a really strange problem ok the problem is thus let say I
Classic issue, new framework -- thus problem. PostgreSQL + Scala + ScalaQuery. I have
I have a problem with hashCode() that delegates to uninitialized objects using hibernate. My
I have an out of proc COM (ATL) Server that has been created as
Problem: I have two array where one produce a category and the second produce
Problem Using Director 11.5 and Windows 7, with MouseWheel Xtra (wheelmouse.zip), I have the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.