The method of changing operation JAVA form property

In this part there in small to give us a detailed analysis of operational methods and procedures with regard to changes in JAVA form property, under a friend in need to learn.

If JDK version upgrade to the latest version, Java form can simply achieve a transparent effect of the form, the user can adjust the transparency of the form by pulling the slider (Slider), to achieve different degrees of transparency window switch. Let me briefly achieve transparency form, the user can do to expand.

1、

2, after running a Java program, the form shown below initialized screen appears, the user needs to do next to close the code written in the form.

3、

4、

Continue to add the setOpacity () method, the code was added in the control panel dialog window, the lable and then added to the panel of the slider. Continue to add the setOpacity () method, the code was added in the control panel dialog window, the lable and then added to the panel of the slider.

5、

Summary: The above is the method of operation to change the content on JAVA form property, thanks for reading and support for small leather.

Guess you like

Origin www.cnblogs.com/GX1234/p/11906099.html