CS 121 Lecture Notes - Lecture 73: Fiber Bundle

46 views3 pages
Split Panes:
A container that displays 2 components separated by a moveable divider bar.
Depending on how split pane is set up, the 2 components are displayed:
o Side by side
o One on top of the other.
In Java, we can create a split pane using the JSplitPane class.
o The configuration of a split pane:
o Orientation of a split pane is set using constants in JSplitPane class.
Can be set when container is created or explicitly later on.
The constant HORIZONTAL_SPLIT specifies that components be
displayed side by side.
The constant VERTICAL_SPLIT specifies that components be
displayed one on top of the other.
o Location of divider bar determines how much visible area is devoted to
each component in the split pane.
Divider bar can be dragged across container area using the mouse.
find more resources at oneclass.com
find more resources at oneclass.com
Unlock document

This preview shows page 1 of the document.
Unlock all 3 pages and 3 million more documents.

Already have an account? Log in

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents