Answer Posted / 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 |
Post New Answer View All Answers
What is the difference between the Reader/Writer class hierarchy and the InputStream/OutputStream class hierarchy?
How do you compare arrays in java?
Why is stringbuffer called mutable?
When super keyword is used?
Explain how can you debug the Java code?
Difference between doublesummarystatistics, intsummarystatistics and longsummarystatistics ?
How will you add panel to a frame?
What is double parsedouble in java?
What kind of variables a class can consist of?
Why to use nested classes in java? (Or) what is the purpose of nested class in java?
What is the use of :: in java?
What is a method header?
How to implement a multithreaded applet?
How to use string tokenizer class.
What is arrays fill in java?