Type: Posts; User: deeevo

Search: Search took 0.15 seconds.

  1. Replies

    Javascript - changing font colour of row

    Hi, I need to change the colour of the newly appended rows, although it doesn't seem to be working with what I have.
    Any advice would be good?

    It currently appends a new row, although I need this...
  2. Replies

    Java - Inheritance help!

    Hi, can I please get some help with the following task. I've started the coding, although I have some of the methods I'm not sure on how to do (i.e the toString and equals)

    The task and other...
  3. Replies

    [SOLVED] Re: Try... catch loop?!

    The logic is somewhat below, although... after the completion of entering three numbers (which I haven't done yet) OR wrong input I want to ask the user to try again and keep prompting as well as...
  4. Replies

    [SOLVED] Try... catch loop?!

    I need to write code to see if three numbers make a right angled triangle (which I have done below). However, I need to use a try/catch as well as keep prompting the user to enter a number only...
  5. Replies

    Checked Exception

    Hi, I was wondering if someone could help me with this question, please?

    Question 3)
    Write a class named ConnectionException that is a checked Exception. The constructor should receive an error...
  6. Replies

    [SOLVED] Re: GUI user input error message

    The code runs and what not. However, right or a wrong keyword match still displays the error message. If wrong, it iterates 10 times (10 recipes in the array list) and then brings up a blank...
  7. Replies

    [SOLVED] GUI user input error message

    I need help implementing the below code. It currently is the code for a search bar. User enters in keywords and then it matches it against the recipe, returning true if so. It then displays the...
  8. [SOLVED] Re: Java - reading in two text files of different sizes into an ArrayList

    The idea I have in my head of what I am trying to do is...

    public class Sport
    private String sportName;
    private double usageFee;
    private double insuranceFee;
  9. [SOLVED] Re: Java - reading in two text files of different sizes into an ArrayList

    Well that was silly... I just removed it from the text file - the comments.

    I now have the error java.lang.ArrayIndexOutOfBoundsException: 1, which in my understanding is referring to the first...
  10. [SOLVED] Java - reading in two text files of different sizes into an ArrayList

    I'm reading in my second text file of data, it is listed below. My first text file is reading and printing to the terminal fine.

    // this is a comment, ignore
    // name, usagefee, insurance,...
  11. [SOLVED] Help - reading from a text file into an ArrayList

    Hi, so I am trying to read in a text file and store it in a ArrayList in another class.

    My reader code below.

    public static ArrayList<String> readFile(String fileName) throws Exception
Results 1 to 11 of 11