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
Why is java called the platform independent programming language?
What is difference between this and super keyword?
Can we pass a primitive type by reference in java? How
What do you know about the garbate collector?
How does hashset works in java?
Why isn’t there operator overloading?
What is arrays sort in java?
Explain inheritance in java?
What technique can be employed to compare two strings?
What is constructor chaining in java?
Can we have multiple catch block for a try block?
What are scalar data types?
What is string buffer?
Give us the name of the list layoutmanagers in java?
What is the requirement of thread in java?