I have an object which is invoked from the main GUI thread and shows a separate JFrame for a number of seconds and then disappear (with the use of a timer). Now I want to make t
I have an object which is invoked from the main GUI thread and shows a separate JFrame
If you want to show more than one TopLayoutContainer(s) maybe it is better to look for JDialog because with that you can play with ModalityType & toFront().
Isn't method show()
deprecated and replaced with method JDialog.setVisible(boolean)?
Don't use a separate JFrame for this is what modal dialogs were built for. Use either a JOptionPane or a modal JDialog.