Suppose a JPanel with a BorderLayout manager contains two components: component1, which was added to the EAST, and component2, which was added to the west. Which parts of the JPanel appear?
Since the two components are added to the 'east' and 'west', and the JPanel has a BorderLayout manager, then North, South and Center parts of the JPanel will appear.