Results 1 to 3 of 3
  1. #1
    jboy is offline Member
    Join Date
    Aug 2009
    Posts
    56
    Rep Power
    0

    Default BlueJ arrow missing betwen two classes

    Hi,

    I am using Bluej for my program and there is something strange which happens every time I compile all of my classes, all of the classes compile and the system also runs properly but on the Bluej screen where you see all the classes, there is an arrow missing between two classes, the rest of classes have arrows pointing to each other but only two of them don't have a link arrow between them even though they compile and run. I am not talking talking about inheritance arrow.
    What is causing the problem?

    Thank you.

  2. #2
    Menre is offline Member
    Join Date
    Feb 2008
    Posts
    79
    Rep Power
    0

    Default

    Hi,

    When you are working on the BlueJ environment and want to see the arrows, select the options 'Show Uses' and 'Show Inheritance' from the View menu. That is, go to the view menu and tick the 'Uses' and 'Inheritance' options if you have not already done so. Once you have done that, you classes will show arrows if there is a relationship between them in your code. If there are no relationships like inheritance between classes, you won't see any arrows.

    You mentioned you are not talking about the Inheritance arrow. Normally, BlueJ shows an arrow between two classes when one class inherits from another. The inheritance arrow points from the child class to the parent class.
    For example, if I have two classes Father and Son, and use the inheritance method from Son to Father, BlueJ will show the arrow indicating that the Son class inherits from the Father class.

    but on the Bluej screen where you see all the classes, there is an arrow missing between two classes, the rest of classes have arrows pointing to each other
    What kind of arrow are you talking about here? The arrows you see, how do they look like?

    Menre

  3. #3
    jboy is offline Member
    Join Date
    Aug 2009
    Posts
    56
    Rep Power
    0

    Default

    I am talking about the dashed arrow which is the uses relation arrow not the inheritance arrow, I tried to untick and tick the options in the View menu but still one class is not connected to another class, I don't understand why because this class is compiled with no problem. So it is like on the putty screen you see 10 classes linked but one class is in a position where no link arrow comes to it or goes from it.

Similar Threads

  1. Difference betwen Core Java And J2se?
    By makpandian in forum New To Java
    Replies: 6
    Last Post: 02-28-2009, 07:55 PM
  2. Arrow Button Example
    By Java Tip in forum SWT Tips
    Replies: 0
    Last Post: 07-11-2008, 05:44 PM
  3. Replies: 1
    Last Post: 04-17-2008, 03:30 PM
  4. Draw an arrow
    By Albert in forum SWT / JFace
    Replies: 3
    Last Post: 02-01-2008, 09:11 AM
  5. help using BlueJ
    By zoe in forum New To Java
    Replies: 1
    Last Post: 08-07-2007, 07:07 AM

Posting Permissions

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