Top "Border-layout" questions

BorderLayout is a Java Swing/AWT layout manager that lays out a container, arranging and resizing its components to fit in five regions: north, south, east, west, and center.

How to put two components to a JPanel with BorderLayout?

What basically i'm trying to do is to add 2 pictures, Side-By-Side in the center of a JPanel and a JLabel …

java swing jpanel border-layout
Java Swing: Changing border width/height on BorderLayout

I am a newbie to Java Swing. I am trying to make a frame containing three buttons; one in the …

java swing awt layout-manager border-layout
BorderLayout.CENTER doesn't center

I can't get my JLabel to center in my JPanel after adding a ChartPanel to it: JPanel panel = new JPanel(…

java swing jpanel layout-manager border-layout
Can't change size of block in BorderLayout

I created simple app with Border Layout and added into it two buttons and JTable. I use JSplitPane between button2 …

java swing jtable jbutton border-layout
Java Text Formatting bold

I am having a hard time understanding how to bold the text in my GUI program. The program shows the …

java swing user-interface fonts border-layout
Java JLabel setHorizontalAlignment with different results

I want to center an JLabel inside an BorderLayout. For now I use label.setHorizontalAlignment(SwingConstants.CENTER); and label.setVerticalAlignment(…

java swing alignment jlabel border-layout
Why setVisible doesn't work?

I have a swing GUI with border layout. in the NORTH I have added some component. My label component which …

java swing gif layout-manager border-layout
Why the input box is showing so different on Ipad but not on chrome

I am having a site which is working properly except for the input field and submit button next to it. …

ipad css border-layout border-color
How to auto height viewport child panels in it?

I am working in ExtJS4. I am getting stuck at a point where I want to auto height the east …

extjs extjs4 extjs4.1 border-layout extjs4.2
Set constant size of JScrollPane

I have a JTabbedPane with a Border Layout. Here's the code I'm using to add the components: add(columnNames, BorderLayout.…

java jscrollpane layout-manager jtabbedpane border-layout