java BorderLayout



Share on Google+Share on Google+

java BorderLayout
1 Answer(s)      6 years and 8 months ago
Posted in : Java Interview Questions
How are the elements of a BorderLayout organized?
View Answers

October 19, 2010 at 4:04 PM


Here is the answer.

The elements of a BorderLayout are organized at the borders (North, South, East, and West) and the center of a container.



Related Tutorials/Questions & Answers:
java BorderLayout
java BorderLayout   How are the elements of a BorderLayout organized
BorderLayout Example In java
BorderLayout Example In java     ... BorderLayout in java awt package. The Border Layout is arranging and resizing... for using  this program. This Java Application uses BorderLayout for setting
); Container c=getContentPane(); setLayout(new BorderLayout()); c.add(button1...=new JTextField(10); Container c=getContentPane(); setLayout(new BorderLayout
java JTabbedPane() - Java Beginners
java JTabbedPane()  how to add layout manager in JTabbedPane() plese...(new BorderLayout()); getContentPane().add(topPanel); // Create the tab pages...() { panel2 = new JPanel(); panel2.setLayout(new BorderLayout()); panel2.add
java swings - JavaMail
/java/example/java/awt/borderlayout-example-in-java.shtml swings  Hi sir,i am doing a project on swings,i don't have any...:// http
Java-swings - Java Beginners
Java-swings  How to move JLabels in a Frame  Hi friend... BorderLayout()); JTextArea top = new JTextArea(5, 40); top.setDragEnabled(true...); } } ------------------------------------------------- Visit for more information:
java - Java Beginners
BorderLayout()); panel.add(scrollPane, BorderLayout.CENTER); panel.add... JPanel(new BorderLayout()); panel.add(scrollPane, BorderLayout.CENTER...:// Thanks
Password - Java Beginners
); Container content = f.getContentPane(); content.setLayout(new BorderLayout.... Thanks
java - Java Beginners
BorderLayout()); panel.add(scrollPane, BorderLayout.CENTER... = new JPanel(new BorderLayout()); panel.add(scrollPane... for more information.
Create a Container in Java awt
Create a Container in Java awt     ...). BorderLayout : BorderLayout is the class of the java.awt.*; package which is used... of the BorderLayout class. Here is the code of the program : 
Java Swing
Java Swing  Write an applet program to transfer the content...; public AddValueToList() { setLayout(new BorderLayout()); model = new...++"); model.addElement("Java"); model.addElement("Perl"); model.addElement
JScrollBar - Java Beginners
,BorderLayout .EAST); frame.getContentPane().add(hScrollBar,BorderLayout .SOUTH... to get some examples regarding JScrollPane:
Java Dialogs - Swing AWT
/springlayout.html Dialogs  a) I wish to design a frame whose layout mimics...: Java Applet Demo Thanks  Hi Friend, a)Please
Java/PHP Developer
Java/PHP Developer  HI, I want to know how can we place a link in one... = 1L; public MediaPanel( URL mediaURL ) { setLayout( new BorderLayout() ); // use a BorderLayout // Use lightweight components for Swing
Browser making by java coding
Browser making by java coding  import javax.swing.*; import...#; getContentPane###add#topPanel,BorderLayout#NORTH#; try{ htmlPane=new JEditorPane...,BorderLayout#CENTER#; } catch#IOException ioe# { warnuser#"can't build HTML
Java swings - Swing AWT
Java swings  i have the following class .In that class i has two...)); JPanel panel1=new JPanel(new BorderLayout()); JPanel panel2=new JPanel... panel1=new JPanel(new BorderLayout()); JPanel panel2=new JPanel
Java Program - Java Beginners
Java Program  Hi I'm having trouble with this problem, I keep getting... BorderLayout()); private JPanel panelButtons = new JPanel(new FlowLayout()); private JPanel panelBottom = new JPanel(new BorderLayout()); private JTextField fieldBox
Java Final Project - Java Beginners
Java Final Project  I am having a real hard time with this java... = getContentPane(); //use borderlayout to position our two i/o panels container.setLayout(new BorderLayout()); inputPanel.setLayout(new FlowLayout()); //add components
java - Java Interview Questions
these two type?  Hi maheswari Java Provides builtin classes... BorderLayout()); panel.add(new JLabel(icon)); this.icon...(); } } } } --------------------------------------- read for more information.
Help on this java code for online library search
Help on this java code for online library search   I have written the following java code for simple library book search. but its having some errors..._ON_CLOSE); frame.setLayout(new BorderLayout()); JPanel p1 = new JPanel
Java swing - Java Beginners
Java swing  Hi, I want to copy the file from one directory to another directory,the same time i want to get the particular copying filename...(new BorderLayout()); panel1.add(panel, BorderLayout.NORTH); panel1.add(label
Core Java
Core Java  Hi, I have written a board program using Java Swing and AWT classes. In my program I created buttons and added those buttons to JPanel... BorderLayout()); one = new JButton("Press here"); panel.add(one, BorderLayout.WEST); two
Java + Timer concept - Java Beginners
Java + Timer concept  sir, I am using swing based model. My form contains one Jbutton its called "polling(function name is getvalue())". I have... = new JPanel(); panel1.setLayout(new BorderLayout()); panel1.add
JAVA - Java Beginners
to 5 lines) for the following in JAVA, please. The answer is required very much urgent since I have to attend for the exam in JAVA. It would be very helpful...: * BorderLayout * BoxLayout * CardLayout * FlowLayout
java  diff bt core java and java
java  what is java
Java   Whether Java is pure object oriented Language
JAVA  how the name came for java language as "JAVA
java  different between java & core java
java  explain technologies are used in java now days and structure java
java   why iterator in java if we for loop