java - com.sun.awt package usage -


i found java code , want use in project. contains these imports jdk not have :

import com.sun.awt.awtutilities; import com.sun.jna.native; import com.sun.jna.platform.windowutils; 

i referred sun site , found download page :

http://www.oracle.com/technetwork/java/javase/downloads/index.html

is necessary download jdk , jre , replace sun website? jdk version 6 , date.

thank all

jna additional library , not part of standard api, have download (here) , include in classpath.

the awtutilities class distributed sun jvm implementation detail of api , such subject change, can break program depending on (if possible don't use it).

windowutils can found in platform.jar, can find on same page jna.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -