Click to See Complete Forum and Search --> : Adding menu's directly to the browser in an applet?
Brad Cadle
February 7th, 1999, 07:16 PM
I was wondering,
Is there a way to place buttons, and menu items within the "frame" area used in the browser. The only way I have figured out to place menuitems is by creating a frame outside of the broswer and adding them to the frame, since I need a frame object with which to set the menubar. The Java Hierarchy chart shows that the frame class and the applet class are are parallel to each other. Is there any easy method around this problem of adding menu bars to the browser window directly without having to create a new frame outside of the browser.
-Brad
brad Cadle
February 7th, 1999, 07:16 PM
I was wondering,
Is there a way to place buttons, and menu items within the "frame" area used in the browser. The only way I have figured out to place menuitems is by creating a frame outside of the broswer and adding them to the frame, since I need a frame object with which to set the menubar. The Java Hierarchy chart shows that the frame class and the applet class are are parallel to each other. Is there any easy method around this problem of adding menu bars to the browser window directly without having to create a new frame outside of the browser.
-Brad
Brad Cadle
February 7th, 1999, 09:14 PM
Additional Info,
Since posting the original message I found that one can add buttons and the like to the frame embedded in the browsers window by using AddItem, since the applet is derived from container. I still cannot find a way to add menu bars as they are not derived from class container but from class menu container. Is there a way around this for menubar's. It is nor clear to me why the java creators did not derive menubars from class container as well.
-Brad
brad Cadle
February 7th, 1999, 09:14 PM
Additional Info,
Since posting the original message I found that one can add buttons and the like to the frame embedded in the browsers window by using AddItem, since the applet is derived from container. I still cannot find a way to add menu bars as they are not derived from class container but from class menu container. Is there a way around this for menubar's. It is nor clear to me why the java creators did not derive menubars from class container as well.
-Brad
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.