Can we add scrollbar to JOptionPane.showConfirmDialog()
843804Jan 28 2005 — edited Feb 26 2008Hi,
Can we add a scroll bar to JOptionPane.showConfirmDialog() so that the contents(messages) which are to be displayed are present in scrollbar so that the buttons will be visible to the user like OK, CANCEL.
Currently when the message is large the buttons will not be visble in the screen.
So, it is possible ? Or there is any other alternative for the same.
Thanks.