|
From: Bill L. <bli...@to...> - 2003-04-26 14:56:41
|
My project is an NT Service which uses Wrapper. It includes a JFrame which holds a display that monitors the status of the application, so there are no input controls on the JFrame. I perform a setUndecorated(true) on the JFrame to remove the entire title bar, so the user cannot move, resize, minimize, maximize, and most importantly, close the JFrame. Wrapper has allowed me to do a beautiful thing. When the computer is on but not logged in, the service runs fine. When the user logs in, up pops the JFrame monitor. Log in, log out, the application behaves beautifully. There is only one problem (okay, there are other problems, but not with anything to do with Wrapper!). The JFrame also deposits the usual task button on the task bar. If I right click on this button, I can close the JFrame (and minimize, maximize, and so forth). Is there any way to do either one of two things: 1. Disable the right click menu for the task button (I would be happy if just the close were not enabled). Or, 2. Allow the JFrame to come up without an associated task bar button. Thanks in advance for any help. -Bill Littman Lead Software Engineer TomoTherapy, Inc. 1240 Deming Way Madison, WI 53717 Direct Phone: 608 824-2815 Phone: 608 824-2800 Fax: 608 824-2996 Web address: http://www.tomotherapy.com Email: bli...@to... |