Difference between a MenuItem and a CheckboxMenuItem?
Answer / 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 |
How hashmap works in java?
After compilation of java program we'll get .class code. If it's generated in OS Windows XP will it work on OS Linux? If yes why? If no why?
What are the Main functions of Java?
0 Answers Akamai Technologies,
Why main method is static in java?
What is locale?
Is constructor inherited?
How to find the length and capacity of a string buffer ?
Can arraylist contain null values?
What is the difference between final, finally and finalize() in java?
Are the equals() and hashCode() protected methods of object class?
What is regex in java?
Explain the differences between abstraction and encapsulation?