P
Peter
import javax.swing.*;
import javax.swing.border.*;
import javax.swing.plaf.basic.*;
public class PComboBox_ComboPopup extends
javax.swing.plaf.basic.BasicComboPopup {
Border border1;
public PComboBox_ComboPopup(JComboBox comboBox) {
super(comboBox);
}
public void show() {
}
}
The jdk 1.4.2 said :
Note: PComboBox_ComboPopup.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
because i override the "publid void show()" method, but i have checked
the manual, the show method is not deprecated. Is it s bug of javac?
thanks
from Peter ([email protected])
import javax.swing.border.*;
import javax.swing.plaf.basic.*;
public class PComboBox_ComboPopup extends
javax.swing.plaf.basic.BasicComboPopup {
Border border1;
public PComboBox_ComboPopup(JComboBox comboBox) {
super(comboBox);
}
public void show() {
}
}
The jdk 1.4.2 said :
Note: PComboBox_ComboPopup.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
because i override the "publid void show()" method, but i have checked
the manual, the show method is not deprecated. Is it s bug of javac?
thanks
from Peter ([email protected])