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

Which types of exceptions are caught at compile time?

0 Answers  


Which variable is the independent variable?

0 Answers  


Is a case study a method or methodology?

0 Answers  


How do you reverse sort a list in java?

0 Answers  


Explain parallel processing in java8?

0 Answers  






Explain the use of sublass in a java program?

0 Answers  


What does the append?

0 Answers  


What is xslt in java?

0 Answers  


What do u mean by method and also contructer in java ?

3 Answers  


What is stop(), suspend(), resume() method?

3 Answers  


How do listeners work?

0 Answers  


How transient variable is different from volatile variable?

0 Answers  


Categories