[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.
crispy bacon. crispy tiny ad:
Thread Boost - a very different sort of advertising
https://coderanch.com/t/674455/Thread-Boost-feature


This thread has been viewed 1832 times.

All times above are in ranch (not your local) time.
The current ranch time is
Apr 21, 2018 00:12:39.