java layout

Ads

 
 

Share on Google+Share on Google+

samar
java layout
1 Answer(s)      6 years and 11 months ago
Posted in : Java Interview Questions
What is a layout manager?
Ads
View Answers

October 26, 2010 at 6:13 PM


Hi,

Here is the answer.

When you add a component to an applet or a container, the container uses its layout manager to decide where to put the component. Different LayoutManager classes use different rules to place components.

java.awt.LayoutManager is an interface. Five classes in the java.awt package implement it:

FlowLayout
BorderLayout
CardLayout
GridLayout
GridBagLayout

Thanks.


Ads









Related Tutorials/Questions & Answers:
java layout
java layout  What is a layout manager
java layout
java layout  What method is used to specify a container?s layout
Advertisements
java Layout
java Layout  sir i want a program of all the layout of java which have two or three button and a database connectivity
Java layout manager
Java layout manager  Which containers use a FlowLayout as their default layout
Java layout manager
Java layout manager  What advantage do Java's layout managers provide over traditional windowing systems
Java Layout
Java Layout       In java a layout manager class implements the LayoutManager interface. It is used.... Components can provide size and alignment hints, still the container's layout manager has
Layout problem - Java Beginners
Layout problem  How can i place the component without mentioning the layout ?  Use SetBounds for the components and set the layout as null
Java Swing Card Layout
Java Swing Card Layout Java technology uses Layout Managers to define... types of Layout Managers which implements the LayoutManager interface... layout manager. Multiple components on card can be added but at a time only one
layout manager
layout manager  how to use Absolute Layout manager in java form
Create Layout Components in a Grid in Java
Create Layout Components in a Grid in Java   ... layout components with the help of grid in Java Swing. The grid layout provides... layout arranges components by dividing areas into rows and columns. This program
viewing the ms word in print layout from jsp - Java Beginners
viewing the ms word in print layout from jsp  Hi all, I am trying to export ms word from jsp in print layout format.I used the code for converting into ms word but it is opening in web layout. My requirement
Border Layout
Border Layout  which containers use a border Layout as their default layout
tables for layout
tables for layout  Are there any problems with using tables for layout
tables for layout
tables for layout  Are there any problems with using tables for layout
Layout Manager
Layout Manager  for compile file "Javac SApplet.java" (working fine) but, java SApplet (not compile) error message: Exception in thread "main" java.lang.NoSuchMethodError:main Please follow the program import
general layout HTML documents
general layout HTML documents  Explain the general layout HTML documents
HTML Layout
HTML Layout       A Web Page Layout is likey to be the layout of the pages... columns are created by using tables to design the layout. This can be done
Layout manager in flex
Layout manager in flex  Hi.... What is Layout Manager and explain the Properties and Methods? Now let's know how we will use these properties and methods........ Thanks
HTML table layout
HTML table layout  i have table layout in that i have menu in td...(column) ,plz give me code and give me useful layout examples,because my requirement is layout using table
Version of com.imsweb>layout dependency
List of Version of com.imsweb>layout dependency
Struts Layout Examples - Struts
Struts Layout Examples  Hi, Iam trying to create tabbed pages using the struts layout tag. I see the tab names on the page but they cannot be clicked on. Im not able to find simple examples/explanation on it. Any help
DividedBox layout container
DividedBox layout container       DividedBox Layout Container is similar to Box Layout Container. The difference is, it adds a divider between its child components which can be used
VDividedBox layout container
VDividedBox layout container       VDividedBox Layout Container is similar to VBox Layout Container. The difference is, it adds a divider between its child components which can be used
HDividedBox layout container
HDividedBox layout container       HDividedBox Layout Container is similar to HBox Layout Container. The difference is, it adds a divider between its child components which can be used
Version of com.alexvasilkov>foldable-layout dependency
List of Version of com.alexvasilkov>foldable-layout dependency
Version of com.cleveroad>bubbleanimation-layout dependency
List of Version of com.cleveroad>bubbleanimation-layout dependency
Version of com.eventsourcing>eventsourcing-layout dependency
List of Version of com.eventsourcing>eventsourcing-layout dependency
Struts-Layout
Struts-Layout       Struts-Layout is a tag library for Apache Struts which provides easy and fast interface creation. This is achieved by powerful tags which display panels, input fields
Maven Dependency layout >> 1.3.2
You should include the dependency code given in this page to add Maven Dependency of com.imsweb >> layout version1.3.2 in your project
Maven Dependency layout >> 1.4
You should include the dependency code given in this page to add Maven Dependency of com.imsweb >> layout version1.4 in your project
Maven Dependency layout >> 1.5.1
You should include the dependency code given in this page to add Maven Dependency of com.imsweb >> layout version1.5.1 in your project