javajava-6translucencyawtutilities

AWTUtilities not found


I am working on a small Java application and I'd like to use transparent windows. However when I use AWTUtilities.<any method> I get this:

'AWTUtilities cannot be resolved'

I've looked for solutions but I'm unable to understand them. Could you please explain to me in simpler terms how I can deal with this? I'm on Java Version 6u23


Solution

  • Have a look at this paper it mentions that you should use this class using reflection since it's not part of the official Java API. Look in the middle of the paper.