• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Disabling modaled JInternalFrame

 
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have this main-screen with buttons to lunch another sub-screen made the sub-screen set its layered pane to modal and it work fine the main-screen sit behind the sub-screen even though i clicked on it, but the only problem is i can still clicked on the main-screen close minimized and maximized button, i can typed JTextField..., the point is i want to disable the whole frame but i cant, i tried the setEnabled(false) but it dont work. please help urgent thanks in advance.
 
Richard Teston
Ranch Hand
Posts: 89
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have this main-screen with buttons to lunch another sub-screen, I made the sub-screen set its layered pane to modal and it work fine the main-screen sit behind the sub-screen even though i clicked on it, but the only problem is i can still clicked on the main-screen close, minimized and maximized button, and i can even type on its JTextField components..., the point is i want to disable the whole frame (as in no mouse event) but i cant, i tried the setEnabled(false) but it dont work. please help me! thanks in advance.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!