Explanation:In this program, two different images are added onto the left and right side of the split pane.
The images are contained within two instances of JScrollPane as done in the previous section. The returned
references from the constructors of JScrollPane are stored in the left and right of Component type. In the
constructor of the JSplitPane, the fi rst argument is the split orientation, second is the left component and right
is the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.