hi,
I have a JEditorPane inside a JScrollPane, and the JScrollPane is inside a JFrame. I made the JFrame resizable, but the JScrollPane does not resize, i read through this link http://forum.java.sun.com/thread.jspa?threadID=528867&messageID=2543208 , and i would like to ask the following:
1) can i resize the JScrollPane if i use
container.setLayout(null);
2) How do i make a JScrollPane resize in 1 direction only, like only horizontally and vertically, when the JFrame resizes?
Thanks in advance
Regards,
yiming