[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.
Enjoy the full beauty of the english language. Embedded in this tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss


This thread has been viewed 1910 times.

All times above are in ranch (not your local) time.
The current ranch time is
Jul 18, 2018 06:58:27.