Question: Why is it sometimes necessary to place a component inside a panel and then place the panel inside a container governed by a BorderLayout manager?
Why is it sometimes necessary to place a component inside a panel and then place the panel inside a container governed by a BorderLayout manager?
Step by Step Solution
3.42 Rating (165 Votes )
There are 3 Steps involved in it
Component is an abstract class so that you can only create objects belonging to its subclasses not to Component itself The subclasses that represent common GUI elements are Button Checkbox Choice Labe... View full answer
Get step-by-step solutions from verified subject matter experts
