| Author |
Viewing code of Class Rectangle
|
Buck Rogers
Greenhorn
Joined: Mar 18, 2012
Posts: 4
|
|
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
Joined: May 03, 2008
Posts: 4163
|
|
|
Look inside the src.zip file in your JDK install folder.
|
luck, db
There are no new questions, but there may be new answers.
|
 |
 |
|
|
subject: Viewing code of Class Rectangle
|
|
|