File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Viewing code of Class Rectangle Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Viewing code of Class Rectangle" Watch "Viewing code of Class Rectangle" New topic
Author

Viewing code of Class Rectangle

Rick O'Donnell
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: 4543
    
    5

Look inside the src.zip file in your JDK install folder.


luck, db
There are no new questions, but there may be new answers.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Viewing code of Class Rectangle