• Home
  • Java
  • 2D Graphics GUI
  • 3D
  • Advanced Graphics
  • Ant
  • Apache Common
  • Chart
  • Class
  • Collections Data Structure
  • Data Type
  • Database SQL JDBC
  • Design Pattern
  • Development Class
  • EJB3
  • Email
  • Event
  • File Input Output
  • Game
  • Generics
  • GWT
  • Hibernate
  • I18N
  • J2EE
  • J2ME
  • JavaFX
  • JDK 6
  • JDK 7
  • JNDI LDAP
  • JPA
  • JSP
  • JSTL
  • Language Basics
  • Network Protocol
  • PDF RTF
  • Reflection
  • Regular Expressions
  • Scripting
  • Security
  • Servlets
  • Spring
  • Swing Components
  • Swing JFC
  • SWT JFace Eclipse
  • Threads
  • Tiny Application
  • Velocity
  • Web Services SOA
  • XML

BoxLayout « Swing JFC « Java






  1. Java
  2. Swing JFC
  3. BoxLayout
1.Separating Components in a Row or Column
2.Glue spreads the components as far apart as possible.
3.Strut spreads the components apart by a fixed distance
4.Laying Out Components in a Row or Column
5.A vertical box container arranges the components top-to-bottom aligned in their preferred sizes.
6.BoxLayout puts components into a row or into a column
7.BoxLayout: set a rigid area among our components.
8.Align your components in horizontal or vertical layout

java2s.com  | © Demo Source and Support. All rights reserved.