Science, asked by Neet5766, 8 months ago

Why JFrame component cannot be added to a container?

Answers

Answered by EkVillian
1

hlo mate ✌️

A container is a kind of component that holds and manages other components. JComponent objects can be containers, because the JComponent class descends from the Container class. Three of the most useful container types are JFrame , JPanel , and JApplet . A JFrame is a top-level window on your display.

Hope it helps.

Similar questions