Hierarchy diagrams in java..is it possible?

hi...
i dunno where to post this so i thought of posting it here...
is it possible to build a graphical representation of a node in java?
like for example i have this parent-child-child relationship
Root has 2 schools (school1 & school 2)
each School has several subjects (s1, s2 ...)
each Subject has several enrollees (d1, d2..)
ROOT
school1 school2
/ | \ / | \
s1 s2 ..
d1 ....
is there a java tool or an API where in i could graph it like the one above? my output file would either be an html or in pdf form...
thanks in advance!

btw, i don't have to navigate thru the nodes... i just need to display it...
so for example i want to know who is the parent of d1 then it would show me this
root
|
school1
|
s1
|
d1
or if i want to see the whole hierarchy then the diagram in my first post is the one that will display... sort of something to that effect...

Similar Messages

  • Class Hierarchy Diagrams

    Hi, I want some one help!.
    I need class hierarchy diagrams for java like class hierarchy diagram in JAVA 3D API. Where can i get those diagrams.

    Haven't looked at the book for a few years, but the O'Reilly (?) book Java in a Nutshell gave class diagrams for all of the standard Java packages back in the Java 1.1 days.

  • Web Intelligence Rich Client without java - is it possible?

    Hello!
    Web Intelligence Rich Client without java - is it possible?
    How about other client as Web Intelligence Rich Client, but without java?
    Is it possible?
    Regards,
    Denis

    It's very interesting, becouse i have installed pathes: ENTERPRISECLNT03P_4-10007619.EXE, CRYSTALREPORTS03P_4-10007442.EXE, BOBJINTGRSAP03P_4-10007514.EXE and problem was solved. Moreover I have uninstalled JRE. New problem not have come.
    Regards,
    Denis

  • Position Hierarchy Diagram

    Dear All
    We are upgrading from Oracle 11.0.3 to R12. The Organization Diagram is working fine.But the Position Hierarchy Diagram is empty. The position hierarchy is set properly.
    In the Job window nothing is updated in front end, but there are 32 records in per_jobs table. Because of this, In assignment window job LOV is empty and in the position table job is empty.
    Is this could be a reason of the position hierarchy diagram empty.
    Thanks in advance
    Regards
    Nakshathra

    -- Diagrammer Window shows Blank, even if the Position Heriarchy set correctly----
    Hi,
    Currently we have a SR(TAR) pending from oracle regarding the same issue as we have upgraded from 11.5.10.2 Family pack k rollup 1 to Family Pack K rollup 2.
    Oracle has identified this as a bug and assigned to their development team.
    Regards,
    Naga

  • Need a link for ADF class hierarchy diagrams

    Hi,
    For some reasons i m not able to find via google or in documentation I need class hierarchy diagrams of the following
    - ADF Binding e.g Faces* to AttributeBinding etc etc.
    - ADF Model e.g ApplicationModule > Entity > View to Rowset etc etc
    these diagrams frequently used by Frank Nimphius in his presentations.
    Best Regards,
    Zeeshan Baig

    Hi,
    I created the binding diagram using Oracle JDeveloper class diagrammer. You don't need the source code for this. Create a new class diagram in JDeveloper, use right mouse context menu and choose "Add to diagram". Browse the class path to the classes you want to see (e.g. adf | model | binding) and select them. It takes a few seconds for the diagrammer to layout the classes, but then you have the diagram you are looking for.
    Frank

  • Creating pie chart diagram in java  and converting into BMP file

    hi all ,
    my req. is to create draw a pie chart diagram and store
    the picture in BMP. it is Possible. if so how ?
    cheers
    senthil

    Hi Senthil,
    This response is a bit late but I hope it can help in some way.  Your requirement (to create draw a pie chart diagram and store the picture in BMP) is possible and actually quite easy if you don't mind using two open source libraries.  In his previous response to this thread, Detlev mentioned JFreeChart for as a solution for charting however he also mentioned that it lacks support for BMP.  Although this is true, you can use the JFreeChart library (http://www.jfree.org/jfreechart/index.html) in conjunction with an imaging library to meet your requirement.  I have used JFreeChart on multiple projects and I highly recommend it.  For the imaging library you have many options, however the only one I have used is The Java Imaging Utilities (JIU - http://jiu.sourceforge.net/).  Using these two class libraries, you can generate your pie chart and save it to a BMP file with the following block of code:
         try
             JFreeChart chart = this.createChart();
             FileOutputStream streamOut = new FileOutputStream("your/files/path/BMPfile.bmp");
             BufferedImage image = chart.createBufferedImage(600, 300);
             if(image == null)
                  reportError("Chart Image is NULL!!!!!!!!");
                  return(false);
             RGB24Image rgbImage = ImageCreator.convertImageToRGB24Image(image);
             Codec codec = new BMPCodec();
             codec.setImage(rgbImage);
             codec.setOutputStream(streamOut);
             codec.process();
             codec.close();
             streamOut.flush();
             streamOut.close();
        }catch(IOException ioExcept)
             // throw or handle IOException...
             return(false);
        }catch(OperationFailedException opFailedExcept)
             // throw or handle OperationFailedException...
             return(false);
    The first line inside the catch block calls a helper method that should create the actual chart using the JFreeChart library.  Once you have your chart instance (all chart types are represented using the JFreeChart class), you can then retrieve a BufferedImage of the chart (JFreeChart.createBufferedImage(int width, int height);).  In our situation, the BufferedImage class will act as an "intermediate" class, for both libraries (the charting and imaging) can make sense of BufferedImages.  The rest of the code deals with storing the generated chart (the BufferedImage) as a BMP file to disk.  The RGB24Image, Codec, BMPCodec, CodecMode, and OperationFailedException classes are all part of the JIU library.  Also, note that the storage  source is not solely limited to a File on disk; the Codec.setOutputStream(OutputStream os) method will accept any subclass of OutputStream.  This implies that not only can you store to the actual App Server disk (where your app is running) but also to sources such as Knowledge Management (KM) resources or even directly to the clients browser (in the case of an iView). 
    Once again, sorry for the late response and let me know if you have any questions regarding the code above. 
    Regards,
    Michael Portner

  • Java Mapping : Multimapping possible or not?

    Hi Experts ,
    Can we use Java Mapping in Case of Multimapping where I am getting 2 messages as Input and I have to sent 1 message O/p.
    Also the reverse case where I am getting I message as I/p and I have to sent 2 messages O/p
    Your suggestions are required .
    Regards

    Hi Amit,
    It is possible using Java Mapping.
    Also, go through the below links to get a better idea.
    http://help.sap.com/saphelp_nw04/helpdata/en/43/09b16006526e72e10000000a422035/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/42/f3ca2529491bc7e10000000a11466f/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/42/f3b31d48fb1bc8e10000000a11466f/frameset.htm
    /people/thorsten.nordholmsbirk/blog/2006/08/10/using-jaxp-to-both-parse-and-emit-xml-in-xi-java-mapping-programs
    /people/amol.joshi2/blog/2006/03/10/think-objects-when-creating-java-mappings
    Structure Mapping: suppress multi occurence based on field content
    Hope these help
    Regards
    Kiran..

  • Emulating consoles using Java, is it possible?

    i know that there are already programs such as NESticle and ZSNES emulate the nes and snes, and other consoles, but these prgrams are DOS based, and wirtten in a combination of assembly and c++ which makes them horrible. i want to create a multi-emulator, that emulates both the nes and snes using a Java program, but i'm not sure if it is possible or where to start. i realize that i should start w/reading the rom image files but don't know how to recreate the console driver systems, any thoughts or should i have given up before i thought of it.

    The only reason the ROM-reading console emulators were written in assmebly language and C++ was preference. Assembly language allows a program to perform very fast calculations, thus decreasing the system requirements of the emulator. An emulator written in Java will require more memory and processor power than an emulator written in C++/assembly; the concept is, however, quite possible. I don't think Java currently provides direct access to CD drives (though I could be wrong), so I don't think emulating a CD-based system would be easy (you'd have to make an ISO from the CD and read it). Overall, creating a Java-based emulator instead of a C++-based emulator would be the same trade as usual: the Java emulator would be a bit more demanding but would be faster to write and run on any machine using a JRE.
    Hope that helps. :)
    Zachary Palmer
    [email protected]

  • Atomic disk writes using Java, is it possible??

    Hi, I need to do atomic disk writes using Java, is that supported/possible? And if, how is it done?
    With a atomic disk write I mean that if I write to a file all information should be written or none at all, not just some of the data. (In case of a program crash or other failures in the computer)
    /Fredrik

    you can store all the information in an object..and when you are sure you have all you need, you write all the data in one step to a file...
    but there is never a 100% guarantee.. you can check after the writing process if the size is correct or such things..

  • Generating Animated GIF in java is it possible

    Hi,
    I have worked on generating GIF / JPG Files in java. Now that i would like to know if its possible to create animated GIF in java. I have'nt got any examples on that. If anyone has any, can you pl post them here?

    This is an animated gif encoder : http://jmge.net/java/gifenc/
    Animated GIF Example :
    import net.jmge.gif.Gif89Encoder;
    void writeAnimatedGIF(Image[] still_images,
    String annotation,
    boolean looped,
    double frames_per_second,
    OutputStream out) throws IOException
    Gif89Encoder gifenc = new Gif89Encoder();
    for (int i = 0; i < still_images.length; )
    gifenc.addFrame(still_images);
    gifenc.setComments(annotation);
    gifenc.setLoopCount(looped ? 0 : 1);
    gifenc.setUniformDelay((int) Math.round(100 / frames_per_second));
    gifenc.encode(out);

  • Access https site using Java, is it possible?

    I am new on https programming, please give me some advice on this issue.
    I have to access an https site, say: https://someoneelsesite/
    That site needs a client certificate. I got one certificate which I can now use it to acess the site using IE Web Browser.
    Now my question is: is it possible for me writing a Java program to access that site? ( I need to download a file each day on that site)
    I read some articles from this forum. Information I got looks like I need https site's public server certificate which I do not have. All I have is a client certificate given by that site to me.
    Some one please advise.
    Thanks a lot.

    Thank you very much for your reply.
    I searched this site before. The post I got says I need a public certificate of web serve which I do not have. (Maybe I understand it wrong!)
    Could you post some piece of your code which connect a https site with only client certificate?

  • UML diagrams for Java petstore example

    Hi,
    In this forum and elsewhere I've notice requests for the UML diagrams for the java petstore example. I've posted some uml diagrams at
    http://weblog.neeraj.name/weblog/2004/9/9/java-petstore-uml-diagrams.html
    Your comments are welcome.
    thanks.
    - Neeraj
    http://weblog.neeraj.name

    Hi,
    I browsed through some of your UML. Its a great start! Would you be interested in starting a project on java.net and hosting your uml there? We now have the BluePrints projects out on java.net https://blueprints.dev.java.net/ and would like to encourage others to add their projects as well.
    Lots of people have done cool stuff with Java Petstore and other blueprints projects, and lots of people have created additions to these projects. These UML diagrams would seem to be a great addition to the J2EE community on java.net http://community.java.net/java-enterprise/.
    Its easy to join java.net and to create a new project. They give you a cvs repository where you can store your uml diagrams. We could include a reference to it from the blueprints since it is really useful supplemental material. By making it a project as part of the J2EE community on java.net it makesd it accessible to a larger audience of people. Not everyone will read this forum, and lots more people might find your project useful. So if you wish we had more UML for the Petstore, ....then now is your chance to make a difference :-) Maybe a project called UML4Petstore?
    This page has some explanations of how to add a project if interested.
    https://java-enterprise.dev.java.net/
    hope that helps,
    Sean

  • Reverse Engineering UMl Diagrams from Java Classes

    Hi,
    Is there a way in Jdeveloper, by which i can generate the class diagrams from the existing java classes. Something lik everse engineering.. have anyone done this before..
    Thanks & Regards,

    Yes.
    Drag and drop the Java code onto an empty diagram.
    Shay.

  • Different colors for hierarchy nodes in WEBI 4.0 (Possible or not)

    Hi Everyone,
    We have been listening a lot about the capability of Webi 4.0 in terms of Hierarchies from BW BEx Query. It works just fine like in BEx Analyzer, but is it possible to create formatted reports like we do in Crystal reports to display different colors for the hierarchy nodes. The reason for asking about this functionality is though Crystal Enterprise also inherits Hierarchical view from BEx Query we still won't be able to drill down in real time to do some interactive analysis.
    Where as Webi 4.0 can allow us to do interactive analysis by allowing us to drill down on the hierarchies, but it would be great to show the Webi report with different colors for the hierarchy nodes along with the drill down functionality, to give users the best look and feel while working with these reports.
    I am trying to achieve this functionality but I am not successful yet and running out of ideas. I am also not sure if this is possible or not. Can anyone throw some light or share there thoughts on this.
    Any comments will be greatly appreciated.
    Thanks & Regards,
    SRV

    Create a variable with:
         =[Object].Depth
    where [Object] has to be the one containing the BEx hierarchy.
    This function will return the hierarchy level starting with 0 (zero).
    You can use the value of the variable the in the formatting rules:
    variable   equal   [hierarchy level]
    to format all hierarchy nodes on the given level.
    R. Uli

  • New to Java: requires help possible tutor plz read

    Ok, i ma very keen to learn the basics of java, however my experience is limited. When i was studying at the university of london i completed an object orientated programming module based on the the book "javagently". Since that time i have not been programming and am really keen to get into it and make my first (simple) application. i have set up java on my pc and have done a few tutorials around but would really like a reconmendation for a good text book that can take me to this level.
    Let me explain what i intend on building, i play a wargame online called "Medieval:TotalWar - Viking Invasion" basically in this game you buy units for fighting and to make them more effective you can add "valor", "weap" or "armour" all of which increase the cost of the unit. a unit has base stats for different attributes and all of these variables adjust the attributes accordingly.
    All the stats for the units i have in excell and text file format, i would ideally like to have scroll down bars that let you select "unit type", "valor", "weap" and "armour" default being 0 and then the app will display all the attributes that apply to those selected options. In theory i cannot see this being too hard but i just dont know where to start.
    I am looking for a good text book that would help acheive this goal and also possibly a kind person that would be able to answer my silly questions privately without me looking like a fool in front of everyone here ;) on a serious note though i am deadly serious about completing this even if it takesa few months to get a grasp, if you have any inptu whatsoever it would be greatly appreciated no matter how small it may seem. if you want to see the txt file it is available here http://kenchi.mysite.freeserve.com/VIKINGS_UNIT_PROD.TXT as an example i also can get it on an excel sheet if it is easier to handle but at moment i can just about copy a txt file let alone do anything else with it.
    thanks in advance
    Baz
    please feel free to reply or email me at [email protected] or if you are really keen visit www.clankenchikuka.com, Baz is my profile.

    i m not sure, if sombody will read ur Q.
    this is not a Q, this is a history.
    who care if u study or u still.
    we ask like this.
    hi, // this is ok :)
    i use xxx // for example JFrame.
    i get Error xxxx // for example class not found.
    please help.
    enough.
    and now filter ur Q, if u would like to get an answer. minimum from me.

Maybe you are looking for