Traditional Culture Encyclopedia - Almanac inquiry - How to develop a beautiful interface with java swing
How to develop a beautiful interface with java swing
The main solutions are as follows:
1: reasonable layout and good interface framework. Familiar with common layouts, which can be nested. A complex and beautiful interface can be realized.
2. the right picture? You can use pictures as buttons, backgrounds, etc. Of course, in order to save system resources, you can use a slightly smaller compressed picture.
3. Through html, swing supports simple html tags, so when beautifying JButton, JLabel and other components, you can use some Html tags to beautify ~ ~
4. Harmonious colors. The interface should be beautiful, and colors can be added appropriately, but attention should be paid to coordination.
5. Rewrite some components. Swing's own component appearance is really flattering. But we can rewrite it according to our own needs.
6. Add dynamic effects. We often write javaScript for special effects. We can learn from some ideas of JS special effects and use threads to add dynamic effects, such as jitter, to swing components. Move, slide out and other special effects ~
7: change the skin and appearance, or use the skin of a third party, which is better than the BeautyEye made by the great god.
- Previous article:Mother's Day greeting card manual tutorial video
- Next article:20 18.3. 1 calendar
- Related articles
- Brightness in eight characters
- Is September 20, 2023, the sixth day of the eighth lunar month an auspicious day for the zodiac?
- The omen of the boa constrictor crawling towards me in my dream.
- What are the suitable wedding days in May of the lunar calendar in 2023?
- 20 16 How about the wedding day on September 26th?
- Lunar February 13
- Find the leap month of Gregorian calendar 1990.
- 2065438+September 3, 2008 Gregorian calendar
- How to check the constellation date in the yellow calendar
- Administrative divisions of Longxi county