deprecated API « Development « Java Swing Q&A





1. Deprecated API usage in Code    coderanch.com

So far, no deprecated API has ever been removed from JSE, and it's likely to stay that way for the foreseeable future. So you don't need to do anything right now. As you work with the code, you may want to reduce the use of obsolete APIs in the code sections you're changing anyway, though. Depends a bit on what APIs ...

2. Java uses or overrides a deprecated API?    coderanch.com

Please have a look at the following two set of codes BatchUpdates.java import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.border.*; public class BatchUpdates extends JFrame implements ActionListener { JLabel titleLabel, subTitle1Label, subTitle2Label, idLabel, nameLabel, addressLabel, phoneLabel, userNameLabel, passwordLabel; JTextField idTxt, nameTxt, phoneTxt, userNameTxt; JPasswordField passwordTxt; JTextArea addressTxt; JScrollPane scroll; JPanel scrollPanel; JButton insert; Font f; public BatchUpdates() { //Declaring Instance Variables// ...