例如,请考虑下面这个用于gui库可滚动窗格的UML分析图示例。
For example, consider the following example of a UML analysis diagram for scrollable panes for a GUI library.
另外,只需将鼠标停留在一个房间的名称上,就会显示出其他信息(不需在对话框中滚动窗格),如房间容量或详细说明等。
In addition, other information, such as room capacity or description, is also displayed (without you having to scroll the pane in the dialog) by simply moving your mouse over a room name.
JScrollPane组件甚至随预注册的侦听器一起提供,所以当这个组件获得焦点且用户移动鼠标滚轮时窗格将会滚动。
The JScrollPane component even comes with a pre-registered listener, so the pane will scroll when it has focus and the user moves the wheel.
应用推荐