I've starting a new JDialog, with a JTextArea on it. The text written on it is set that I have a scroll down bar because it's long. Now when the dialog opens, the scrollbar is scrolled down, so if someone wants to read from beginning he has to scroll up. Kind of reversed behavior of what I would like. How can I open the JDialog such that the JTextArea is scrolled up to maximum?