• Member Avatar for ncmathsadist
    ncmathsadist

    Replied To a Post in .txt File Handling in Java

    The FileWriter has an optional second boolean argument. If you pass it `true`, it will operate in append mode.
  • Member Avatar for ncmathsadist
    ncmathsadist

    Replied To a Post in help with this

    Always capitalize class names. This is a universally-observed convention. Failure to do so confuses other programmers.
  • Member Avatar for ncmathsadist
    ncmathsadist

    Replied To a Post in Error illegal start of expression

    The "Illegal Start of Expression" compiler screech is almost always caused by a curly-brace leak.
  • Member Avatar for ncmathsadist
    ncmathsadist

    Replied To a Post in error : non static variable cannot be referenced from a static context

    The class `Local` does not have a display method. However class `Simple` does. You can instantiate `Simple` in your main method and call that instance's `display` method.
  • Member Avatar for ncmathsadist
    ncmathsadist

    Replied To a Post in Why isn't my image loading on my JPanel??

    Note the change I made here. In a GUI app, you should make its main routine be a `run()` method. You need to do this so that all events received …
  • Member Avatar for ncmathsadist
    ncmathsadist

    Replied To a Post in C++program

    Start here typdef struct { char key; int count; }count_entry; This will do a character-integer pair, for example ('a', 3) for 'a' seen 3 times.
  • Member Avatar for ncmathsadist
    ncmathsadist

    Replied To a Post in Java projects for learners

    This is my second assignment in my Early Object Java class: http://www.ncssm.edu/~morrison/currentClasses/404/assess/specs/ColorCalculator.php Try it; it's lots of fun

The End.