6768697071727374
p.setLayout(new BorderLayout()); p.add(qPane, BorderLayout.NORTH); p.add(mPane, BorderLayout.CENTER); p.add(bPane, BorderLayout.SOUTH); bar = new MenuBar(wListener, mPane.getListener()); this.setJMenuBar(bar); }