Can I catch system event without any gui component

Hi all!
I wanted to trap different event like key pressed or mouse clicked, but not on a particular awt or swing component. I want to listen a mouse event when mouse is clicked on desktop and not on any java frame. Can I
trap these events. If yes, how ?
Please help me if u know how to do this?
Thanks
Dhiraj Deshmukh

Normally its not possible to trap events which are not initiated by an awt/swing-component, BUT you can try to get it by using systemproperties or another but very difficult way is to put a glasspane on the complete desktop or put the desktop into a container. you can try, but i do really not know it works or not
Little hint: i think there exists a method getDesktopProperties()

Similar Messages

  • HT201364 since I updated my system to Mavericks my computer colour is always grey. I have tried to change the colour via system preference without any success. What should I do to so that my screen will be colourful?

    since I updated my system to Mavericks my computer colour is always grey. I have tried to change the colour via system preference without any success. What should I do to so that my screen will be colourful?

    Please post a screenshot that shows what you mean. Be careful not to include any private information.
    Start a reply to this message. Drag the image file into the editing window to upload it. You can also include text in the reply.

  • Hello everyone: I am going to buy a new ipad in Australia and after that I am going back to China. I am just wondering if I can use it in China without any problem? Do I have to unlock or something like that?

    Hello everyone: I am going to buy a new ipad in Australia and after that I am going back to China. I am just wondering if I can use it in China without any problem? Do I have to unlock or something like that?

    The iPad is not locked. Read the specifications.
    http://www.apple.com/ipad/specs/

  • HOW CAN I DELETE AN EVENT WITHOUT  HAVING TO SELECTING IT FROM THE LIBRARY?

    I have a big problem.
    I want to delete an entire event from my library because everytime I select it imovie freezes and then close itself up. So I have to re-open imovie again. And when I want to select that particular event again the same problem occures. So I can not select that particular event. Therefore I can take NO action on this event.
    HOW CAN I DELETE AN EVENT WITHOUT HAVING TO SELECTING IT FROM THE LIBRARY?
    (Everytime I select it imovie closes itself up)
    All other events work fine. I believe The footage had a problem from capturing. but now it's in my computer and i can't open it.
    Please help me, I don't need this event, I can't open it therefore I can't use it and it takes place on my hardrive for nothing.
    Thank you

    One can delete it from one's computer. In the finder go to homeuser, movies, imovie events, delete the footage.
    Then reopen iMovie and see if that helps.
    Hugh

  • HT201250 The initial backup is taking 2 days.  Can I stop and restart without any issues?

    Just got an iomega external hard disk backup and the initial backup is said to take two days.  Can I stop and restart without any issues?

    On a big backup, the initial estimate is often wrong and gets better after a little while. But, yeah, there is a "Stop backing up" command in the Time Machine menu, right?  That is safe as far as I know.
    charlie

  • How can I share the internet without any network distribution?

    I am facing a problem of internet sharing.
    I would like to share my connection from ethernet to airport,
    however, when I chose the "internet sharing" box, safari failed to connect to the internet.
    After removing the tick of the box, web browsing became normal again.
    how can I share the internet without any network distribution?
    thanks!

    You'd have to select in Sharing Preferences > Internet Sharing > Share your connection from ETHERNET, and to computers using AIRPORT.

  • I have problems printing with a HP Officejet 6500 printer directly from my iMac. The printer itself does function well, as I can print from another PC without any problems. Does anyone have a clue?

    I have problems printing with a HP Officejet 6500 printer directly from my iMac. The printer itself does function well, as I can print from another PC without any problems. Does anyone have a clue?

    Hello:
    I must apologize  .  I should have checked here first:
    http://support.apple.com/kb/HT3669#HP
    According to the list, there is no driver for your printer included in OS X 10.7.
    There are a couple of options:
    1.  Contact HP to see if they have a workaround.
    2. If the model of printer is not listed but your printer is a PostScript printer or PCL Laser printer, try the "Generic PostScript" or "PCL Laser printer" drivers.  Generic printer drivers may not let you access all the features of your printer.
    I have not tried #2, but some people have had success.
    Barry

  • My iphone 5c went black screen and it still can cut on and off and it went black screen when i was on facetime with a friend and could still talk to them perfectly fine what is the cheapest way to get it fixed or can i fix it myself without any money

    My iphone 5c went black screen and it still can cut on and off and it went black screen when i was on facetime with a friend and could still talk to them perfectly fine. What is the cheapest way to get it fixed or can i fix it myself without any money? I also didnt have the chance to back up my data because it went black screen out of now where.

    If your phone is not covered by the warranty anymore, Apple will replace it for a new device, same model and size, if you are willing to pay the service fee.
    If you decide to get a 3rd party company to do the repair, Apple will not service your phone anymore after that.
    Out-of-warranty repair service
    If your repair isn’t covered by Apple’s One Year Limited Warranty, AppleCare+, or AppleCare Protection Plan, your iPhone might be eligible for out-of-warranty service. For example, liquid damage isn’t covered by warranty but might be eligible for out-of-warranty service. Some damage isn’t eligible at all, for example if your device has been broken into multiple pieces. See Apple’s Repair Terms and Conditions for complete details.
    Read Apple’s Repair Terms and Conditions
    Model
    Out-of-warranty service fee
    Battery service*
    iPhone 6 Plus
    $329
    $79
    *available only if battery
    fails Apple’s diagnostic test
    iPhone 6
    $299
    iPhone 5s, iPhone 5c, iPhone 5
    $269
    iPhone 4s
    $199
    iPhone 4, iPhone 3GS, iPhone 3G,
    Original iPhone
    $149
    Plus a $6.95 shipping fee, if required. Fees are in USD and exclude local tax. Pricing is for service through Apple. The final service fee we charge will be determined during testing and may be less than the service fee listed above. Pricing and terms vary for service through an Apple Authorized Service Provider.
    copied from Apple - Support - Service Answer Center

  • My charger for ipad air doesn't work.Can I use charger 10w without any worreies?

    My charger for ipad air doesn't work.Can I use charger 10w without any worreies(damage battery)?Is it possible to change in apple store with warranty?

    "Can I use charger 10w without any worreies(damage battery)?"
    Yes you can.
    "Is it possible to change in apple store with warranty?"
    If you mean "can I get my power adapter replaced under warranty, at the Apple store?", yes.

  • How can I run ni488216.exe without any prompts during installation?

    How can I run ni488216.exe without any prompts during installation (Silent mode)?

    Typically you can do a silent install of the NI-488.2 software by running:
    setup.exe /S LV_INSTALL path=
    Regards,
    Greg Caesar
    National Instruments
    Applications Engineer

  • I recently started to have this problem, I can view videos on youtube without any problems, but if I put a link lets say on FB, I cant view the video

    I recently started to have this problem, I can view videos on youtube without any problems, but if I put a link lets say on FB, I cant view the video I can only hear the sound, its like, there even the buttons, only invisible, yet still clickable, so if I manage to find and click the full-screen button the video switch to full-screen and I can view it. this is really annoying as I cant see flash animations and some videos at all.

    You need to find out what type of video it is.  What your describing is what you get when a Video codec (software that allows you to "see" the video) is missing, damaged, or too old for the movie.
    Once you identify what kind of movie it is, then you can update the codec.

  • A sort of KeyListener without a GUI Component?

    a sort of KeyListener without a GUI Component? ( or any trick that will do)?
    please be patient with my question
    I can't express myself very well but it's very important.
    Please help me I need an example how to implement
    a way to detect some combination of keystrokes in java without
    any GUI ( without AWT or Swing frames ...)
    just the console (DOS or Linux shell window) or with a minimzed
    java frame (awt or swing...) you know, MINIMIZED= not in focus.
    in other words if the user press ctrl + alt +shift ...or some
    other combination... ANYTIME ,and the java program is running in the
    background, is there a way to detect that,
    ... my problem if I use a frame (AWT or SWING) the windows must
    be in focus and NOT MINIMIZED..
    if I use
    someObject.addKeylistener(someComponent);
    then the "someComponent" must be in focus, am I right?
    What I'm coding is a program that if you highlight ANY text in
    ANY OS window, a java window (frame) should pop up and match the
    selected text in a dictionary file and brings me the meaning
    ( or a person's phone number , or
    a book author ...etc.)
    MY CHALLENGE IS WITHOUT PRESSING (Ctrl+C) to copy and paste
    ...etc. and WITHOUT MONITORING THE OS's CLIPBOARD ...I just want to
    have the feature that the user simply highlight a text in ANY
    window anywhere then press Ctrl+shift or some other combination,
    then MY JAVA PROGRAM IS TRIGGERED and it should EMULATE SOME
    KEYSTROKES OF Ctrl+C and then paste the clipboard
    somewhere in my program...with all that AUTOMATION BEING in the background.
    remember that my whole program ALL THE TIME MUST BE MINIMIZED AND
    NOT IN FOCUS
    or just running in the background (using javaw)..
    is there any trick ? pleeeeeeze!!!
    i'm not trying to write a sort of the spying so-called "key-logger"
    purely in java but it's a very similar challenge.
    please reply if you have questions
    I you could please answer me , then guys this would be very
    valuable technique that I need urgently. Thanks!

    DO NOT CROSS POST especially since this has nothing to do with game development at all. I can understand if it was in Java programming and New to Java but even then pick a forum and post it to that one and that one only.

  • RemoteApp receives multiple KeyUp events without any keys being pressed

    Hi All,
    I have a very simple winforms app that I am using to try and track down what is happening with keyboard events when using RemoteApp.
    Basically I have a form and a textbox that track the KeyDown, KeyPress and KeyUp events.
    As soon as I start my app via RemoteApp I receive multiple KeyUp events without even pressing a key.
    Does anyone know why RemoteApp would be sending these random KeyUp events.
    The code of my simple test app is as follows:
    Public Class Form1
    Dim lst As New List(Of String)
    Private Sub AddtoList(str As String)
    lst.Add(str)
    End Sub
    Private Sub TextBox1_KeyDown(sender As Object, e As System.Windows.Forms.KeyEventArgs) Handles TextBox1.KeyDown
    AddtoList("txt KeyDown" & vbTab & "KeyCode is " & e.KeyCode)
    End Sub
    Private Sub TextBox1_KeyPress(sender As Object, e As System.Windows.Forms.KeyPressEventArgs) Handles TextBox1.KeyPress
    AddtoList("txt KeyPress" & vbTab & "KeyChar is " & e.KeyChar)
    End Sub
    Private Sub TextBox1_KeyUp(sender As Object, e As System.Windows.Forms.KeyEventArgs) Handles TextBox1.KeyUp
    AddtoList("txt KeyUp" & vbTab & "KeyCode is " & e.KeyCode)
    End Sub
    Private Sub Form1_FormClosing(sender As Object, e As System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
    AddtoList("Form Closing")
    IO.File.AppendAllLines(Application.StartupPath & "\SimpleKeyUp_v2.txt", lst)
    End Sub
    Private Sub Form1_KeyDown(sender As Object, e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyDown
    AddtoList("Form KeyDown" & vbTab & "KeyCode is " & e.KeyCode)
    End Sub
    Private Sub Form1_KeyPress(sender As Object, e As System.Windows.Forms.KeyPressEventArgs) Handles Me.KeyPress
    AddtoList("Form KeyPress" & vbTab & "KeyChar is " & e.KeyChar)
    End Sub
    Private Sub Form1_KeyUp(sender As Object, e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyUp
    AddtoList("Form KeyUp" & vbTab & "KeyCode is " & e.KeyCode)
    End Sub
    Private Sub Form1_Load(sender As Object, e As System.EventArgs) Handles Me.Load
    AddtoList("Form Load")
    End Sub
    End Class
    Simply opening and closing the app via RemoteApp gives the following results:
    Form Load
    Form KeyUp KeyCode is 9
    txt KeyUp KeyCode is 9
    Form KeyUp KeyCode is 16
    txt KeyUp KeyCode is 16
    Form KeyUp KeyCode is 16
    txt KeyUp KeyCode is 16
    Form KeyUp KeyCode is 17
    txt KeyUp KeyCode is 17
    Form KeyUp KeyCode is 17
    txt KeyUp KeyCode is 17
    Form KeyUp KeyCode is 9
    txt KeyUp KeyCode is 9
    Form KeyUp KeyCode is 18
    txt KeyUp KeyCode is 18
    Form KeyUp KeyCode is 9
    txt KeyUp KeyCode is 9
    Form KeyUp KeyCode is 18
    txt KeyUp KeyCode is 18
    Form KeyUp KeyCode is 9
    txt KeyUp KeyCode is 9
    Form Closing
    Cheers and Thanks in Advance!
    Dwayne

    Hi,
    It seems that your issue has been out of the scope of this forum.For coding issue,I suggest you ask in the
    MSDN forum to see whether anyone can help you out.
    Regards,
    Clarence
    TechNet Subscriber Support
    If you are
    TechNet Subscription user and have any feedback on our support quality, please send your feedback
    here.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • How can I re-install FF without any imports from other browsers?

    I initially installed FireFox because supposedly it allows me to run Sky Go which sadly Chrome no longer does. When I did so, I thought it would be wise to allow it to import my bookmarks etc. However, since I was not able to run Sky Go, they suggested that I unistall FireFox and reinstall it without any imports, this I have now tried twice without success to do; hence this question. All help gratefully received and greatly appreciated.

    Good afternoon Fred,
    Thank you for your prompt reply.
    I had to re-think the sequence of events yesterday following very helpful support from the Sky Go team.
    Sky Go had originally been installed on my laptop because I used it with Chrome.
    Sadly and somewhat unexpectedly, (like overnight) last week, Sky Go no longer worked with Chrome. My first on-line Chat with Sky revealed that this was due to an upgrade by Chrome and it should soon be once again available; however, after a week, when it had not been resolved I contacted them again. I should say that in the meantime, Sky Go continues to work very well with Internet Explorer.
    Yesterday I downloaded and installed FireFox with the option ticked to import bookmarks etc. when Sky Go was still loaded on the laptop. However, upon the advice of the Sky go Adviser, I did uninstall both Sky Go and Firefox, and reinstalled the FireFox and the FireFox version of Sky Go and when this did not work, repeated the attempt. Again the adviser was incredibly patient and helpful. He put this down to the original installation of FireFox during which I exercised the import bookmarks etc. option; hence my question. Is there any way I can reinstall Firefox now without it remembering that I originally chose to include the import option?
    In the meantime, I continue to use IE for Sky Go but think I would really like to use FireFox instead.
    I hope that this information will help you to help me Fred, and thank you for your kind attention and assistance.
    Yours sincerely,
    Sharon Pendorf

  • Can we catch keyboard event triggered by an inputfiled?

    Hi all,
    I have a question here:
    When we are doing the web dynpro abap development, if I want to catch the keyboard triggered by an
    input help and handle it, how can I achieve this?
    e.g.   I have an inputfield on the UI,  if user click "F10" on the keyboard, can I catch this kind of event?
    Thanks and Regards,
    Aaron

    Hi Thomas,
    Yes, I'm trying to acomplish an input help for an inputfield.But, the free programmed value or OVS or dictionary search help can fullfill my needs.Here is the situation:
    I have a inputfield on the UI, and next to that , I have another textview, which should be changed according inputfield. e.g.  the inputfield is a user name, and next to that , is the user id. but we only want the input help for user name. so when user select one row iof the search result table, I want that two fields both filled.
    1. the OVS can't meet my need because I can't change the layout of the search result table, I need a table with a tree in it.
    2. free programmed value help can only send back the value of the inputfield. although maybe I can get the user_id's context attribute name and by hardcoding and send back also the user id. but I don't like hardcoding.
    So, I'm wondering whether I could catch the keyboard event. and handle the F4 help all by myself.
    Do you have some suggestion on this?
    Thanks and Regards,
    Aaron

Maybe you are looking for

  • Weird: Character in View cut out.

    I have a very strange behavoir in Crystal Reports. Somehow I feel that there is a simple cause for this. OK. I have a field in Crystal Reports containing the STATIC string "2-û". The String is displayed correctly in the designer. When i save the repo

  • Asynchronous WebService without PI

    It is possible to develop a asynchronous WebService in a SAP System ECC 6.0 and call this WebService from a client without PI? We donu2019t want to use techniques like LUW,... Business Scenario: Call WebService -> Quick Answer (Thatu2019s why we want

  • Sync Help! Competing Libraries!

    I no longer have the original computer I began syncing my iPhone and iPad on, and have moved to my girlfriend's laptop. She has a full library; where I can log her out of iTunes, but her library stays. How do I sync to get updates and sync my iPad wi

  • I cannot update anything on my phone ot ipods due to creit card issues. how do i fix this?

    i need to update my credit card information so i can update all my apps aon my phone and be able to download new items as well. how do i update this issues so i can use my items on my phone again?

  • Problem with Smart Form ('RLE_DELNOTE')--Please Help

    Hello, I am facing a problem in the smart form. So far I am printing certificates (QM module) for the finished goods.  i.e. first level batches.  Now I should incorporate down level batches info also. i.e. semi finished goods info (second, third... l