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 assembly condition codes?
How to make a write-only class in java?
Can a source file contain more than one class declaration?
define polymorphism in java
What is the use of inner class?
Is string is a data type?
What is a byte array?
Which is better 64 bit or 32 bit?
What is a conditional equation?
How do you insert a line break?
Can we assign integer value to char in java?
How do you check if a string contains only numeric digits?
what is heap memory?
How many inner classes can a class have?
How do I write a self declaration?