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

This abstract class is correct ? abstract class A { public abstract void Disp(); public abstract void B() { } public absract virtual C() { } }

942


Differentiate between array list and vector in java.

1066


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

1065


what is the significance of listiterator in java?

1029


Can set contain duplicates?

957


Can we override private constructor in java?

913


What flag up means?

984


Which is bigger float or double?

921


What advantage do java's layout managers provide over traditional windowing systems?

911


How many threads does a core java have?

1003


How to change the priority of thread or how to set the priority of thread?

990


What is difference between path and classpath variables?

1033


What is the meaning of variables in research?

978


What is the java project architecture?

2187


What are selection structures?

939