• 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

Disabling minimizing a JFrame when there is a child Dialog open

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
I want to be able to disable minimizing a JFrame when there is a modal JDialog opened as a child of the JFrame. This should work by having the JDialog as modal. However it doesn't work when I have my program on Solaris 8 platform. The JFrame is still allowed to minimize and exit, even though there is a modal JDialog opened in front of it. I am using JDK1.3.1_07 and it works fine on Windows.
Is there anyway to force the desired behaviour on the Solaris(unix) platform? (i.e. ensure the JFrame cannot be minimized when there is a modal JDialog opened in front of it)
Thanks!
 
reply
    Bookmark Topic Watch Topic
  • New Topic