In my program I have 6 buttons. All the button are on Borderlayout and are going to the west. But when I run the program only the last button is shown on the west side. Am I doing somthing wrong??
You can only put one component in each position of a BorderLayout; if you put in more than one, only the last one will show up. If you need to put more than one Button into the WEST position, then first pack the buttons into a panel (Panel, JPanel, or Box; you didn't say whether you were using Swing or AWT) and then place that panel into the WEST position of the main layout.