View code interacts with Swing components through this object. To change the content of the flash-card text pane, for example, you could write
视图代码通过这个对象与 Swing 组件交互。
The text pane, provides a way to quickly enter and edit the text of a graphic.
文本窗格,提供了快速进入并编辑图形文本的方法。
Adjusts the location of the view in the text buffer so that the indicated range of text is shown in the text pane, if possible.
调整文字缓冲区中文字检视的位置,如果可能的话,让选取的文字范围显示在文字窗格中。
应用推荐