Can i get mouse location and event outside JFrame?

Can i get mouse location and event outside JFrame?
any related link or document? thx~

what I figure out from your question is that, you want to get the coordinates even if the mouse is not directly interacting with any of the java components of your application.
I would consider this as an interaction with the OS so that it sends a call to your java program as well when ever the mouse event occurs. If you use JNI to catch system events, I think it should work.

Similar Messages

  • How can I get mouse pressed and mouse released positions on the desktop whi

    Hello All,
    I am generating a Frame using Swing API. My requirement is I need to capture the mouse pressed and mouse released positions, whenever user drags the mouse on desktop region (i.e. outside of the Frame). I require these points to find the rectangle region user has generated starting from mouse pressed to mouse released position. I need to pass that rectangle to Robot class in order to capture that desktop region.
    Can anybody help me out how can I achieve this using java on MAC, Linux and Windows platforms?
    Thanks in advance.
    Regards,
    VPKVL

    VPKVL wrote:
    DarrylBurke wrote:
    Can't be done in Java.I don't think that there is something which can't be done using java. When searched over net, found few applications which are using java for implementing this feature but not free, asking for license fee. I checked by downloading the demo version.
    Just want to know the hint how it can be achieved so that I can move further on that lines.
    Your thoughts ?They use JNI with the OS API.

  • Where can I get a keyboard and mouse for a Mac SE?

    I have a 1988 Mac SE but am missing the keyboard and mouse.   Where can I get a keyboard and mouse?

    Welcome!
    "Where to get" inquiries are more easily answered if we know your approximate geographic location. No sense on our sending you to a vendor who does not ship to your location.
    That said, one resource that often works for getting older hardware---regardless of where you live---are Mac User Groups ("MUGs"). This locating page can help you find if there is one near you:
    http://appleusergroupresources.com/find-a-group/

  • Remote location, 7kbs d'load speed, 10 days to d'load Lion, only software updates are through the App Store. Why can't we d'load and install outside the Cloud anymore? Some of us can't use the cloud.

    Remote location, 7kbs d'load speed, 10 days to d'load Lion, only software updates are through the App Store. Why can't we d'load and install outside the Cloud anymore? Some of us can't use the cloud and never will be able to.

    That is true - I apologize for not being specific - what I was mainly referring to is iLife applications. I have a notice on the App Store that says 3 apps need updates, I look at the apps and they are huge so since my connection is so slow I use my work connection and d'load the files from support to my Windows machine and carry them home, once d'loaded my MacAir states it cannot install, the update must come from the App Store.
    I do the same thing for large Leopard and Lion files and I can install them without error, it is just the App Store files that the system stops.

  • How can we get the location from location area code?

    Hi All,
    i have an application which successfully runs on Motorola L6 and it gives me the cell-id, Location area code, and Mobile Network Code, and Mobile Country Code. Now I want to know how can I get the location ( I mean the name of the location) through location area code. And one more thing can we get current MNC and current MCC through j2me because I have written a code for getting this information for sony ericsson cells but dont have a handset to try out. Anyway if anyone has the information then please let me know
    Thanks in advance
    Sunil

    I donot think you have a direct blog..
    check this blog for java proxies ..
    /people/prasad.ulagappan2/blog/2005/06/27/asynchronous-inbound-java-proxy
    AND CONFIGURE A RFC..

  • HOW CAN I GET RID OF THE EVENTS CATEGORY?

    There are days that I will add only one picture to iPhoto and it becomes an event. Every time I add a new picture to iPhoto 8 I get a new event. This past week I have been renaming some albums and adding new albums and folders and that has had a very undesired result of now telling me I have 26,624 items in 3,071 events. That, 26,624 number, incidentally, is the same number of photos I have in iPhoto.
    If I try to delete an event, I find I am also deleting the pictures in that event from my main iPhoto library. I have also noticed that the events in my events area are randomly numbered, not in any sort of order.
    HELP!!!!!!!!!!!!!!!!!!!!!!!!!!
    Also, iPhoto 8 does not recognize my camera (Canon PowerShot S5IS) when I try to add photos to iPhoto.

    cmiles:
    Welcome to the Apple Discussions. You can't get rid of the Events mode as it's the basic container feature of iPhoto which is organized by date. You can always drag that single event onto another one in the Event mode to join them, thus getting rid of the single event. You can also do that in the Photos mode, with Event names displayed so it's like the old rolls, by dragging a photo or photos into another event.
    Regarding the problem of the camera not being recognized that's a tougher problem to fix. A workaround is to use Image Capture to upload the photos to a folder on the desktop and then import the folder into iPhoto.
    One user fixed his similar problem with an Archive and Install of Leopard and a reinstall of iPhoto from the disk it came on. As I said, not as easy a fix.
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. It's compatible with iPhoto 08 libraries and Leopard. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • I hv lost my icon for iphoto on my Imac Mac OSX10.5.8.   I still hv my pics but can no longer creat albums and events.  If I upgrade to the latest Mountain Lion, will my pics go into the new iphoto?       I would like to update Mountain lion.Will

    I hv lost my icon for iphoto on my Imac Mac OSX10.5.8.   I still hv my pics but can no longer creat albums and events.  If I upgrade to the latest Mountain Lion, will my pics go into the new iphoto?

    From where did you lose the iPhoto icon? From the Dock? If so, then it's still in your Applications folder. Find it there then drag the icon back into the Dock. If it's no longer in Applications perhaps you've moved or renamed it. Use Spotlight to search for "iphoto."
    Upgrading to Mountain Lion will not affect your iPhoto Library unless you erase the hard drive first. Be sure you backup before any system upgrade.
    Upgrade Paths to Snow Leopard, Lion, and/or Mountain Lion
    You can upgrade to Mountain Lion from Lion or directly from Snow Leopard. Mountain Lion can be downloaded from the Mac App Store for $19.99. To access the App Store you must have Snow Leopard 10.6.6 or later installed.
    Upgrading to Snow Leopard
    You must purchase Snow Leopard through the Apple Store: Mac OS X 10.6 Snow Leopard - Apple Store (U.S.). The price is $19.99 plus tax. You will be sent physical media by mail after placing your order.
    After you install Snow Leopard you will have to download and install the Mac OS X 10.6.8 Update Combo v1.1 to update Snow Leopard to 10.6.8 and give you access to the App Store. Access to the App Store enables you to download Mountain Lion if your computer meets the requirements.
         Snow Leopard General Requirements
           1. Mac computer with an Intel processor
           2. 1GB of memory
           3. 5GB of available disk space
           4. DVD drive for installation
           5. Some features require a compatible Internet service provider;
               fees may apply.
           6. Some features require Apple’s MobileMe service; fees and
               terms apply.
    Upgrading to Lion
    If your computer does not meet the requirements to install Mountain Lion, it may still meet the requirements to install Lion.
    You can purchase Lion by contacting Customer Service: Contacting Apple for support and service - this includes international calling numbers. The cost is $19.99 (as it was before) plus tax.  It's a download. You will get an email containing a redemption code that you then use at the Mac App Store to download Lion. Save a copy of that installer to your Downloads folder because the installer deletes itself at the end of the installation.
         Lion System Requirements
           1. Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7,
               or Xeon processor
           2. 2GB of memory
           3. OS X v10.6.6 or later (v10.6.8 recommended)
           4. 7GB of available space
           5. Some features require an Apple ID; terms apply.
    Upgrading to Mountain Lion
    To upgrade to Mountain Lion you must have Snow Leopard 10.6.8 or Lion installed. Purchase and download Mountain Lion from the App Store. Sign in using your Apple ID. Mountain Lion is $19.99 plus tax. The file is quite large, over 4 GBs, so allow some time to download. It would be preferable to use Ethernet because it is nearly four times faster than wireless.
         OS X Mountain Lion - System Requirements
           Macs that can be upgraded to OS X Mountain Lion
             1. iMac (Mid 2007 or newer)
             2. MacBook (Late 2008 Aluminum, or Early 2009 or newer)
             3. MacBook Pro (Mid/Late 2007 or newer)
             4. MacBook Air (Late 2008 or newer)
             5. Mac mini (Early 2009 or newer)
             6. Mac Pro (Early 2008 or newer)
             7. Xserve (Early 2009)
         Are my applications compatible?
             See App Compatibility Table - RoaringApps.
         Am I eligible for the free upgrade?
             See Apple - Free OS X Mountain Lion upgrade Program.
         For a complete How-To introduction from Apple see Upgrade to OS X Mountain Lion.

  • Can't get mouse or keyboard to respond

    I just put together a system using the KM2M mb with an xp2400 cpu. I can get the system to boot all the way to the XP user screen, but I can't get mouse or keyboard to respond. What am I missing?
    Is there a setting in cmos that enables the ps2 plugs on the mb? Only thing I added out side of the mb is an agp video card.

    I'm galde you fixed that last post.......Power supply is a WD 20 gig...............
    UM! do you have the cables pluged it to the right spots Purple is "Keyboard" and "Green" is Mouse, just a thought

  • I can't get my location bar or back/forward buttons to show up.

    I can't get my location bar or back/forward buttons to show up.

    * If, on Windows, in Firefox 3.6 the menu bar is hidden then press and hold the Alt key down or press F10, that should make the "Menu Bar" appear
    * Go to "View > Toolbars" and check-mark "Menu Bar" with a click on it to make that permanent. See [[Menu bar is missing]]).
    * Make sure that you have the "Navigation Toolbar" and the "Bookmarks Toolbar" visible: "View > Toolbars"
    * If items are missing then see if you can find them in the "View > Toolbars > Customize" window
    * If you see the missing item in the Customize window then drag it back from the Customize window onto one of the toolbars.
    * If, in "View > Toolbars > Customize", you do not see that item then click the "Restore Default Set" button
    See also:
    * http://kb.mozillazine.org/Toolbar_customization

  • If i purchase two of the same songs by mistake can i get a refund and take it off my computer?

    If i purchase two of the same songs by mistake can i get a refund and take it off my computer?

    Welcome to the Apple Community.
    Try deleting the problematic file (electing to remove original file if/when prompted) and then re-downloading the file from the iTunes store.
    You can re-download content purchased from the iTunes store (availability varies depending on location) using the purchased option from the Quick Links section in the top right corner of the iTunes homepage in your iTunes application on your computer.
    You can re-download content purchased from the iTunes store (availability varies depending on location) using the purchased option at the bottom of the screen of the iTunes app (or video app) on your iOS device.
    If the problem re-occurs, select the content which is causing a problem and use the 'Report a problem' button in Your Purchase History using your computer.

  • I am using IPhone 3 G  ,screen is broken ,how can i get it repair ,and how much it would cost

        I am  using  i Phone  3 g , sreen is  broken ,how can i  get it  repair ,and  how much it would cost

    First things first if your iPhone cannot be recognised by your computer then you wont be able to get those photos off the iPhone.
    In the event that it can be recognised you could import the photos to your PC/Mac. Follow the article below to do this:
    iOS: Importing personal photos and videos from iOS devices
    Or you could do a back up on iTunes of the iPhone which would save the photos in your camera roll. The article below will guide you on how to do this:
    iOS: How to back up
    All the best

  • Siri can not find my location and all the other apps do not even

    siri can not find my location and all the other apps do not even
    iPad 3 IOS 6.0.1

    Do you have a wifi signal?  In order for the wifi only iPad to get any location fix, it needs to be connected to a wifi node - it's only way to determine locations is by looking up the wifi networks hardware address in Apple's wifi node location database of approximate locations (as mentioned already, it has no GPS chipset to use GPS location data).

  • How can we get Dynamic columns and data with RTF Templates in BI Publisher

    How can we get Dynamic columns and data with RTf Templates.
    My requirement is :
    create table xxinv_item_pei_taginfo(item_id number,
    Organization_id number,
    item varchar2(4000),
    record_type varchar2(4000),
    record_value CLOB,
    State varchar2(4000));
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'USES','fever','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'HOW TO USE','one tablet daily','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'SIDE EFFECTS','XYZ','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'DRUG INTERACTION','ABC','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'OVERDOSE','Go and see doctor','TX');
    insert into xxinv_item_pei_taginfo values( 493991 ,224, '1265-D30', 'NOTES','Take after meal','TX');
    select * from xxinv_item_pei_taginfo;
    Item id Org Id Item Record_type Record_value State
    493991     224     1265-D30     USES     fever     TX
    493991     224     1265-D30     HOW TO USE     one tablet daily     TX
    493991     224     1265-D30     SIDE EFFECTS     XYZ     TX
    493991     224     1265-D30     DRUG INTERACTION     ABC     TX
    493991     224     1265-D30     OVERDOSE      Go and see doctor     TX
    493991     224     1265-D30     NOTES     Take after meal     TX
    Above is my data
    I have to fetch the record_type from a lookup where I can have any of the record type, sometime USES, HOW TO USE, SIDE EFFECTS and sometimes some other set of record types
    In my report I have to get these record typpes as field name dynamically whichever is available in that lookup and record values against them.
    its a BI Publisher report.
    please suggest

    if you have data in db then you can create xml with needed structure
    and so you can create bip report
    do you have errors or .... ?

  • How can I get the "Open" and "Save As" dialog boxes to open at larger than their default size?

    How can I get the "Open" and "Save As" dialog boxes to open at larger than their default size?  I would like them to open at the size they were previously resized like they used to in previous operating systems.  They currently open at a very small size and the first colum is only a few letters wide necessitating a resize practically every time one wants to use it.  Any help would be appreciated.

    hi Prasanth,
    select werks matnr from ZVSCHDRUN into table it_plant.
    sort it_plant by matnr werks.
    select
            vbeln
            posnr
            matnr
            werks
            erdat
            kbmeng
            vrkme
            from vbap
            into table it_vbap
            for all entries in it_plant
            where matnr = it_plant-matnr and
                  werks = it_plant-werks.
    and again i have to write one more select query for vbup.
    am i right?

  • How can i get the itunes and apps store icon on my ipad desktop?

    How can i get the itunes and apps store icon on my ipad desktop?

    Google are supposed to be working on an iPad maps app.

Maybe you are looking for