Question

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

Was it helpful?

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.

OTHER TIPS

AWTUtilities is a "undocumented" API put into java around version 6.12, hence the reason you are suggested to use reflection, this allows you application to run on JVMs that don't support it yet

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top