Check out BorderLayout. Your first text box panel can go NORTH, your grid panel CENTER and you second text box panel SOUTH.

A couple of other things - your BlackFrame class extends JFrame but...