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...

To set the position and size of a component, which methods
are used?

Answer Posted / pkr_reddy

to set the position is used setLayout accepting the argument
as layout object.

ex:setLayout(layout lobject);

in order to set the component sze there is no method that is
default set the size by layout manazer .

Is This Answer Correct ?    5 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is method reference in java?

1051


Explain differences between checked and unchecked exceptions in java?

1015


Explain how to force the garbage collection in java.

923


Difference between association, composition and aggregation?

923


What is the purpose of a volatile variable?

973


What is the purpose of assert keyword used in jdk1.4.x?

1008


Can a vector contain heterogenous objects?

1004


Can you tell me range of byte?

942


Which one will take more memory: an int or integer?

1160


Explain the term virtual machine?

983


What is the use of predicate in java 8?

890


Is cout buffered?

1111


Describe different states of a thread.

939


What is garbage collector?

1007


Does java linked list allow duplicates?

912