• 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
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

window, frame, progressbar modal

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
isn't it possible to make a progressbar, frame or window modal to a frame?
the only way i found to hold these components on top is 'alwaysOnTop(true)'
but this is not, what i want.

my problem:

i want to load something on a server. my application is a jframe. at the time of the upload, my application should be disabled, so i can do nothing, but i see the progressbar. then, if something goes wrong, for instance, or i have other things to ask the user, i want to show a dialog. and now, there is the problem....when i close the dialog, and the parent frame is disabled, the parent frame loses the focus and gets behind any other window, for instance firefox or other applications. but the disable ist the only possibility to hold the progressbar on top. so there is a chain, that i cannot break!

dialog modal, progressbar on top of my application, application is disabled - other applications come on top after closing the dialog.

OR dialog and application is modal, but i can work in my application, while progressbar is there and nothing should be done AND after clicking into my app, the progressbar is behind my application.

i hope i could tell it, so that you know what i mean, my english isn't the best

hope, you can help me!

best regards!
martin
 
Marshal
Posts: 79978
397
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Don't know. I looked up isModal() in the API index and that only applies to Dialogs.

But somebody else asked the same question earlier today on this same forum. Try here.
 
No one can make you feel inferior without your consent - Eleanor Roosevelt. tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic