How to make JFrame transparent? I want to make my JFrame transparent. User should see the background when my JFrame is on top of it.
How to make JFrame transparent? I want to make my JFrame transparent. User should
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you do not have any objection in using restricted API classes then you can do this with
AWTUtilitiesclass andsetWindowOpacity()method of that class. Here and here is a tutorial on how to use it? And here is the version using Java native access.code example