Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Switching to an Active Window


    I am new to Linux. I want to write a java application which will switch between the active windows open on a Xandros system. I can achieve this through java by making system calls or by using JNI. Now i can get the list of active applications by using the ps command and then screening out the particualr app's i am looking for. But after getting the process id (PID's) and other details how do i switch to the particular app.

    Any help in this regard will be appreciated:

    Mail me as

  2. #2
    Linux Engineer
    Join Date
    Sep 2003
    Knoxhell, TN
    this smells like homework.. oh, and all answers/dialogs should be given on the forums. for this reason, your email address has been removed from the post.

    we won't do homework for you, but we may give hints/pointers
    Their code will be beautiful, even if their desks are buried in 3 feet of crap. - esr

Posting Permissions

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