what is default layout of JFrame class?
Answers were Sorted based on User's Feedback
Answer / la_di
The default layout manager of a JFrame (and a Frame to) is
BorderedLayout. Check this code:
System.out.println(new JFrame().getLayout());
| Is This Answer Correct ? | 47 Yes | 4 No |
Answer / jsrc1990
And Look this System.out.println(new JFrame().getContentPane
().getLayout());
| Is This Answer Correct ? | 5 Yes | 5 No |
Hi Anyone know the model / questions of the Federal bank sample questions for the post of Specialist Officers - Programmers. Please post if anyone have..
What is string args [] in java?
In a container there are 5 components. I want to display all the component names, how will you do that?
How to define a constant variable in Java?
What are the different types of inheritance in java?
What is the relationship between class and object?
What are class members by default?
What will happen inside init() in servlet. my interviewer asked servlet lifecycle. i said "once servlet is loaded in to memory init() will be called which performs servlet initialization " . Again interview asked what values will be initialized . what is difference between init() and init(ServletConfig config).
2 Answers Infinite Computer Solutions, TCS,
What are kinds of processors?
What is meant by oops concept in java?
What is the difference between the continue and break statement?
How do you check if a string is lexicographically in java?