Deprecated and moved functionality in the JBCL

Deprecated functionality will compile and run, despite warnings about the deprecation. Properties, methods, and variables which have been moved or renamed will generate compile errors which must be resolved before you can run your application or applet.

The following tables outline functionality that was moved or deprecated in the JBCL. Wherever possible, alternate ways of attaining the same behavior are indicated.


jbcl.control package

The following have been moved or deprecated in the jbcl.control package:

Formerly: Use:
ListControl remove() removeItem(int)
ListControl removeAll() removeAllItems()


jbcl.util package

The following have been moved or deprecated in the jbcl.util package:

Formerly: Use:
Variant All "binary*" methods "InputStream" equivalents in the Variant class


jbcl.view package

The following have been moved or deprecated in the jbcl.view package:

Formerly: Use:
ButtonView label property ButtonControl label property. If a control you create using ButtonView requires a label property, you must add your own.
GridView alwaysEdit property autoEdit
GridView doubleBuffer property javax.swing.JComponent.isDoubleBuffered() and javax.swing.JComponent.setDoubleBuffered
GridView scrollPosition property javax.swing.JScrollpane.getViewport() and javax.swing.JScrollpane.setViewport(com.sun.java.swing.JViewport)
GridView showHScroll property javax.swing.JScrollpane.getHorizontalScrollBarPolicy() and javax.swing.JScrollpane.setHorizontalScrollBarPolicy(int)
GridView showVScroll property javax.swing.JScrollpane.getVerticalScrollBarPolicy() and javax.swing.JScrollpane.setVerticalScrollBarPolicy(int)
GridView viewportSize property javax.swing.JScrollpane#getViewport().getExtentSize()
GridView setScrollPosition method javax.swing.JScrollpane#getViewport().setViewPosition(Point vp)
ListView alwaysEdit property autoEdit
ListView directDraw property javax.swing.JComponent.paintImmediately
ListView doubleBuffer property javax.swing.JComponent.isDoubleBuffered() and javax.swing.JComponent.setDoubleBuffered
ListView scrollPosition property javax.swing.JScrollpane.getViewport() and javax.swing.JScrollpane#getViewport().setViewPosition(Point vp)
ListView viewportSize property javax.swing.JScrollpane#getViewport().getExtentSize()
ListView setScrollPosition method javax.swing.JScrollpane#getViewport().setViewPosition(Point vp)
SelectableTextItemPainter entire class SelectableItemPainter and TextItemPainter. See the SelectableItemPainter class for more information.
TabsetView doubleBuffer property javax.swing.JComponent.isDoubleBuffered() and javax.swing.JComponent.setDoubleBuffered
TreeView doubleBuffer property javax.swing.JComponent.isDoubleBuffered() and javax.swing.JComponent.setDoubleBuffered
TreeView scrollPosition property javax.swing.JScrollpane.#getViewport().getViewPosition() and javax.swing.JScrollpane.#getViewPort().setViewPosition(Point vp)
TreeView showRoot property n/a
TreeView viewportSize property javax/swing.JScrollpane#getViewport().getExtentSize()