Why won't menu display?

package test;

import java.awt.BorderLayout;

import java.awt.GridBagConstraints;

import java.awt.GridBagLayout;

import javax.swing.JFrame;

import javax.swing.JLabel;

import javax.swing.JMenu;

import javax.swing.JMenuBar;

import javax.swing.JMenuItem;

import javax.swing.JPanel;

import javax.swing.JSplitPane;

publicclass TestFrameextends JFrame{

privatestaticfinallong serialVersionUID = 1;

private JPanel jContentPane =null;

private JSplitPane jSplitPane =null;

private JPanel jPanel =null;

private JPanel jPanel1 =null;

private JLabel jLabel =null;

private JLabel jLabel1 =null;

private JMenuBar jJMenuBar =null;

private JMenu jMenu =null;

private JMenuItem jMenuItem =null;

private JMenuItem jMenuItem1 =null;

private JMenu jMenu1 =null;

public TestFrame(){

super();

initialize();

}

privatevoid initialize(){

this.setSize(300, 200);

this.setJMenuBar(getJJMenuBar());

this.setContentPane(getJContentPane());

}

private JPanel getJContentPane(){

if (jContentPane ==null){

jContentPane =new JPanel();

jContentPane.setLayout(new BorderLayout());

jContentPane.add(getJSplitPane(), BorderLayout.CENTER);

}

return jContentPane;

}

private JSplitPane getJSplitPane(){

if (jSplitPane ==null){

jSplitPane =new JSplitPane();

jSplitPane.setDividerLocation(50);

jSplitPane.setLeftComponent(getJPanel());

jSplitPane.setRightComponent(getJPanel1());

}

return jSplitPane;

}

private JPanel getJPanel(){

if (jPanel ==null){

GridBagConstraints gridBagConstraints1 =new GridBagConstraints();

gridBagConstraints1.gridx = 0;

gridBagConstraints1.gridy = 0;

jLabel1 =new JLabel();

jLabel1.setText("left");

jPanel =new JPanel();

jPanel.setLayout(new GridBagLayout());

jPanel.add(jLabel1, gridBagConstraints1);

}

return jPanel;

}

private JPanel getJPanel1(){

if (jPanel1 ==null){

GridBagConstraints gridBagConstraints =new GridBagConstraints();

gridBagConstraints.gridx = 0;

gridBagConstraints.gridy = 0;

jLabel =new JLabel();

jLabel.setText("right");

jPanel1 =new JPanel();

jPanel1.setLayout(new GridBagLayout());

jPanel1.add(jLabel, gridBagConstraints);

}

return jPanel1;

}

private JMenuBar getJJMenuBar(){

if (jJMenuBar ==null){

jJMenuBar =new JMenuBar();

jJMenuBar.add(getJMenu());

}

return jJMenuBar;

}

private JMenu getJMenu(){

if (jMenu ==null){

jMenu =new JMenu();

jMenu.add(getJMenuItem());

jMenu.add(getJMenuItem1());

jMenu.add(getJMenu1());

}

return jMenu;

}

private JMenuItem getJMenuItem(){

if (jMenuItem ==null){

jMenuItem =new JMenuItem();

}

return jMenuItem;

}

private JMenuItem getJMenuItem1(){

if (jMenuItem1 ==null){

jMenuItem1 =new JMenuItem();

}

return jMenuItem1;

}

private JMenu getJMenu1(){

if (jMenu1 ==null){

jMenu1 =new JMenu();

}

return jMenu1;

}

}

[7687 byte] By [JDCarrolla] at [2007-11-26 22:45:25]
# 1
Looks like you didn't add any JMenuItems to the JMenuBar.
BinaryDigita at 2007-7-10 12:02:50 > top of Java-index,Desktop,Core GUI APIs...
# 2
Naw, they're there. And sorry I didn't put any explanation. I hit submit too quick .I figured it out though. I wasn't setting the text propreties, so the menu was actually displayin, it was just empty.Thanks anyways
JDCarrolla at 2007-7-10 12:02:50 > top of Java-index,Desktop,Core GUI APIs...