Results 1 to 3 of 3
  1. #1
    hannehomuth's Avatar
    hannehomuth is offline Member
    Join Date
    Jul 2008
    Location
    Sommerfeld (Brandenburg, Germany)
    Posts
    36
    Rep Power
    0

    Default Hide Object in the Taskbar when Frame is down to Tray

    Hi Everyone,

    I've a new Question. I've implemented SystemTray functionallity to my app. I'm able to minimize or maximize or close my app. But when I minimize the Frame the object in taskbar is still there. Is it possible to clear the taskbar from this object when I send it to tray. I used states to min- and maximize (iconfied, normal).

    Thx for your suggestions

    Edit:

    I should say, I'm working with Linux. When I minimize the Frame the object gets a little transparent. May it be not there if I would use Windows?
    Last edited by hannehomuth; 07-07-2008 at 04:37 PM.

  2. #2
    Join Date
    Jul 2008
    Posts
    33
    Rep Power
    0

    Default

    not possible using a JFrame, but you can use a JWindow


    //edit
    What about setting hooking the defaultcloseoperation to hide_on_exit?

  3. #3
    Nicholas Jordan's Avatar
    Nicholas Jordan is offline Senior Member
    Join Date
    Jun 2008
    Location
    Southwest
    Posts
    1,018
    Rep Power
    7

    Lightbulb Java SE 6 release includes a new system tray API

    Quote Originally Posted by Engineeringserver.com View Post
    ...(snip)...What about setting hooking the defaultcloseoperation to hide_on_exit?
    New System Tray Functionality in Java SE 6
    Introduction to Programming Using Java.
    Cybercartography: A new theoretical construct proposed by D.R. Fraser Taylor

Similar Threads

  1. How to Hide cursor
    By priya in forum Java Software
    Replies: 1
    Last Post: 12-09-2010, 09:39 PM
  2. Minimize to System Tray In Windows
    By shapeshifter in forum AWT / Swing
    Replies: 4
    Last Post: 12-07-2008, 01:42 PM
  3. [SOLVED] Baloon message on a tray icon
    By Eranga in forum AWT / Swing
    Replies: 5
    Last Post: 04-10-2008, 02:12 PM
  4. To hide browser heading
    By priyanka_t in forum JavaServer Pages (JSP) and JSTL
    Replies: 4
    Last Post: 01-09-2008, 07:56 AM
  5. JButton.hide/showText() feature ?
    By vassil_zorev in forum AWT / Swing
    Replies: 2
    Last Post: 01-06-2008, 11:26 PM

Posting Permissions

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