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 you give few examples of final classes defined in java api?

0 Answers  


What are the advantages of autoboxing?

0 Answers  


why java is not supporting multiple inheritence?

3 Answers  


How do you add an element to a hashset in java?

0 Answers  


What is the class in java?

0 Answers  






What is mean by encoding?

0 Answers  


What is integers and example?

0 Answers  


What is the purpose of the wait(), notify(), and notifyall() methods in java programming?

0 Answers  


What is the difference between preemptive scheduling and time slicing in java programming?

0 Answers  


What is the difference in between cpp and java? Can u explain in detail?

0 Answers  


What is Enum in Java?

0 Answers  


What do you understand by the term wrapper classes?

0 Answers  


Categories