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
Explain different states of a thread in java?
Can you achieve runtime polymorphism by data members?
What is import java util arraylist?
What is the purpose of file class?
What loop means?
How many bytes are there?
Is space a character in java?
What is the difference between path and classpath variables?
What is variable and rules of variable?
Is a string literal?
What is the difference between a local variable and an instance variable?
What are the five major types of reference sources?
Garbage collection in java?
Can a static member function access member variable of an object?
Define how destructors are defined in java?