Home > 类库下载 > java类库 > body text

User interface layout in Java

高洛峰
Release: 2016-10-13 09:54:35
Original
1892 people have browsed it

Absolute layout Absolute

When the interface is enlarged or reduced, the size and position of the components will not change

Floating layout FlowLayout

When the application window is resized, the components will be rearranged immediately

User interface layout in Java

Border layout Border Layout

 This position has 5 directions: east, south, west, north, middle

User interface layout in Java

Grid Layout Grid Layout

If a large number of components need to be arranged regularly, then grid layout is the most suitable. For example, the production of calculator interface.

User interface layout in Java

User interface layout in Java

  CardLayout
  Card layout is different from other layouts because it hides some components. A card layout is a group of containers or components that only appear one at a time. Each container in the group is called a card.

User interface layout in Java

Group Layout Group Layout

Group layout is one of the most complex layout managers in Swing and can be used to achieve most component layout requirements.


Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template