Sync JEdit 1.20 - the advanced Java IDE - released on April/18/2006 (refer to).


How to use the online tool: Java Class Hierarchy Viewer (version 1.02):

  1. Find
    Type a class or interface name in Input text field, then press button Find to display its class hierarchy.
    The inputted name can be a full-qualified or sole name.
    For example, you can input java.awt.Frame or Frame to retrieve same info. 
    note: raised objects are classes, sunken objects are interfaces. 

  2. Property
    If you right click an object of class hierarchy, you will see its properties, which contains inner-classes, constructors, fields and methods.
    Check-boxes Inner classes and Constructors determine if the two properties are displayed in popup property window.


If you input a full-qualified name, following 2 options (Result and Find-in-version) are not used.
Otherwise, the image will appear at right side to indicate finding is in progress.

  1. Result
    If you input a sole name for finding, you may find multiple classes and/or interfaces. 
    In the case, please choose one from result combo-box, then press button View to display its class hierarchy.
    note: the tool displays first object found automatically.
     
  2. Find in version
    If you input a sole name for finding, the tool will go through java libraries to search for results.
    The searching requires client-server interactions, you have to be patient. 
    The first object may be found at beginning, end or any point of finding process (refer to table bellow), which depends on JVM libraries. 
     
    The higher the JVM version is, the larger its libraries are - this is a common sense.
    If you select lower version of JVM, the searching is much faster.

    Whole searching times for different versions are estimated as:
    version 1.1 1.2 1.3 1.4 1.5
    time (s) 30 52 70 130 226
    (Based on machine: CPU=Pentium 3 (500), memory=128 M, broadband=256K bits)
       
Technique information
  • The tool searches for sun.boot.class.path, which contains several jar files, you can use java method System.getProperty() to get list of the jar files.
  • The tool supports for java 1.5.0_03 (current version) and/or bellow (1.1, 1.2, 1.3 and 1.4), we will update the tool for any significant changes by java sun company.

Copyrights notice:
  • Java Class Hierarchy Viewer is protected by copyright law and international treaties.
  • The tool can be used only on our web-site, except obtaining prior written permission from us.
     
Suggestions
  • If you are a teacher or work for education organizations, why do not use the tool in your class for teaching or submit it to students?
  • If you are learning java, why do not use it for understanding scheme of java libraries?
  • If you are writing java documentations, the diagram will enhance qualities of your report, web-pages, books and papers. 
  • many other usages, it is worth to be remembered.

Note:
The online software is embedded inside Java IDE SyncJEdit and tool Java Launcher.
You can get faster and better access from the two software than the online one, because online needs client-server communications.

SyncEdit software


More readings and references

  1. Platform independence
    the online tool is developed by pure java language, so it is platform independent and compatible with multiple operating systems of UNIX (Linux, Redhat, Solaris), Windows (95/98/2000/NT/XP), Macintosh (Mac, Apple)  and supported by multiple web browsers (Microsoft internet explorer (IE), Netscape, Firefox).
    If you find any bugs on your system, please contact us, thank you.
  2. Synchronizing and asynchronizing strategies
    the tool specifies many often-used classes for speeding up searching process, they are:
  3. Screen resolution and broadband
    To display the tool properly, screen size should be 1024 by 768 pixels or higher, but it can be 800x600 pixels.
    total applet size is over 80K, which will be automatically downloaded to your system by your web browser.
    if internet connection is dial-up modem, the download time may be up to 20 seconds in average.        
    reload time varies with your browser.
    also, which requires JavaScript enabled.
  4. Managing Inheritance 
    Object class, defined in the java.lang package, defines and implements behavior that every class needs. As depicted in figure of the tool, many classes derive from Object, many subclasses derive from those classes, inherits all the member variables and methods from its super class, forming a hierarchy of classes.
    At the right of the hierarchy, Object is the most general of all classes. Classes near the left of the hierarchy provide more specialized behavior. A subclass derives from another class. The term super class refers to a class's direct ancestor or to any of its ascendant classes. 
    nested classes (inner classes) are enclosed by normal class. An enumerated type is a type whose legal values consist of a fixed set of constants.
  5. Properties
    Java virtual machine can load public fields and methods, but may not load private, protected and native ones.
    You can read related samples, examples, java  source code to know why, basically they are security reasons.   





eXTReMe Tracker