java - Does anyone know how i can include sun.lwawt.LWComponentPeer; in a code i am running on Windows ? -


i using java application has package mac when run code in eclipse not able resolve classes import sun.lwawt.lwcomponentpeer; import sun.lwawt.platformwindow; import sun.lwawt.macosx.cplatformwindow; in it, trying run application in eclipse running on windows os. running java jdk 1.7 windows. couldnt find library , dependency must add in maven these packages.. know this? can me? sorry if trivial question newbie java.

sorry, can't done. xxxpeer classes part of java 1.0 (pre swing) involve creating native os ui components use in java. classes implement written using jni (ie c++ / not java) , not cross platform compatible.


Comments