• Post Reply Bookmark Topic Watch Topic
  • New Topic

getContentPane() in JFrame  RSS feed

 
Zhining Zhang
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Why does JFrame need getContentPane(), while Frame does not?
What is the story behind?
Thanks!-ZZ
 
cata lin
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am not very sure, but it would be something related to hierachy, check the base classes of JFrame and Frame.
Cheers.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!