0

I found this SO link to get the currently opened applications in task bar.

  1. In addition I need to get the applications running in system tray using Java.
  2. Also suggest me if there is some other good ways to find the opened apps in task bar.
  3. How to find in which application the mouse click and key stroke has been ocuured?
  4. I also want to track the mouse click by viewing which application is opened by the particular mouse click.

I want this application to run both in Linux and windows environment. I need to do all the above in one of my application using Java.

Community
  • 1
  • 1
2vision2
  • 4,933
  • 16
  • 83
  • 164
  • 3
    *"I need to get the applications running in system tray using JAVA."* a) Why? b) It is spelled Java, not JAVA or java. – Andrew Thompson Nov 07 '12 at 13:30
  • please for why reason you need to know about that, – mKorbel Nov 07 '12 at 13:52
  • 1
    That is really two different questions you have there. (list of apps in system tray and currently opened application). You should break them apart. Maybe add some code to question to show what you tried. – Jacob Schoen Nov 07 '12 at 14:39
  • @jschoen Thanks for your response. I have updated my post. for now I tried with tasklist.exe. – 2vision2 Nov 08 '12 at 06:11
  • @mKorbel I need to implement in one of my application. Also updated my question. – 2vision2 Nov 08 '12 at 06:12
  • one SystemTray have got a few windows, or you can to generated a few SystemTrays for a few windows – mKorbel Nov 08 '12 at 06:32
  • *"I need to implement in one of my application."* That does not answer my question as to 'why?'. Let's try this a different way. What application feature are you hoping to offer to the end user? – Andrew Thompson Nov 08 '12 at 06:50
  • @AndrewThompson I want to know how many applications I am opening in a day and to know my system performance. – 2vision2 Nov 08 '12 at 08:26
  • All this 'my/I' suggestes you are the only user. In that case, there are likely existing software to do that. Why bother write it in Java? – Andrew Thompson Nov 08 '12 at 08:32

0 Answers0