answersLogoWhite

0


Best Answer

Java LayoutManagers are used to save you the effort of manually putting Components where you want them on a Container. Even more useful is the fact that a LayoutManager object will handle repositioning your objects whenever the Container is resized (which is a colossal waste of time when you do it yourself).

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: In java what is the purpose of a layout manager?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are different types of layout manager available in java awt?

A layout manager is an object that is used to organize components in a container.And it is an interface in the java class libraries that describes how a container and a layout manager communicate. There are 5 main Layouts in java :------ 1. FlowLayout 2. BorderLayout 3. CardLayout 4. GridLayout 5. GridbagLayout


What is the function of a layoutmanager in java?

The function of a layout manager is to help the java programmer with aligning and positioning components inside the AWT or Java Swing components like a Frame or a Panel. Without the layout managers the programmer will have to position these components one by one manually which is very difficult and may also result in poor layout response when the user re-sizes the UI window. Some of the commonly used layout managers are: a. BorderLayout b. GridLayout c. GridBagLayout d. Etc


Which is the layout of the toolbar in Java?

The layout for toolbar is Flow Layout.


What is difference between java developer and java project manager?

In a typical development shop, a java developer does the actual work while a java project manager receives the credit in addition to a much larger pay check. Generally, the term "java project manager" implies that a resource knows neither java nor project management. However, the atypical title allows a java project manager to easily hide his/her lack of knowledge. Take the following conversations as examples of a typical verbal exchange with a java project manager: Java Developer: "Hey Java Project Manager, i am having problems with an out of memory exception in my servlet container, how do i view the contents of my heap?" Java Project Manager: "I am sorry, i am mostly a Project Manager, it has been along time since i have programmed java" or Senior Manager: "Hey Java Project Manager, how is your project plan going? When i tried to level your resources in M$Project, the end date was 2012" Java Project Manager: "I am sorry, i am not very good with M$Project, i have been working on solving an out of memory exception which is holding up one of my developers" Your mileage may vary however.


What is the purpose of general format and layout?

The purpose of the general format and layout is that it gives you a standard procedure.


What is need of layout manager?

A layout manager is an object that determines the size and position of the components within a container. Although components can provide size and alignment hints, a container's layout manager has the final say on the size and position of the components within the container.


What is the purpose of NoMatchException handling method in java?

java exception


What is setLayout in Java?

The setLayout() method is used to specify a container''s layout.


What is the default layout manager for Panels and Applets?

flowlayout


What arranges GUI components in a container?

Layout Manager


What is JFM in Java and what is the use of it?

jFM is a java file manager. It is used to access the file system.


What is the purpose of vector?

The purpose of vector Java is to make more Java possibilities for mobile and uniformed devices. The makers of Java said that they wanted to "revolutionize" the way that Java works and helps around the globe.