what is default layout of JFrame class?

Answers were Sorted based on User's Feedback



what is default layout of JFrame class?..

Answer / sk

borderlayout

Is This Answer Correct ?    97 Yes 7 No

what is default layout of JFrame class?..

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

what is default layout of JFrame class?..

Answer / aravind

border layout

Is This Answer Correct ?    4 Yes 2 No

what is default layout of JFrame class?..

Answer / jsrc1990

And Look this System.out.println(new JFrame().getContentPane
().getLayout());

Is This Answer Correct ?    5 Yes 5 No

what is default layout of JFrame class?..

Answer / dinesh

Flow Layout is a default Layout

Is This Answer Correct ?    8 Yes 30 No

what is default layout of JFrame class?..

Answer / sudhir arya

FlowLayout

Is This Answer Correct ?    8 Yes 49 No

Post New Answer

More Core Java Interview Questions

Can a class have more than one object?

0 Answers  


What is hard code & soft code?

7 Answers   Cognizant, Wipro,


What is parse method?

0 Answers  


Why are arrays useful in java?

0 Answers  


can any one tell me what is advantage of encapsulation

2 Answers  






What are the kinds of polymorphism?

0 Answers  


Explain an intermediate language?

0 Answers  


What do you mean by order of precedence and associativity?

0 Answers  


What are invisible components?.

0 Answers  


What is the syntax and characteristics of a lambda expression?

0 Answers  


Difference between abstract class and Interfaces?

7 Answers   CTS, iFlex, PA Consulting, Sai Softech, Value Chain,


Can we have static methods in an interface?

0 Answers  


Categories