The Light Weight Scroll Panel sample calls some methods for the JFLScrollablePanel-class Scroll Panel and monitors the operation of the Scroll Panel.
The Scroll Panel sample uses the following classes:
JFAliginment
JFLScrollablePanel
Figure 2.13 Scroll panel sample
Operation method
Select the method of the Scroll Panel from "Execute Method:".
An explanation of the function and parameter of the selected method is displayed at the bottom. Enter an appropriate value in "Parameter 1:" and "Parameter 2:" in accordance with the explanation.
Pressing the [The practice of the method] button reflects the execution result of the method in the upper-half of the scroll panel.
Pressing the [The acquisition of ScrollPanel information] button displays the properties of the scroll panel in the scroll panel.
Henceforth, the Scroll Panel operation status can be monitored by repeating steps 1 to 4.
Source codes
Scroll panel sample:"Sample Storage Destinations"/JFCScrollablePanel/SampleScroll.java