Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

These static constructors are correct ? class A { statc intA() { } static A(int x,int y) { } static A(int x) { } }

1084


What is field name?

1012


How to overcome the exception object reference not set to an instance of object?

1146


What is a method header?

1017


What is the difference between the file and randomaccessfile classes?

1093


Can a class extend more than one class?

1118


Explain constructors and types of constructors in java.

1105


What is final keyword?

1153


Should you use singleton pattern?

935


What is the difference between jdk, jre, and jvm?

1107


How do you test a method for an exception using junit?

1203


Can this keyword be used to refer static members?

1024


Is object a data type?

962


How do you check if an arraylist is not empty?

1116


What are thread priorities and importance of thread priorities in java?

1131