frijj's Profile User Rating: -----

Reputation: 0 Apprentice
Group:
Active Members
Active Posts:
50 (0.09 per day)
Joined:
01-October 12
Profile Views:
628
Last Active:
User is offline Dec 17 2013 07:07 PM
Currently:
Offline

Previous Fields

Country:
Who Cares
OS Preference:
Windows
Favorite Browser:
FireFox
Favorite Processor:
Intel
Favorite Gaming Platform:
Playstation
Your Car:
BMW
Dream Kudos:
0
Icon   frijj Ice cold

Posts I've Made

  1. In Topic: Java Graphs, displaying information

    Posted 25 Nov 2013

    View Postastonecipher, on 24 November 2013 - 08:21 PM, said:

    When I have more time to look I will post a doc page for it. You want to add a new method to the class you want the information from. By default classes implement toString, usually you are going to want to modify it to send a string to your calling member for display purposes.

    Ah ok
  2. In Topic: Java Graphs, displaying information

    Posted 24 Nov 2013

    View Postastonecipher, on 24 November 2013 - 08:06 PM, said:

    Do you know what I am referring to when I say to overload the toString function?

    In all honesty, No clue what you mean by that.
  3. In Topic: Java Graphs, displaying information

    Posted 24 Nov 2013

    View Postastonecipher, on 24 November 2013 - 08:00 PM, said:

    Overload toString passing the flight information as the argument.

    in the toString method have:
    String display;
    
    display = leave + " " + leaveTime + " " + on + " " + destination + " " arrivalTime;
    
    return display;
    

    In which class do i put it in? and what line?
  4. In Topic: Java Graphs, displaying information

    Posted 24 Nov 2013

    View Postastonecipher, on 24 November 2013 - 07:11 PM, said:

    This may sound abstract, but it is what works, usually :online2long:/> .

    Load the information you want to display in an array in a function. Pass the array back and loop through with your print statements.

    Hmm i see, how do i put it into java speak. Can you show me how to do it?
  5. In Topic: Java Graphs, displaying information

    Posted 24 Nov 2013

    View Postastonecipher, on 24 November 2013 - 05:26 PM, said:

    Are you trying to display them in labels or in the chart legend?

    Likes this:

    Itinerary for Edinburgh to Toronto
    Leg Leave At On Arrive At
    1 Edinburgh 1030 BA345 Heathrow 1130
    2 Heathrow 1400 BA657 Berlin 1530
    3 Berlin 1800 AA652 Paris 1930
    4 Paris 2200 AA216 Toronto 2330

    Total Journey Cost = £910
    Total Time in the Air = 930hrs
    As an example.

My Information

Member Title:
D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:
Years Programming:
3
Programming Languages:
F#,C++,C,Assembly

Contact Information

E-mail:
Private

Friends

frijj hasn't added any friends yet.

Comments

frijj has no profile comments yet. Why not say hello?