Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Viewing code of Class Rectangle

 
Rick O'Donnell
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm working through some problems in an older version of Big Java and one of the questions asks you to find all the dependencies of the Rectangle class in the API. The previous question also asks you to do this for class Integer which I accessed by writing a short program in Eclipse that uses Interger.parseInt and then using the debugger to step into class Integer. This doesn't seem to be working for class Rectangle. I instantiate Rectangle and then try to use the ".contains" method but when I try to step into either using the debugger it doesn't find the class or gives me the error message. Is it part of the exercise for me to consider why this is happening or is there a better way to view code in the API?

this is the error from Eclipse:

Class File Editor

Source not found

The source attachment does not contain the source for the file Launcher.class.
You can change the source attachment by clicking chage Attached Source below:


Thank you in advance for any help
 
Darryl Burke
Bartender
Posts: 5125
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look inside the src.zip file in your JDK install folder.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic