Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

com.apple.eawt.FullScreenAdapter has no replacement in Java 9/10

carcour-JavaNetMar 29 2018 — edited Mar 29 2018

com.apple.eawt.FullScreenAdapter has no replacement in Java 9/10

I can't seem to access com.apple.eawt package in Java 9 and 10. I understand the package is not accessible but i can't seem to access it even with --add-exports java.desktop/com.apple.eawt=ALL-UNNAMED as a VM parameter.

Moreover my app has been using com.apple.eawt.FullScreenAdapter to detect maximizing the window on Mac OS but I don't see any direct replacement in java.awt.Desktop.

I looked at java.awt.Desktop source code and I don't see anything.

Am I missing something or is the functionality gone?

Comments

843842
Hi Everyone,

It looks like they will fix this in 1.1.

See
http://www.jcp.org/aboutJava/communityprocess/maintenance/jsr127/127ChangeLog.html
Issue C028
1 - 1

Post Details

Added on Mar 29 2018
2 comments
1,300 views