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

What exceptions occur during serialization?

0 Answers  


Are arrays static in java?

0 Answers  


What is the collections api?

0 Answers  


what is use of functional interface in java 8?

0 Answers  


What is the main use of java?

0 Answers  


How do you sort arraylist in descending order?

0 Answers  


Can we iterate through collection using for loop?

2 Answers   Rolta,


What is compile time polymorphism?

20 Answers   CTS, Elementus Technologies, Oracle,


How do you convert an int to a double in java?

0 Answers  


Difference between object and reference?

0 Answers  


What are keyboard events?

0 Answers  


What is difference between path and classpath variables?

0 Answers  


Categories