Can someone suggest me how to implement a pop-up window in Java Swing. I want the pop-up window to be a modal window (user cannot return to the main window when the pop-up is open).
I tried doing it using JDialog but it allows only one widget for user input to be in it whereas I need multiple widgets. I may be wrong here but this is what I was able to do.
Appreciate your help.
Use a JDialog. There is no restiction on what you can add, you can add whatever you want to a JDialog (exactly the same as when using a JFrame)