Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to add panel to a Frame?

Answer Posted / jitendra

JPanel p1 = new JPanel();
p1.setLayout(new BorderLayout());

Is This Answer Correct ?    17 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is better - 'bit-shift a value' or 'multiply by 2'?

1256


What are synchronized methods and synchronized statements in java programming?

1069


how do I create a runnable with inheritance? : Java thread

1027


How to declare an arraylist in java?

1193


What is the base class of all classes?

1106


What is function and method in java?

998


Explain wait(), notify() and notifyall() methods of object class ?

1112


Explain the difference between association, aggregation and inheritance relationships.

1153


Difference between method overloading and method overriding in java ?

1136


How is a structure different from array ?

1094


Are floats faster than doubles?

1143


List out five keywords related to exception handling ?

1058


Does substring create a new object?

1050


What is meant by attribute?

1205


What best practices should you follow while writing multithreaded code in java?

1108