문제

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

도움이 되었습니까?

해결책

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.

다른 팁

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top