minimize a frame to go to system tray instead of taskbar

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • devendraagashe
    New Member
    • Sep 2006
    • 1

    minimize a frame to go to system tray instead of taskbar

    I am developing java awt frame application.

    When i click on the minimize button, the icon is displayed in taskbar. but i want it not to display on taskbar, but it should go to system tray from which i can again open it. But it should not display on taskbar.


    can anyone please help me to solve this problem?
    devendra.agashe @patni.com
  • sukatoa
    Contributor
    • Nov 2007
    • 539

    #2
    Originally posted by devendraagashe
    I am developing java awt frame application.

    When i click on the minimize button, the icon is displayed in taskbar. but i want it not to display on taskbar, but it should go to system tray from which i can again open it. But it should not display on taskbar.


    can anyone please help me to solve this problem?
    devendra.agashe @patni.com
    You can read this first...

    Sukatoa...

    Comment

    • JosAH
      Recognized Expert MVP
      • Mar 2007
      • 11453

      #3
      Originally posted by devendraagashe
      I am developing java awt frame application.

      When i click on the minimize button, the icon is displayed in taskbar. but i want it not to display on taskbar, but it should go to system tray from which i can again open it. But it should not display on taskbar.


      can anyone please help me to solve this problem?
      devendra.agashe @patni.com
      Frames always display in the taskbar when minimized. You have to make your
      main window(s) Dialogs then and implement the necessary stuff using the
      SystemTray class and the TrayIcon class; note that it's only available
      since Java 1.6 and uses AWT classes only (no Swing) nor is it very portable.

      kind regards,

      Jos

      Comment

      Working...