Got it.
Also there are many things that can be embeded into the JMenuBar. This example shows a JButton as well. I beleive that the JComboBox, JTextFeild, etc. can be embeded too.
enjoy.
from javax.swing import JMenuBar
from javax.swing import JMenuItem
from javax.swing import JMenu
from javax.swing import JFrame
from javax.swing import JButton
from javax.swing import ImageIcon
from java.awt import Font
def doHome(event):
import system
system.gui.messageBox("Home selected")
def doMenu1(event):
import system
system.gui.messageBox("Menu 1 selected")
menubar = JMenuBar()
menubar.background = system.gui.color(0,0,0)
menubar.foreground = system.gui.color(255,255,255)
menu1 = JButton("Home",actionPerformed=doHome)
menu1.background = system.gui.color(0,0,0)
menu1.foreground = system.gui.color(255,255,255)
menu1.setBorderPainted(False)
menu1.setFont(Font("Ariel", Font.BOLD,12))
menu2 = JMenu("Menu")
menu2.background = system.gui.color(0,0,0)
menu2.foreground = system.gui.color(255,255,255)
menu3 = JMenu("Reports")
menu3.background = system.gui.color(0,0,0)
menu3.foreground = system.gui.color(255,255,255)
menu4 = JMenu("Sub Menu")
menu4.background = system.gui.color(0,0,0)
menu4.foreground = system.gui.color(255,255,255)
menuitem1 = JMenuItem ("Sub Menu 1",actionPerformed=doMenu1)
menuitem1.background = system.gui.color(0,0,0)
menuitem1.foreground = system.gui.color(255,255,255)
menuitem2 = JMenuItem ("Sub Menu 2")
menuitem2.background = system.gui.color(0,0,0)
menuitem2.foreground = system.gui.color(255,255,255)
menuitem3 = JMenuItem ("Sub Menu 3a")
menuitem3.background = system.gui.color(0,0,0)
menuitem3.foreground = system.gui.color(255,255,255)
menuitem3b = JMenuItem ("Sub Menu 3b")
menuitem3b.background = system.gui.color(0,0,0)
menuitem3b.foreground = system.gui.color(255,255,255)
reportitem1 = JMenuItem ("Report 1")
reportitem1.background = system.gui.color(0,0,0)
reportitem1.foreground = system.gui.color(255,255,255)
reportitem2 = JMenuItem ("Report 2")
reportitem2.background = system.gui.color(0,0,0)
reportitem2.foreground = system.gui.color(255,255,255)
reportitem3 = JMenuItem ("Report 3")
reportitem3.background = system.gui.color(0,0,0)
reportitem3.foreground = system.gui.color(255,255,255)
menu2.add(menuitem1)
menu2.add(menuitem2)
menu4.add(menuitem3)
menu4.add(menuitem3b)
menu2.add(menu4)
menu3.add(reportitem1)
menu3.add(reportitem2)
menu3.add(reportitem3)
menubar.add(menu1)
menubar.add(menu2)
menubar.add(menu3)
menubar.setLocation(100,100)
event.source.parent.parent.parent.setMenuBar(menubar)
menubar.setVisible(1)