Open source Jar Package Import and view source code

Source: Internet
Author: User

We use the CTRL + Left button to view the source code when the following situation is often the case, because there is no correct import jar package, and no import src package

650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background-image:url (""); border:1px Solid RGB (221,221,221); background-position:50% 50%; "alt=" Spacer.gif "/>

1. Right-click Project-->build ptah-->config Build path Below is the workaround (starting with the import Jar package):

650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/ Images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>

2.add Libary-->user Library, click the User Library button, and then create a new library.

650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/ Images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>

3. Click on the User Library button and the name is your own. Then click OK and then select the library you created and click Finish.

650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/ Images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>

4. Then go to the Library to guide the jar package

Add libary (Import the package that is placed in the project, usually put the jar package in the Lib directory with this)

Add Extend Libary (import the package outside of the project, if your jar is somewhere else, use this)

But it doesn't matter, only you can lead it in. As follows:

650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/ Images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>

5.source attachment

SRC is to display the source files, usually attached to the source code you download, it is easy to find. To put the SRC folder into the project (Lib folder), the lead in the jar package can have a source attachment, click Edit, the src path in the guide can be.

(By the way, SRC has no name in the source code you downloaded, such as XXXX-SRC.) )


This article is from "What is a blog title?" "Blog, be sure to keep this provenance http://ysc921003.blog.51cto.com/5786498/1596091

Open source Jar Package Import and view source code

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.