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 is difference between path and classpath?

0 Answers  


What is a layout manager?

1 Answers  


Explain about doubly linked list

0 Answers   Aditi Placement Service,


Can you create an object of an abstract class?

0 Answers  


What do you mean by an object in java?

0 Answers  






What is the static method?

0 Answers  


What are heterogeneous objects?

0 Answers  


How to define a constant variable in Java?

1 Answers   TCS,


How to perform merge sort in java?

0 Answers  


How to sort an array from smallest to largest java?

0 Answers  


What is the += operator called?

0 Answers  


What are singleton services?

0 Answers  


Categories