• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Martijn Verburg
  • Frits Walraven
  • Himai Minh

API classes

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
From where could i read the code for all classes in the API?
Can i find them somewhere on my computer or are they listed somewhere on sun's homepage?
 
author and iconoclast
Posts: 24204
44
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There's a file "src.zip" that can be optionally installed along with the JDK. Look for it in your JDK home directory. If it's not there, you'll need to run the installer again and this time check the appropriate box to have the source code installed.
 
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
On my computer source is located here:

c:\Program Files\Java\jdk1.5.0\src.zip


kind regards
Igor
 
Tom Schuman
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Nice found them
But what are com, launcher and sunw can't find them in the API.
Also is there some way to hide comments in Eclipse, those source codes are so full with comments it's hard to read the code itself.
 
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Tom Schuman:
...what are com, launcher and sunw can't find them in the API....


Where did you see these names? Without some context, these could mean a lot of different things.

Layne
 
Igor Stojanovic
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Tom Schuman:
Nice found them
But what are com, launcher and sunw can't find them in the API.
Also is there some way to hide comments in Eclipse, those source codes are so full with comments it's hard to read the code itself.



Check Help provided with Eclise, you should be able to find that option very easy.


kind regards
Igor
 
Ernest Friedman-Hill
author and iconoclast
Posts: 24204
44
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Tom Schuman:

But what are com, launcher and sunw can't find them in the API.



They're Java code that is part of the JDK, but that is not intended to be part of the API -- i.e., you'll use them indirectly, but you should never refer to them by name. Some of it is tools like the Java compiler itself, which is written in Java; other parts are AWT implementation classes and other less interesting bits and pieces.
 
Ew. You guys are ugly with a capital UG. Here, maybe this tiny ad can help:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic