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 2 of 2

Thread: JAVA TaskBar toolbar integration

  1. #1
    Junior Member
    Join Date
    Oct 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default JAVA TaskBar toolbar integration

    Hello guys,

    I am writing a small app (using SWT). Basically it has several modes of work, and depending on the mode some buttons lock on and off.
    For all of this I use a window with all of the buttons but sometimes I have to switch back and forth between this program and other programs. This is not the best way and not very comfortable.
    I have tried to keep the window on top, but yet again, since there are quite some buttons it takes a lot of place and I have to move it from time to time so it would not obstruct the desktop view.

    And so comes the question: Would it be possible to integrate all of those buttons to windows taskbar (i.e. like in windows 7 when you hover over a Skype icon you get ability to select your status or when you hover over media players icon you get playback controls so you can control those programs without activating them). JavaTB-1.png
    Alternatively, would it be possible to dedicate entire row in a taskbar for this program and add all of the buttons to it. JavaTB-2.png
    Do you have any other ideas how to make the app more convenient? I am using Windows 7 but this app should work on XP.

    If this is possible, could anyone recommend a tutorial/class i should look at?
    Any other ideas? Should i use some other programming language instead (say C++ or C#)?


  2. #2
    Super Moderator pbrockway2's Avatar
    Join Date
    Jan 2012
    Posts
    972
    Thanks
    7
    Thanked 205 Times in 181 Posts

    Default Re: JAVA TaskBar toolbar integration

    Would it be possible to integrate all of those buttons to windows taskbar
    Perhaps System Tray Icon Support will help. And the more detailed article it links to: New System Tray Functionality in Java SE 6

    There may possibly be SWT components which encapsulate this functionality, but play better with the rest of the library/framework, I don't know.

Similar Threads

  1. [2 Part Qestion] Saving Game Data & Hiding GUI from taskbar
    By Jello36 in forum What's Wrong With My Code?
    Replies: 2
    Last Post: April 28th, 2012, 10:38 PM
  2. Java program to Add a JMenu toolbar to a Java Swing application
    By JavaPF in forum Java Swing Tutorials
    Replies: 6
    Last Post: March 6th, 2012, 12:25 PM
  3. Java/Excel integration, Reading in Dates
    By aussiemcgr in forum JDBC and Database Tutorials
    Replies: 0
    Last Post: July 16th, 2010, 09:38 AM
  4. Java/Excel integration, Reading in Dates
    By aussiemcgr in forum Java Code Snippets and Tutorials
    Replies: 0
    Last Post: July 16th, 2010, 09:38 AM
  5. Java program to Add a JMenu toolbar to a Java Swing application
    By JavaPF in forum Java Code Snippets and Tutorials
    Replies: 3
    Last Post: April 30th, 2010, 10:00 AM