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
How objects are stored in java?
Why do we use return statement?
What is identifier give example?
What is serial version uid and its importance in java?
When to use runnable interface vs thread class in java?
What are the steps that are followed when two computers connect through tcp?
How does linkedhashmap work in java?
What is canonical name in java?
What is ascii format?
What is module in oop?
How variables are declared?
What is null statement?
What is byte code and why is it important to java’s use for internet programming?
What is the difference between && and & in java?
Mention some features of java?