What do I use instead of Frame.show()?

I tried to recompile and run some of my old Java programs and I get the messages on my statements where I use the .show() method that it is now deprecated. What do I use instead?
1 answer 1