|
Java™ by example!
|
|
|
How do I add a JPanel with a null layout to a JScrollPane?
 Make sure you set the preferredSize of the JPanel. Invoke the method setViewportView on JScrollPane. Main.java:
Further Information
Author of answer: Joris Van den Bogaert
Comments
Comments to this answer are only viewable by members. Login or become a member!
|
|
|
|
|