what I would do if I had to do what you are doing, I would create a new GridLayout with 4 rows and 1 column, and then create 4 panels using flowlayout, add the first 3 buttons to the first panel, the next 3 buttons to the second panel, then the above average button to the third panel, and the poverty button to the last panel, and then add the four panels in order to the frame or window or whatever you're using. for some reason I keep thinking you're really looking for a MenuBar?
Originally posted by Brandi Love: whats a menu bar?
I assume you are using Internet Explorer, Mozilla, Netscape, or some varient there of to browse the web. Or that maybe you have used a program like MS Word, Excel, anyway.... A menu bar is that bar at the top of those applications that are: File Edit View Tools Help, etc You click on them and a drop down appears with other menu choices. SWING has a component called JMenuBar which is exactly that. A bar with Menu Items on it, just like in other Windows/Linux applications. Here is a good tutorial on JMenuBars in SWING.