Is this code bad practice as the method show() is deprecated? Is it okay to override here?
public class Window extends JFrame {
public Window() {
// Do things.
}
public void show() { // <- Comes up with a warning as deprecated code.
// Do other things.
}
}