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 / ranjith

setBounds

Set the size and location relative to the parent's upper
left corner, in pixels, of the component. The four int
arguments specify x, y, width, and height, in that order.
Use these methods to position and size a component when you
are not using a layout manager.

Is This Answer Correct ?    8 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by checked exceptions?

959


How do you end a program?

1117


What is not object oriented programming?

949


How to display all the prime numbers between 1 and 100

1016


What is an arraylist in java?

1078


What are checked exceptions?

1034


What is a blocking method in Java?

1243


What is the output of the below java program?

1048


How do you make a thread in java?

1099


How do you use wildcards?

1063


What is get () in java?

1054


What is the importance of hashcode() and equals() methods?

1055


What is the difference between object oriented programming language and object based programming language?

1018


Why do people says “java is robust”?

1033


What is difference between add() and addelement() in vector?

1535