List and Text Component Scrollbar DifferencesWhy is it that scrollbars never appear when working with Swing's list and text components ? Unlike their AWT cousins, Swing's list and text components don't have automatic scrollbars. If you want scrollbars, you must add either component to Swing's scroll pane container. Chapter 16, "Building a GUI: Swing Style," will show you how to accomplish this task. |