Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 6 of 6

Thread: system tray problems

  1. #1
    Junior Member
    Join Date
    May 2013
    Posts
    3
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Exclamation system tray problems

    I'm trying to create a program that will run as soon as the computer is booted or after the password or logging in and it'll go to the system tray. when it's clicked it'll call a program using the program in the system tray the problem is i cant find away to call a program with another program


  2. #2
    Senior Member PhHein's Avatar
    Join Date
    Mar 2013
    Location
    Germany
    Posts
    609
    My Mood
    Sleepy
    Thanks
    10
    Thanked 93 Times in 86 Posts

    Default Re: system tray problems

    What kind of progarmm are you trying to call? Java? Then invoke it's main method. Something else? Runtime.exec() then.

  3. The Following User Says Thank You to PhHein For This Useful Post:

    laurence000 (May 16th, 2013)

  4. #3
    Junior Member
    Join Date
    May 2013
    Posts
    3
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Re: system tray problems

    I've already created the program for the system tray and the phone directory i just cant find the way that the program in the system tray will show the phone directory sorry for the confusion and thank you for reply on such a short notice

  5. #4
    Senior Member PhHein's Avatar
    Join Date
    Mar 2013
    Location
    Germany
    Posts
    609
    My Mood
    Sleepy
    Thanks
    10
    Thanked 93 Times in 86 Posts

    Default Re: system tray problems

    Again: What kind of programm are you trying to call? Java, an exe, etc..?

  6. The Following User Says Thank You to PhHein For This Useful Post:

    laurence000 (May 16th, 2013)

  7. #5
    Junior Member
    Join Date
    May 2013
    Posts
    3
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default Re: system tray problems

    another java program sorry dude I thought you'll understand it

  8. #6
    Senior Member PhHein's Avatar
    Join Date
    Mar 2013
    Location
    Germany
    Posts
    609
    My Mood
    Sleepy
    Thanks
    10
    Thanked 93 Times in 86 Posts

    Default Re: system tray problems

    Just invoke the other program's main method from the tray program.

Similar Threads

  1. Help with Battle system?
    By NTWolf1220 in forum What's Wrong With My Code?
    Replies: 4
    Last Post: February 7th, 2013, 01:58 PM
  2. Creating System Tray Icon WinXP
    By domezone in forum Java Theory & Questions
    Replies: 4
    Last Post: May 15th, 2012, 02:29 AM
  3. Need an operating system
    By boardinggamer in forum Computer Support
    Replies: 10
    Last Post: April 10th, 2012, 09:20 AM
  4. what is System,out,println in System.out.println()?
    By koteshk in forum Java Theory & Questions
    Replies: 2
    Last Post: April 18th, 2011, 12:28 AM