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 the collection interface?

0 Answers  


Diff between C++ and java?

9 Answers   TCS,


What is final keyword?

0 Answers  


if two references are having same hash codes,is that means those are refering to same object?

5 Answers   CTS,


what is type of statement in jdbc connection?

3 Answers  


What is an example of a keyword?

0 Answers  


What are variable arguments or varargs?

0 Answers  


What does exclamation mean in java?

0 Answers  


What is the byte range?

0 Answers  


What collections you have worked on? Internal working of Hashmap?

1 Answers   Bravura Solutions,


What is jit compiler in java?

0 Answers  


Can I have constructor in Interface?

2 Answers  


Categories