What are different types of layout managers in java.awt
package?
Answers were Sorted based on User's Feedback
Answer / janet
A layout manager is an object that is used to organize
components in a container.
The different layouts are available are
FlowLayout,BorderLayout,CardLayout,GridLayout and
GridBagLayout.
| Is This Answer Correct ? | 52 Yes | 8 No |
Answer / pcs
Hi Friends,
These are the common Layout managers.
FlowLayout,
BorderLayout,
CardLayout,
GridLayout,
GridBagLayout
But there are also some of Layout manager which are
used occasionally.These are...
SpringLayout,
OverlayLayout,
i read this blog and got many examples also.
just see the link below
http://yuvadeveloper.blogspot.com/2009/02/differents- layout-manager-in-java.html
| Is This Answer Correct ? | 31 Yes | 4 No |
how do you Handle Front End Application data against DB with example?
0 Answers Campus Interaction, HCL,
What is the relationship between local interfaces and container-managed relationships?
What value does readline() return when it has reached the end of a file?
What are the diff types of exception?
1) which method of the RequestDispatcher cannot be called once the output is sent to the client? a. forward b. include c. both a&b 2) which interface should an object implement to get notified of changes to the list of active sessions in a web application? a. HttpSessionListener b. HttpSessionActivationListener c. HttpSessionAttributeLIstener 3) A user can select multiple locations from a list box on an HTML form, which of the following methods can be used to retrieve all the selected location? a. getParameter() b. getParameterValues() c. getParamValues() 4) which of the following methods should be used to send character text to the client? a. ServletResponse.getWriter() b. ServletResponse.getOutputStream() c. ServletResponse.getOut() 5) which implicit object is always available in a JSP page? a. exception b. session c. out 6) which inclusion mechanism doesn't include the source of the page, rather the output of the page. a. include directive b. jsp:include action c. Bothe a& b 7) which attribute of the page controls whether a page participates in session or not? a. session-allowed b. session c. isSession
What are the design considerations while making a choice between using interface and abstract class?
What is runnable?
Name the eight primitive java types.
Explain the advantages and disadvantages of detached objects.
What is scalable, portability in the view of J2EE?
To what value is a variable of the string type automatically initialized?
int x=5,i=1,y=0; while(i<=5) { y=x++ + ++x; i=i+2; } System.out.println(x); System.out.println(y); System.out.println(i); How to solve this? Please explain!