Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.10 seconds.

  1. Re: Help with my java applet - displaying output with text

    I would guess because OP was getting flak for crossposting, or maybe he found the answer and wants to get rid of any evidence of getting homework help online?
  2. Re: Help with my java applet - displaying output with text

    For the number at the start, you're appending the value of the array at index i. I'm not sure how your algorithm works, but you need to make sure you're filling the array correctly. For the number at...
  3. Re: Help with my java applet - displaying output with text

    I just realized that you're using AWT instead of Swing. I'm not sure how AWT deals with escape characters and html. Is there a reason you aren't using Swing?

    Also, I was wrong about escape...
  4. Re: Help with my java applet - displaying output with text

    There are a couple ways to format text. You can either use html or escape characters such as \n for a newline and \t for a tab.
  5. Re: Help with my java applet - displaying output with text

    Well, this is the section of code we really care about:


    String mystring="";
    for(int i=0;i<intArray.length;i++){
    if(intArray[i]>0)
    {
    mystring+=String.valueOf(intArray[i]);
    ...
  6. Re: Help with my java applet - displaying output with text

    When posting code, please use the highlight tag to preserve formatting. Also, code should be in the form of an SSCCE. For example, I'm not sure what's giving you trouble- does the algorithm work?...
Results 1 to 6 of 6