Chaoxiao 2015/7/7 Personal Documents

Source: Internet
Author: User

Name

Chaoxiao

Date

July 7, 2015

Main work and experience

Today, based on yesterday's discussion, we began to write the corresponding code, I mainly responsible for the interface part of the design, and interface code implementation, because the first time with the Java writing interface, so progress slightly slower.

Problems encountered

How to make the button transparent, because our button is the image after the PS implementation, so the button must be transparent background, and also remove the border of the button to make the picture more natural.

Workaround

By searching the data on the Internet, we found the function of setborderpainted (Boolean B) and set the Boolean value of the parameter to false to remove the border.
There is also the Setopaque (Boolean B) function, which also sets the Boolean value of the parameter to False, and sets the image to PNG format;

Chaoxiao 2015/7/7 Personal Documents

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.