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 |
What is the collection interface?
Diff between C++ and java?
What is final keyword?
if two references are having same hash codes,is that means those are refering to same object?
what is type of statement in jdbc connection?
What is an example of a keyword?
What are variable arguments or varargs?
What does exclamation mean in java?
What is the byte range?
What collections you have worked on? Internal working of Hashmap?
What is jit compiler in java?
Can I have constructor in Interface?