Hi!
I am trying to arrange image icon and JScrollPane horizontally. This is a sample site.
http://webdev.apl.jhu.edu/~rbe/java/Homework5/index.html
**************************
**********
****
JLabel explanatoryArea = new JLabel("This is a explanatory area.");
scrollPane = new JScrollPane(explanatoryAre
a);
scrollPane.setPreferredSiz
e(new Dimension(50, 60));
container.add(scrollPane, BorderLayout.NORTH);
**************************
*********
Also, if I want my text start from left top corner in the scrollpane, how do I do it?
I don't think JLabel is the way...
thanks,