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 does || || mean in math?

994


why are wait(), notify() and notifyall() methods defined in the object class? : Java thread

1050


What about static nested classes in java?

1192


What is data structure in java?

1041


What is the difference between final, finally and finalize()?

1241


What is anti pattern in java?

1033


What is not object oriented programming?

995


What methodology can be employed to locate substrings inside a string?

998


What is the difference between Array and Hash Table?

1080


Why are constructors used?

1072


What are conditionals and its types?

1189


What is internal variable?

1068


How does list work in java?

967


What is literal example?

1010


What is a generic type?

1055