[Logo]
Forums Register Login
getContentPane() in JFrame

Why does JFrame need getContentPane(), while Frame does not?
What is the story behind?
Thanks!-ZZ
Hi,
I am not very sure, but it would be something related to hierachy, check the base classes of JFrame and Frame.
Cheers.

This thread has been viewed 2004 times.

All times above are in ranch (not your local) time.
The current ranch time is
Oct 22, 2018 22:01:46.