News

Type the following lines of code at the top of the new class to import the required classes:import java.awt.Component; import java.awt.Color; import java.awt.Graphics; ...
They must employ native code via Java Native Interface (JNI), which means your application will only be as portable as your willingness to maintain and deploy these platform-specific libraries.