Search code examples
javaswingmodal-dialogjinternalframe

making a modal JInternalFrame


I need to get lots of data (file select , text, date ,...) from user in a MDI JFrame.
I need the input form that is a JInternalFrame be modal.
How Can I make a JInternalFrame modal?


Solution

  • From my experience, I have never managed to make JInternalFrame modal and don't think that is possible out of the box.

    See this great article on an extension to JInternalFrame to make them modal (thanks to Steve Webb).