Difference between a MenuItem and a CheckboxMenuItem?



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

Post New Answer

More Core Java Interview Questions

where can we get jAVA project orientation traing in HYDERABD

0 Answers  


What is the significance of java packages?

0 Answers  


What is the difference between an argument and a parameter?

0 Answers  


How do I know if java is installed?

0 Answers  


How to display all the prime numbers between 1 and 100

0 Answers  


How many characters is 2 bytes?

0 Answers  


what is the difference between the methods sleep() and wait()? : Java thread

0 Answers  


whats the purposr of using serialization?

6 Answers  


1).Is Object class abstract or not? 2).Is main method(public static void main(String args[])low priority thread or high priority thread?

3 Answers   TCS,


What are invisible components?.

0 Answers  


What is the purpose of abstract class?

0 Answers  


Can inner class extend any class?

0 Answers  


Categories