what's the different of show() and setVisible(true)
In the JFrame, the show() method is a decoporated method, and must use setVisible(tre) method. and In the
JDialog, we must use show() method. but both JFrame and JDialog extend the Window,and Window have show() and setVisible(true), My problem is what's the different of the two method. if I use the show method in the JFrame, what the effect is. and I use the setVisible method in the JDialog, what the effect is.
Thx.

