javax.swing.DefaultSingleSelectionModel Java Examples

The following examples show how to use javax.swing.DefaultSingleSelectionModel. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: TabbedSlideAdapter.java    From netbeans with Apache License 2.0 5 votes vote down vote up
/** Creates a new instance of SlideBarTabs */
public TabbedSlideAdapter(String side) {
    dataModel = new SlideBarDataModel.Impl();
    setSide(side);
    selModel = new DefaultSingleSelectionModel();
    slideBar = new SlideBar(this, (SlideBarDataModel)dataModel, selModel);
    slidingMode = findSlidingMode();
}