Click to See Complete Forum and Search --> : java menu?


March 5th, 2000, 03:00 PM
where can i find a proffessional looking java menu?

ytsau
March 6th, 2000, 12:06 PM
What is your definition of "professional Menu"? :-)

If you are refering to the menu bar you have seen on many windows application (such as ms word and netscape), Here is the suggestion.

You can not add menu bar directly to your applet. However, you can add it to a frame. The following is a piece of simple code:

class MyFrame extends Frame
{
public MyFrame() {
MenuBar mb = new MenuBar();
mb.add(new MenuItem("Test"));
setMenuBar(mb);
resize(200, 100);
show();
}
}




Good luck, ytsau