Results 1 to 1 of 1
  1. #1
    DaytonaJohn is offline Member
    Join Date
    Feb 2016
    Rep Power

    Default Slow Drag Events

    I am thinking about developing a game using JavaFX, and I've been playing with some basics that I expect to use. I expect to be doing quite a bit of drag and drop. I have done drag and drop before, but I am encountering some strange behavior this time. My game board is an AnchorPane inside a ScrollPane (to allow scrolling and zooming on the game board). The game board is wrapped in a Group (turns out the Group is needed for correct zooming). The strange behavior is that the OnDragEntered and OnDragExited methods are not being called in a timely manner, when dragging onto the game board The OnDragEntered method is not called for several (like 10 or 12) seconds, and sometimes only after dragging around the game board for several seconds. Dragging out of the game board produces immediate events. I am using the latest Java release (1.8.0_72) with NetBeans 8.1 on an up to date Ubuntu Laptop. Running the jar file under Windows 10 shows the same behavior. I have attached a zip file containing the entire NetBeans project.

    Anyone ever see such behavior, or anyone see anything in this fxml that might cause it?

    Attached Files Attached Files

Similar Threads

  1. Replies: 0
    Last Post: 10-20-2013, 01:27 AM
  2. Slow Response Time with Drag and Drop JPanel subclass
    By Yaridovich in forum AWT / Swing
    Replies: 0
    Last Post: 07-31-2011, 08:26 PM
  3. Slow down drag senstivity
    By x_singp in forum SWT / JFace
    Replies: 0
    Last Post: 12-29-2010, 11:28 AM
  4. typed events vs untyped events.
    By Drun in forum SWT / JFace
    Replies: 0
    Last Post: 11-23-2009, 01:22 PM
  5. want to know why netbeans is slow
    By rakesh_n_mehta in forum NetBeans
    Replies: 3
    Last Post: 11-03-2008, 06:07 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts