Mouse Drag is not working in Applets

In our application we are using applets in containing in IFRAMES in IE to display different type of graphs and animations etc. User can open/close these Applets and iframes to navigate from one data view to other. During this navigation sometimes mouse drag event stops and all drag related operations like scrolls etc stops responding to drag operations in all applets in same JVM.
My investigation shows that swing component hierarchy gets corrupted somehow and this exception is thrown
EventMulticaster.eventDispatched(Toolkit.java:2244)
     at java.awt.Toolkit.notifyAWTEventListeners(Toolkit.java:2203)
     at java.awt.Component.dispatchEventImpl(Component.java:4528)
     at java.awt.Container.dispatchEventImpl(Container.java:2099)
     at java.awt.Component.dispatchEvent(Component.java:4460)
     at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4603)
     at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4255)
     at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
     at java.awt.Container.dispatchEventImpl(Container.java:2085)
     at java.awt.Component.dispatchEvent(Component.java:4460)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
     at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
     at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
peerComponents in Container class is returning null on call to getLocationOnScreen that causes this exception.
I fixed the issue in awt library but ORACLE license terms don't allow redistribution of modified version of awt.
Please help me fix this issue in applet code or suggest me to bypass license restrictions.
Thanks in advance!
Luqman

877922 wrote:
peerComponents in Container class is returning null on call to getLocationOnScreen that causes this exception.
I fixed the issue in awt library but ORACLE license terms don't allow redistribution of modified version of awt.Something Oracle do allow is to raise a bug report. On that report they invite you to post a work-around or fix. That would be the place to put the fix you have devised. Oracle will (supposedly) fix it, then you (and everyone else) can enjoy the fix as a free upgrade in the next version.
They also offer 'support contracts' (AFAIU) in which you might pursue your own immediate fixes. But raise the bug report anyway.

Similar Messages

  • Firefox did an automatic update to 6.01, and now my middle mouse button is not working in the browser. It doesn't close tabs, it doesn't open new tabs by middle clicking a link, it doesn't allow me to middle click to scroll the page...

    Firefox did an automatic update to 6.01, and now my middle mouse button is not working in the browser. It doesn't close tabs, it doesn't open new tabs by middle clicking a link, it doesn't allow me to middle click to scroll the page..

    [BUG FIXED, see "EDIT 2" at the end of my post]
    I'm on Firefox 3.6.21, and I got this problem today after a Greasemonkey update (To version 0.9.10, apparently).
    Disabling Greasemonkey solved the problem, and re-enabling it reproduced the problem (middle-clicking links to open in new tab did not work, merely highlighted the link).
    I should also note that while Greasemonkey was enabled and the bug was affecting me, Ctrl+Click to open links in new tabs was also broken.
    I hope this helps!
    EDIT: It appears this is a known incompatibility/conflict bug between current versions of Greasemonkey and Tab Mix Plus. Read more here:
    https://github.com/greasemonkey/greasemonkey/issues/1406
    EDIT 2: GREASEMONKEY HAS NOW BEEN UPDATED with a workaround to fix the problem. Go to https://addons.mozilla.org/en-US/firefox/addon/greasemonkey/versions/ to install the update manually. It hasn't been reviewed by Mozilla yet, so it won't be an automatic update for another day or two. All credit to "cannonfodder" below for noticing this; please mark his post as helpful!

  • I am facing problem in playing yahoo pool in Firefox 4 while it was working fine in Firefox 3.6. In Firefox 4 the combination of mouse keys are not working properly.

    I am facing problem in playing yahoo pool in Firefox 4 while it was working fine in Firefox 3.6. In Firefox 4 the combination of mouse keys are not working properly.

    I updated to Firefox 4.01 today and the middle scroll button on my Lenovo T400 stopped working. I downloaded the updated Ultranav utility and the Ultranav driver for my T400 from here http://www-307.ibm.com/pc/support/site.wss/MIGR-72858.html and then uninstalled the "Thinkpad Ultranav Driver" from Add/Remove programs rebooted and then installed the updated utility and driver (another reboot) and it now works perfectly.
    So glad to get this working again.

  • Help! My Mouse pad is not working properly. The arrow cannot be controlled, it just keeps jumping all over the page. How can I stop this?

    Help! My Mouse pad is not working properly. The arrow cannot be controlled, it just keeps jumping all over the page. How can I stop this?

    There are several possible causes for this issue. Please take each of the following steps that you haven't already tried until it's resolved. Some may not apply in your case.
    1. Follow the instructions in this support article, and also this one, if applicable. A damaged or defective AC adapter could be the cause, even if it's the right kind.
    2. Press down all four corners of the trackpad at once and release. If there's any effect, it's likely to be temporary, and in that case the unit must be serviced or replaced.
    3. Open the Bluetooth preference pane in System Preferences and delete all pointing devices other than the trackpad, if applicable. Disconnect any USB pointing devices. By a "pointing device," I mean a peripheral that moves the cursor, such as a trackpad, mouse, trackball, or graphics tablet. A plain keyboard is not a pointing device.
    4. Start up in safe mode and test, preferably without launching any third-party applications. If you don't have the problem in safe mode, but it comes back when you restart as usual, stop here and post your results. Do the same if you can't start in safe mode. If there was no difference in safe mode, go on to the next step.
    5. Reset the System Management Controller.
    6. If you're using a Bluetooth trackpad, investigate potential sources of interference, including USB 3 devices.
    7. A swollen battery in a portable computer can impinge on the trackpad from below and cause erratic behavior. If you have trouble clicking the trackpad, this is likely the reason. The battery must be replaced without delay.
    8. There's a report that a (possibly defective) Thunderbolt Ethernet adapter can cause the built-in trackpad of a MacBook to  behave erratically. If you're using such an adapter, disconnect it and test.
    9. There's also a report of erratic cursor movements caused by an external display that was connected but not turned on.
    10. If none of the above applies, or if you have another reason to think that your computer is being remotely controlled, remove it from the network by turning off Wi-Fi (or your Wi-Fi access point), disconnecting from a Bluetooth network link, and unplugging the Ethernet cable or USB modem, whichever is applicable. If the cursor movements stop at once, you should suspect an intrusion.
    11. Make a "Genius" appointment at an Apple Store to have the machine and/or external trackpad tested.

  • After updating OS X 10.8.5, bluetooth is not available in the menu bar. The Magic Mouse is recognized and working but the bluetooth mouse functions do not work.

    After updating OS X 10.8.5, bluetooth is not available in the menu bar.
    The Magic Mouse is recognized and working but the bluetooth mouse functions do not work.
    I have downloaded and installed 10.8.5 combo but it does not help.
    Menu bar - System Preferences/ there is no bluetooth item
    I restarted with cmd + alt + P + R it doesn't help.

    Did you try the suggestions from your other post on this?

  • Image drag drop not working in scaffholding. Does it require soem setting?

    image drag drop not working in scaffholding. Does it require soem setting?

    Hello Manoj,
    The scaffolding teamplate which you use to create scaffolding page is actually a design prototype which helps you to create similar types of pages instances very quickly without authoring each page separately (for example news, aticle types of pages) and that is the concept of scaffolding only.
    For example - When you go to location http://localhost:4502/miscadmin#/etc/scaffolding/geometrixx you will see a "News" page which is an example of scaffolding (this is a similar page which you can create using scaffolding template).
    Now if you open this page you will be accessing http://localhost:4502/cf#/etc/scaffolding/geometrixx/news.html and here you will see already design page.
         1. if you access page properties from side kick you will see how this page is configured using target template and target path
         2. if you go to design mode using side kick you will see how the component has been design (which is similar to what appears on page when you came first time)
         3. Now come back to normal view of that page (http://localhost:4502/cf#/etc/scaffolding/geometrixx/news.html) and author this page with some dummy property and click on "create" button. I know here you can not author the image as it comes as disabled empty box.
         4. once you author the content and click on create button it will create an instance of scaffolding page on the same page you can see the link on the top of same page.
         5. Now access that page, when you access that page the page will take reference of target template you configured using pare preoperties to display the page.
         6. On this page you will see the same component you configured and when you will edit it you can author the image from there directly.
    Now question is why to configure same component two times half data from scaffolding and half data from page but answer is the design is correct because the page design which you have created (for example http://localhost:4502/cf#/etc/scaffolding/geometrixx/news.html) is just proto type to create actual page instances and prototype can not holds values for page instance (specially image until it doesnt configured correctly for page instance in this case) which exist only when you create pages using the scaffolding page prototype. Otherwise you have to do more customization by extending scaffolding "/libs/wcm/scaffolding" changing the code and design OR you have to design it according to your target page strtucture which you have configured in page properties (specially image node).
    If you want to create your own page prototype using scaffolding template and want image to associate just copy paste "/etc/scaffolding/geometrixx/news/jcr:content/dialog/items/items/tab2" node to your newly created scaffolding page prototype.
    for more information on scaffolding just refer -http://dev.day.com/docs/en/cq/current/wcm/scaffolding.html
    I hope it clarifies your question and help you to proceed. Let me know if you need more information or help.
    Thanks,
    Pawan

  • My mouse pad is not working

    My mouse pad is not working on my hp pavilion g6. The orange light that is usually on is not working and I've tried everything I can think of! I've already double tapped the small circle at the top left corner on the pad. It simply will not work. If anyone has any ideas please let me know.
    Thanks

    Hi,
    Can you post back with the following details.
    1.  The full Model No. and Product No. of your notebook - see Here for a guide on locating this information.
    2.  The full version of the operating system you are using ( ie Windows 7 64bit ).
    Regards,
    DP-K
    ****Click the White thumb to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    ****I don't work for HP****
    Microsoft MVP - Windows Experience

  • Whenever I play anything on Windows Media Player Classic, the middle mouse button does not work as a vertical scroll in firefox, but instead shows a horizontal scroll that does not scroll the web pages. How can I fix this problem?

    Hi
    I have a windows 7 and whenever I play anything on Windows Media Player Classic, the middle mouse button does not work as a vertical scroll in firefox, but instead shows a horizontal scroll that does not scroll the web pages. How can I fix this problem?
    I hope that was clear.
    Thnx

    Hello kmanthie,
    I just sent you a private message. If you are not sure how to check your forum messages, this post has instructions.
    I worked on behalf of HP.

  • My mouse can not click to anything left, right or the middle mouse button does not work

    I am using a 24 inch imac and the problem is suddenly my mouse can not click to anything left, right or the middle mouse button does not work i can see cursor moving and i can use the features of the keyboard but my mouse dies. I tried to plug in another mouse magic trackpad and my tablet but each has the same problem. I can not click to anything but cursor is moving and computer is not frozen. I have to shut it off from the power button when this happens. Do you have any idea what can cause this and how can i fix this?

    Reset the SMC 2-3 times. Click Intel iMac SMC and PRAM resets for instructions.

  • Tecra A3 - Creative Mouse Wireless does not work

    My Creative Mouse Wireless does not work while touchpad is installed.
    Even if I disable the Touchpad, the mouse seal does not work.
    Does anyone know how to solve this problem?
    Thank you,
    R.P.

    Hello
    On this way it is not easy to say what the problem is. I assume that you got some installations software for your external device. Install it and it should works.
    As far as I know functionality of external mouse doesn`t depend on touchpad settings.
    Bye

  • G70-250US notebook synaptics mouse pad will not work & keyboard will only work until I log onto pc

    I have a G70-250US model notebook with Vista 32. I decided to reload OS due to issues with mouse pad and keyboard. I still have the same problem whereby the mouse pad will not work and keyboard will only work until I log in and then it will not work.  External mouse and keyboard will work fine.  I tried uninistalling drivers for both and rebooting and letting OS find new hardware and install the drivers and this still did not correct.  I even pulled down the synaptics driver from HP site and still not working.  I checked the BIOS and it is the most recent. I am at a loss. Any ideas on these issues. 

    Ok I tested a bunch of different Firefoxes on my pos linux box.
    '''''Worked with xmodmap:'''''
    Vanilla 16.0.2,
    Vanilla 16.0B6,
    Ubuntu Firefox 16.0.2 (16.0.2+build1-0ubuntu0.10.04.1)
    '''''Did Not Work with xmodmap:'''''
    Vanilla 17.0.1,
    Ubuntu Firefox 17.0.1 (17.0+build2-0ubuntu0.10.04.1)
    I have an old Dell Dimension 2400 I plan to use as a replacement for the Sony Vaio when it pops. I've held out as long as possible because it lacks a pci or usb wifi and I really didn't want to run 50 feet of cat5 up a flight of stairs to it. [as i type this i think i remember where a linksys stick for it might be]. Yes I guess it's about time I just do that.
    Don't laugh but the reason I held off adding a simple usb keyboard was just lack of space in my tiny bedroom. My setup is on two tray tables side-by-side. Sony Vaio is on left one, my lcd monitor and mouse are on the other. I barely have room to put a cup of coffee on the one with monitor and mouse let alone a full size usb keyboard lol.
    Anyway thank you again for all your help.

  • I have the macBookPro and the problem is the mouse pad does not work I tried everything but still does not work what should i do ?

    I have the macBookPro and the problem is the mouse pad does not work I tried everything but still does not work what should i do ?
    so i'm using the usb mouse

    I want to clarify the issue.
    The issue is with the MBP trackpad, and it works fine with an attached USB mouse.
    With some ingenuity, you might be able to fix this yourself, but I suggest visiting your local Apple Store/Genius Bar. Some have fixed this issue and have posted their results online, but the Apple Store should be your first destination.
    Post here with your results!!

  • Trackpoint + middle button dragging still not working in Ultranav 16.2.19.2 driver

    Trackpoint + dragging is still not working with the Ultranav middle button as of 16.2.19.2 driver.
    It's an extremely important function for any 3D graphics program. With the Lenovo driver it's not possible to use the middle button + trackpoint to navigate in these programs!
    Lenovo, please fix this bug. It's working perfectly if I install the latest Synaptics driver. It's only happening with Lenovo's driver. Using Synaptics driver is not an option, because it has no guard against keyboard typing + touchpad accidental clicking.
    Test:
    Testing is very easy.
    1. Set your middle button behaviour to "None".
    2. Above an empty area of your desktop, click the middle button + try to move the mouse pointer with your trackpoint. The pointer isn't moving! It's the same thing what happens in any 3D graphics program! You cannot navigate your camera, unless you use an external mouse!
    Fix:
    Please fix it. Just don't stop the trackpoint pointer when someone clicks the middle button in "None" settings.
    System: Using a W520 for the reference.

    Yes, the latest driver from Synaptics doesn't have this bug. So if you uninstall UltraNav driver from Lenovo and install the latest one from Synaptics, it will work with 3 buttons.
    But the behaviour of the Synaptics is annoying for an other reason: it has no feature to stop the touchpad while you are typing. Normally you'd never notice it with the Lenovo one, but with Synaptics, you'll go crazy with the accidental scrolls and clicks. But at least it works with 3 buttons.
    Lenovo, can you confirm that you understand this bug? Please fix it in one of the future versions!

  • LR 2.1 & 2.0 ~ DRAG & DROP not working correctly with  photos when moving, applying keywords

    Today this issue started, originally in 2.0, updated to 2.1 and issue continues.
    Issue: DRAG & DROP feature with mouse (or pad on laptop) will select multiple photos, (with CTRL & SHIFT key as typical with Windows machines)but when I try to move them to a different folder, or drop them onto a keyword, it will not work.
    Specifically, I select two photos to move to a different folder, the selection work, but when I try to "grab" the selected photos, Lightroom defaults to One Photo, and it will not grab it to move it. However, I can "right click" on the intended folder and can select "move selected photos to folder" and that works. This issue also applys to assigning keywords, and I would assume other similiar actions. I should note, that I can "rotate", assign "labels", "stars", and Keywords from Keyword sets, it just happens with the "Drag & Drop" feature.
    Help
    The feature works correctly in other Windows programs, so I'm sure it's related to Lightroom and not the mouse.
    I have a Windows Vista machine, 3GB RAM 160GB HD, ~ 75% free space, AMD Turion X2 Dual Core 70 Processor. Everything has worked fine up until this morning.
    Prior to upgrading to 2.1, I optimized my Catalogue. Everything seems to work fine except this feature.
    Help

    Drag by the actual image area of the thumbnail, not the surrounding 'fake slide' cell.
    That's a feature of Lightroom's grid view. Clicking on image area of thumbnail keeps the multiple selection and makes the image clicked the primary select. Clicking on the outer thumbnail area deselects all but the active image.

  • Drag-Drop not working with JRE 1.6.07

    I have a problem where (when using the next-gen java plugin) applets do not appear as drop targets.
    In more detail, I have a .NET winforms application, which has a web browser component on it running an Oracle forms application in a Java app. In JRE 1.6u7 you can drag an item onto the applet and it will notify .NET that a drag-drop operation has occurred. In newer versions of JRE (i've tested 6u11 and 6u13) with the "enable next-generation java plugin" checked, this drag-drop no longer works. (instead of a "hand" cursor, you get a "not allowed" cursor).
    Has anyone else experienced this issue?
    Thanks,
    Rich.

    Up
    No idea ?

Maybe you are looking for

  • Can't sort books by genre in itunes 11?

    Hey guys, I just found out that I can't sort my ebooks by genre in iTunes 11 anymore. There is audiobooks, books, pdf, author and list in the bar above all the books. Is there something I missed, or is there a way to get genre back to itunes? I would

  • What is the best way to use 2 internal Hard Drives in a laptop.

    Looking for info on the best way (ease of filing, speed and efficiency) to use 2 internal hard drives in my laptop (OS and apps on one and Data on the other?) while using an ext. drive for back up and such. Thanks for any info.

  • Can't Open Assignments in InCopy

    Working on a magazine at work, created assignments in InDesign, but my editors can't open the files in InCopy at all. Keeps shutting their program down. I can't open the assignments, says that its locked.  How do I fix this?

  • Adobe Media Encoder Queue

    Is it possible to add to the queue to another device, on our local network, with Adobe Media Encoder from Premiere?  (CS6) The thought is to queue jobs to a specific server which has a superior hardware setup. Thanks!

  • Changing Network Location

    I want to create an AppleScript that changes my network location based on the network name detected by Airport. Currently I have to open: System > Network > Location And select the Location I'm at (ie. Work or Home). I'm trying to automate this chang