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 |
Can we define package statement after import statement in java?
How do you compare two strings? any predefined method for this?
What is variable declaration and definition?
what are the design patterns in struts?
What is meant by design patterns?
Have you worked on bits programming? examples?What is bit? How many bits are there in the byte?
Which is better ascii or unicode?
Given a singly linked list, find the middle of the list in a single traversal without using temporary variable.
Given a singly linked list, determine whether it contains a loop or not without using temporary space?
What JNDI(Java Naming and Directory Interface) provides?
What is the difference between method and means?
explain multi-threading in java?