• Post Reply Bookmark Topic Watch Topic
  • New Topic

JFace imports not recognised!?  RSS feed

 
Wolfgang Obi
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm using eclipse nad imports like


import org.eclipse.jface.window.*;
import org.eclipse.jface*;


just cant be resloved. why is this?

pls help.

-W.O.
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just because you are using Eclipse doesn't mean SWT/JFace JAR files are automatically available to the classpath of every project you create. You'll need to add those JAR files to your classpath.
 
Wolfgang Obi
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
exactly this was my problem.

thanks!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!