To write their own class package labeled Jar

Creative Commons License Copyright: Attribution, allow others to create paper-based, and must distribute paper (based on the original license agreement with the same license Creative Commons )

We will often introduce third-party jar package, then how do we write our own jar bag?
Let me explain.
If we write a utility class:
Here Insert Picture Description
Then we right in this class project in
Here Insert Picture Description
selected JAR file, and then select an export path and name for the exported jar package: MyPrint.jar
Here Insert Picture Description
since been next until finish.
Then it will generate the jar in your path, then we can use it in future projects.
Now import this jar package in other projects and use the
Here Insert Picture Description
operating results
Here Insert Picture Description

Guess you like

Origin blog.csdn.net/weixin_44001965/article/details/92575330