top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

What are the advantages of Java layout managers?

+1 vote
777 views
What are the advantages of Java layout managers?
posted Dec 6, 2014 by Deepan

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+2 votes

In Java Button, Checkbox, Lists, Scrollbars, Text Fields, and Text Area etc positioned by the default layout manager.

Using algorithm layout manager automatically arranges the controls within a window.

In Windows environment, we can control layout manually.

But we do not do it manual because of following two reasons:
1. It is very tedious to manually lay out a large number of components.
2. Sometimes the width and height information is not available when you need to arrange some control, because the native toolkit components have not been realized. This is a chicken-and-egg situation.

Java uses layout managers to lay out components in a consistent manner across all windowing platforms.

answer Dec 8, 2014 by Karthick.c
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...