Swing 1.1

Deprecated API

Deprecated Classes
javax.swing.text.DefaultTextUI
            
 

Deprecated Methods
javax.swing.JTable.createScrollPaneForTable(JTable)
          As of Swing version 1.0.2, replaced by new JScrollPane(aTable). 
javax.swing.KeyStroke.getKeyStroke(char, boolean)
          use getKeyStroke(char) 
javax.swing.AbstractButton.getLabel()
          - Replaced by getText() 
javax.swing.JInternalFrame.getMenuBar()
          As of Swing version 1.0.3, replaced by getJMenuBar(). 
javax.swing.JRootPane.getMenuBar()
          As of Swing version 1.0.3 replaced by getJMenubar(). 
javax.swing.JPasswordField.getText()
          As of JDK version 1.2, replaced by getPassword(). 
javax.swing.JPasswordField.getText(int, int)
          As of JDK version 1.2, replaced by getPassword(). 
javax.swing.ScrollPaneLayout.getViewportBorderBounds(JScrollPane)
          As of JDK version Swing1.1 replaced by JScrollPane.getViewportBorderBounds(). 
javax.swing.text.View.modelToView(int, Shape)
            
javax.swing.AbstractButton.setLabel(String)
          - Replaced by setText(text) 
javax.swing.ToolTipManager.setLightWeightPopupEnabled(boolean)
          As of Swing1.1 replaced by setToolTipWindowUsePolicy(int). 
javax.swing.JInternalFrame.setMenuBar(JMenuBar)
          As of Swing version 1.0.3 replaced by setJMenuBar(JMenuBar m). 
javax.swing.JRootPane.setMenuBar(JMenuBar)
          As of Swing version 1.0.3 replaced by setJMenuBar(JMenuBar menu). 
javax.swing.JTable.sizeColumnsToFit(boolean)
          As of Swing version 1.0.3, replaced by sizeColumnsToFit(int). 
javax.swing.text.View.viewToModel(float, float, Shape)
            
 


Swing 1.1

Submit a bug or feature
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.