Difference between a MenuItem and a CheckboxMenuItem?



Difference between a MenuItem and a CheckboxMenuItem?..

Answer / satheesh kannan

MenuItem is associated with a single event where as
CheckBoxMenuItem is associated with two events(it is having
a toggle state-enable/disable)

File->open is best example of menu item , it opens a "open
dialog" box when we click this is taken as a single event,

View-->status bar is a checkboxmenuitems, which has two
states, If it "on", the status bar gets displayed in IE,if
we click it again its gets "Off", the status bar is hidden.
(similar to a checkbox)

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More Core Java Interview Questions

What does sizeof return?

0 Answers  


What is listnode in java?

0 Answers  


How to create an interface?

0 Answers  


why abstract class will have a constructor?

4 Answers  


What are meta-annotations?

0 Answers   Cyient,






What are the steps involved to create a bean?

0 Answers  


What is intern method in java?

0 Answers  


what Data encapsulation in java?

5 Answers  


Write a program to print the pattern given below

0 Answers  


What is clipping?

2 Answers  


How does multithreading take place on a computer with a single cpu?

0 Answers  


Suppose there is an Online shopping cart application having different objects like Cart, SelectionItem, Billing, COnfiguration, Authentication, Authorization, PersonalDetails etc. Out of this which one can be made a singleton pattern and why?

2 Answers   RBS,


Categories