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 difference between core java and java ee?
What are the supported platforms by java programming language?
What is the base class of all classes?
What is the difference between the prefix and postfix forms of the ++ operator?
Does a class inherit the constructors of its superclass in java programming?
How can you avoid serialization in child class if the base class is implementing the serializable interface?
List some important features of java 10 release?
What is the properties class in java programming?
What do you understand by garbage collection in Java? Can it be forced to run?
Explain the concept of proper inheritance?
What do you mean by ordered and sorted in collections in java?
whatis Home interface and Remoteinterface? with example?
Outline the major features of java.
there are N number of matchboxes numbered 1...N.each matchbox contain various number of stick.Two player can alternatevely pick some amount of stick from the higest stick containing box . The player is condidered win if there is no stick after his move.Find the final move so that the move player win. Note:In case the number of stick is equal ,pick the stick from the higest numbered box.
Difference between current previous versions of Java?