Buttons displayed on top of each other

I copied a code for an applet that displays four buttons, but when I run it in BlueJ, the buttons are created on top of each other. Any suggestions as to why this may happen?
[181 byte] By [Mitha] at [2007-11-27 9:40:36]
# 1
Maybe you shouldn't run it in bluej? Thats the only reasonable expanation I can think of at the time.
JToolTipa at 2007-7-12 23:18:01 > top of Java-index,Desktop,Core GUI APIs...
# 2
yeah use appletviewer or browser instead.or try using diffrent layout managers.
Jbga at 2007-7-12 23:18:01 > top of Java-index,Desktop,Core GUI APIs...