Trick of Positioning the Containers of JFrame
Many developers want their own Layout Manager with user-defined so JAVA has provided a separate method for the every container of JFrame Component and that method is setBounds(). This method helps the developers to position the container as per their need .
About SetBounds() method:
This method consists four parameter
1 2 3 |
Syntax: <strong> </strong><em><strong>xxx.setBounds(int x_axis, int y_axis, int width, int height);</strong> </em> |
We can arrange the containers with the help of this method easily.Read More »Trick of Positioning the Containers of JFrame