This video teaches the border layout with toggle button. A java application was developed with border layout such that when a button on one of the 5 regions is clicked for the 1st time, then all other buttons on the remaining 4 regions get disappeared and when the button is clicked for the second time all other buttons re-appeared.