• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JWindow problem....

 
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
I'm creating a program where I don't want any of the window chrome visible (the titlebar, borders, etc...) so instead of using a JFrame i've used a JWindow. Everything's working fine, except that when I run the program it doesn't show up in the taskbar?? If I use a JFrame then it shows up, but I have the extra stuff I don't want on the frame. How do I get my program to show up on the taskbar when using a JWindow instead of JFrame, or how do I remove all the window chrome from a JFrame?
Thanks,
Jeff
 
Ranch Hand
Posts: 255
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've been working with the same problem for a while, and I'm not sure you can fix it. As far as I can tell, the taskbar button is provided by the system (and is associated with a specific JFrame), and you can't create your own.
Another programmer and I developed a floating button bar, similar to the Microsoft one. To keep it small, we used a JWindow to remove the titlebar from the application GUI. The only solution I've come up with to keep track of the window is to keep it always in front.

Originally posted by Jeff Smith:
Hello,
I'm creating a program where I don't want any of the window chrome visible (the titlebar, borders, etc...) so instead of using a JFrame i've used a JWindow. Everything's working fine, except that when I run the program it doesn't show up in the taskbar?? If I use a JFrame then it shows up, but I have the extra stuff I don't want on the frame. How do I get my program to show up on the taskbar when using a JWindow instead of JFrame, or how do I remove all the window chrome from a JFrame?
Thanks,
Jeff


 
I can't renounce my name. It's on all my stationery! And hinted in this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic