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 generic class?
What is difference between jdk,jre and jvm?
What is difference between next () and nextline () in java?
explain System.out.println
107 Answers Calpine Technologies, Care, Cognizant, CTS, IBM, IBS, LibSys, Oracle, Spiro Solutions, TCS,
When garbage collector invokes object?s finalize() method?
Can a singleton class be inherited?
What are the differences between stringbuffer and stringbuilder?
what is deadlock? : Java thread
What is the difference between class & structure?
What is the size of arraylist in java?
Can a hashset contain duplicates java?
What is default exception handling in java?