What does getContentPane() do exactly? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 4

What does getContentPane() do exactly?

25th Apr 2021, 7:14 PM
Vishakha Shrivastav
Vishakha Shrivastav - avatar
2 ответов
+ 2
getContentPane() retrieves the content pane object from the frame object so that other objects (text boxes, buttons, etc) may be applied to it or properties (color, etc) may be changed.
25th Apr 2021, 9:13 PM
ChaoticDawg
ChaoticDawg - avatar
+ 1
it returns an object (Container) that wraps a list of components of a window
25th Apr 2021, 9:52 PM
zemiak