Rapid development of Java desktop programs with NetBeans (iii) fine-tuning of component locations

Source: Internet
Author: User
Tags netbeans

This time, let's talk about the fine-tuning of the component position, which is the pixel level control component. First, we'll drag a button, and then right click on the mouse:

Click "Space around the component ..." to pop up the following dialog box:

See the map, know Chinese characters should know how to do it. I do not detail, or suggest perceptual knowledge, change the inside of the number and then preview to see the effect. The adjustable size behind is worth noting. Click to remove the right side of the check to see the effect

Be sure to preview to see the effect as you will find-------no effect ^_^ B

Do not be angry, the following you put on the left side of the hook, I guarantee the personality, this will definitely have effect, do not believe you look to go.

You will be surprised to find that the location of the anchor point has changed, and think about what is going on.

Then you can start the next lesson (PS: If this is not the case, this is not worth a single lesson)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.