Results 1 to 3 of 3

Thread: JHotDraw = Trouble

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Nov 2001
    Location
    Behind you...
    Posts
    88

    JHotDraw = Trouble

    I'm trying to use JHotDraw to create a diagram tool but it seems that I can't get JHotDraw to work!! When I try to start the JModeller that I use as an inspiration (!!) it starts OK, but when I try to add a new class figure, the program crashes with a NullPointerException, and a java.lang.classNotFoundException on the ClassFigure.java file!!!

    I'm wondering if anyone else is, or have, experienced theese kind of problems and perhaps how to solve them!!

    The guy i work with doesn't have any problems so it's weird that I can't get it work!! We are doing the exact same thing... Any ideas to solve it?!

    Thanks in advance...
    Enjoy...
    ----
    If something is hard to do then it aint worth doing!!

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    JHotDraw sounds like an extension - are you sure you set it up correctly?
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Nov 2001
    Location
    Behind you...
    Posts
    88
    Yes JHotDraw is an extension for Java, its an open Source Framework for creating programs for diagram drawing and more...

    About the set up... I'm not quite sure that there really is any set up to do... The only thing you have to do is tell your compiler to use the .jar file... And my IDE(programming program ) is doing this by itself... Otherwise I wouldn't be able to even compile my Java files, and that is going smooth!!
    The problem occurs when I make a class that extends from GraphicalCompositeFigure (or use any other class that does this)! Why?! I don't know, but I would like to know if any one haved had this problem and perhaps knows how to solve it...
    Enjoy...
    ----
    If something is hard to do then it aint worth doing!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width