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