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