• 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

Creating modal in JInternalFrame

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have some JInternalFrame class
And i have 1 JFrame to show all JInternalFrame that i have using JDesktopPane.

My problem is...i want to show JInternalFrame (A) from other JInternalFrame (B)...And what i want is user can not use other JInternalFrame or other menus, except he close the JInternalFrame (A) ==> modal

But all JInternalFrame (B, etc) that called from JFrame (not modal) can be choose and actif if user select it!!!

How to solve this problem....
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The solution is to use the appropriate components. JInternalFrames are not designed to be Dialogs. Thats what a JDialog or JOptionPane is for. Use them when you need modal windows.
 
reply
    Bookmark Topic Watch Topic
  • New Topic