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 is heap memory?

0 Answers   Tavant Technologies, Zensar,


what are the states associated in the thread? : Java thread

0 Answers  


Difference between Superclass and Subclass?

7 Answers  


whether java is fully object oriented language or partially object oriented language

4 Answers   Infosys, ME, SMK,


Name the package that most of the AWT events that supports event-delegation model are defined?

2 Answers  


Do I need java for windows 10?

0 Answers  


Which collection is ordered in java?

0 Answers  


What is a stringbuilder?

0 Answers  


Describe the term diamond problem.

0 Answers  


Can private class be inherited in java?

0 Answers  


Question 6 [9] 6.1 In what situations (in general) would you use a TreeMap? (3) 6.2 In what situations (in general) would you use a HashSet to store a collection of values?

1 Answers  


What is the maximum size of array in java?

0 Answers  


Categories