
Hello some body has given the solution to my setBounds problem .But i didnot mean to tell how it is used in the program,but what do u mean of values refer to in SetBounds().For ex ample in SetBounds(30,30,30,30)in that what the values 30 refer to be in the sense is it first value 30 tells horizontalgap like that.

The method setBounds(int x,int y,int width,int height) consists od four parameters which denotes the following : x - the new x-coordinate of this component y - the new y-coordinate of this component width - the new width of this component height - the new height of this component This method moves and re sizes the component. The new location of the top-left corner is specified by x and y, and the new size is specified by width and height.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.