This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
Each position in a BorderLayout can only hold one Component. If you add two JButtons in a row to the NORTH position in a Container with a BorderLayout, then the second one replaces the first one, which is no longer in the the JPanel. This is why you only see the "Z"s. To fix your lovely program, so that the world may bask in its rightful greatness, you could create another JPanel using the default FlowLayout, and add all the JButtons to this JPanel; then add this JPanel to the original Container's "NORTH" position. [ October 09, 2003: Message edited by: Ernest Friedman-Hill ]