Difference between a MenuItem and a CheckboxMenuItem?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

How objects are stored in java?

548


Why do we use return statement?

541


What is identifier give example?

553


What is serial version uid and its importance in java?

598


When to use runnable interface vs thread class in java?

525






What are the steps that are followed when two computers connect through tcp?

520


How does linkedhashmap work in java?

519


What is canonical name in java?

622


What is ascii format?

550


What is module in oop?

571


How variables are declared?

517


What is null statement?

535


What is byte code and why is it important to java’s use for internet programming?

594


What is the difference between && and & in java?

571


Mention some features of java?

541