What Will wrote didn't work and I found a way that works a little better

It's better to install SWT first before making your project. It's better to create an SWT project as opposed to making a Java project.

One of the imports of the file still doesn't get resolved when you follow these steps. I'm figuring it out right now.