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 do you add spaces in java?
Explain the difference between extends thread vs implements runnable in java?
What is data type example?
Give differences between Quicksort &Mergesort. When should these sorts be used andwhat is their running time in java?
why not override thread to make a runnable? : Java thread
Give any two differences between C++ and java.
what is a thread?
explain about casting of objects?
What about features of local inner class?
What access modifiers can be used for variables?
What is a constructor overloading in java?
What are keywords give examples?