Scroll Bar
I'm writing a GUI program. I have a method that returns some large strings, and sometimes the strings are too large for the
JOptionPane.showMessageDialog(null,ouput);
to fit on the screen. Is there a simple way I can get a new window to pop up like the
showMessageDialog
method does, but instead of going out of the screen, it has a simple scroll bar, and nice height?
Any help appreciated.

