If you have deleted the panels of your ubuntu, top or bottom one and can not figure out how to restore it here are three simple commands that will give your default panel back.
Note that the panels will be restored to the way they look when you have a fresh install, any shortcuts etc that you might have added to them will not be available and you will have redo them.
1. Open a Terminal
Type the following c. Open a Terminal
Type the following commands
2. gconftool --recursive-unset /apps/panel
3. rm -rf ~/.gconf/apps/panel
4. pkill gnome-panel
After running the above commands you should see both your top and bottom panels
being restored to their default states.