ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  Building Cocoa-Java Apps with Eclipse
Subject:   Having a problem setting up Debugging
Date:   2006-07-21 02:40:02
From:   mikebutler1
Response to: Having a problem setting up Debugging

Hi Mark,

It looks like you're nearly there ( but why did you have to copy the code from Controller.java? Why not just use Controller.java? ). It just looks like you haven't told Eclipse where to find all of the Cocoa classes.

If you follow steps 5 and 6 of "Tell Eclipse where to find the Cocoa classes" on page one, then it should sort it out for you. Those steps describe how to get Eclipse to add an external class folder - in this case /System/Library/Java where all of the Cocoa classes are stored.

Hope that helps,