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 difference between char array and string?
How will you call an Applet using Java Script Function?
Can we split string with in java?
What is the preferred size of a component?
Explain about sets?
What is more advisable to create a thread, by implementing a Runnable interface or by extending Thread class?
How do you get the length of a string in java?
What is difference between overloading and overriding in java?
What are the disadvantages of using inner classes?
what is synchronization and why is it important? : Java thread
Describe inheritance as applied to java?
How can we achieve IPC in JAVA?