Ok, this one has buffled me for ages. All i need is to build a menubar with menus on it so that I can navigate my site. It has to be based on AWT and not SWING. AWT because there is a better chance that it will appear in many browsers, i built it in Swing before but many of my users complained because they could not see the menu and they would shreik in horror when i told them about downloading the Java Runtime Environment (Plugin) So I dropped the SWING-based navigator. Now, I've read the books and the docs and the main problem is that it seems as if the only way to have a menubar and menus on it in *AWT* is to bind a menubar to a frame using frame.setMenubar(). I have tried this and it works, I can see my menus. However, the problem starts when I need for this menu to be shown inside an applet. I tried it and the browser launched a new window to present the menus which is not good. Of course, a Frame is a window and that is why the browser spawns a new window to show it. So is there a remedy for this? I'm considering to investigate PopUpMenu(), maybe that would help? Another solution is using JavaScript menus but we all know the problems with that one. I think I have a better chance with an AWT-based menu. Please point me to a good direction. i'm a quick learner. Your help would be greatly appreciated.
In a time of drastic change it is the learners who inherit the future. The learned usually find themselves equipped to live in a world that no longer exists.<br />Eric Hoffer
Manfred Leonhardt
Ranch Hand
Joined: Jan 09, 2001
Posts: 1492
posted
0
Hi Ernest, You have hit the nail on the head. You already know your two choices: 1. Popup menu 2. JavaScript. I would recommend using something like DreamWeaver so you won't to many problems ... Regards, Manfred.
ernest fakudze
Ranch Hand
Joined: Aug 27, 2001
Posts: 216
posted
0
Thanks Manfred. I will go with popup menu. Btw are u telling me that I can use Dreamweaver to build menus??
Manfred Leonhardt
Ranch Hand
Joined: Jan 09, 2001
Posts: 1492
posted
0
Hi Ernest, You can use DreamWeaver to create an entire website. It is cool stuff ... Regards, Manfred.