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
What is a package in java? List down various advantages of packages.
What are different access specifiers in java?
What is the implementation of destroy method in java. Is it native or java code?
Explain the difference between transient and volatile in java?
Hi Anyone know the model / questions of the Federal bank sample questions for the post of Specialist Officers - Programmers. Please post if anyone have..
How does arrays sort work in java?
Which data type is class in java?
what do you understand by the term string with respect to java?
What is e java?
Is array serializable java?
What is a conditional statement explain with example?
Can a list be null in java?
Is it possible to write a regular expression to check if string is a number?
What is the flag in java?
Do we need to manually write Copy Constructor?