Solved

How can we add menuBar in Applet using awt without using Frame

Posted on 2001-06-04
3
406 Views
Last Modified: 2010-08-05
  I add a menu using awt.
I m not wishing to set a Frame in my Applet since i want to add it in a browser...If we use Frame it appears like another window.I want the the menu in the browser itself.But menuBar is added only in Frame.Other wise it will return some error messege


I will be greatily satisfy if u give me a reply.Examples will help me more...
                                                regards..
                                                                   Sujeesh
0
Comment
Question by:sujeeshlal
3 Comments
 

Author Comment

by:sujeeshlal
ID: 6152213
When I try to set a menuBar using setMenuBar method it returned an error msg..How can  Overcome it
0
 

Accepted Solution

by:
polina earned 150 total points
ID: 6153355
Try to add Frame to Applet and setMenuBar on Frame instead
of Applet.
0
 

Expert Comment

by:surendraboppana
ID: 6153525
i think its better to do it using swing
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
HSSFWorkbook cannot be resolved error 10 68
type mismatch (Object[] to double[] 4 24
eclipse buid path vs tomcat lib path 10 23
eclipse console opening separately 2 18
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question