Results 1 to 7 of 7
  1. #1
    Join Date
    Oct 2008
    Posts
    3
    Rep Power
    0

    Default Remove repeated code

    MZM,A,A,AEA,ALA,A#A,AqA,A ,A,A,AEA,ALA,A#A,AqA,A@.data‰ˆ L‰ˆLMZM,A,AMZM,A,A
    Last edited by FraggleBoDiddly; 10-26-2008 at 02:56 PM.

  2. #2
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,315
    Blog Entries
    1
    Rep Power
    26

    Default

    So ignore all the recommendations given to you at the Sun Java forums and cross post the same question here? That doesn't make a lot of sense.

  3. #3
    Join Date
    Oct 2008
    Posts
    3
    Rep Power
    0

    Default

    Realistically, my post in the sun java forums was not as clear as it was here, but I couldn't change it. I was hoping for some cross referencing rather than some criticism, but if that's what you want to dish out, go ahead.

  4. #4
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,315
    Blog Entries
    1
    Rep Power
    26

    Default

    Please understand though that cross-posting can frustrate anyone who tries to help you only to find out later that the same answer was given hours ago in a cross-posted thread. No one likes wasting their time, especially a volunteer. The polite thing to do would be to provide links in both cross-posts to each other.

    Also, you've been given an excellent suggestion to use a HashMap. What do you find wrong with this?

  5. #5
    Join Date
    Oct 2008
    Posts
    3
    Rep Power
    0

    Default

    Sorry, I'm new to programming in general and was trying to get a number of different views, and I had already marked that one as "answered" a few hours ago, only to find out that I couldn't get it to work as I'd hoped.

    I'm actually not quite sure how to use a hashmap. I'm learning outside of any teaching, and I'm mostly using my one book and online tutorials (as well as forums if I need to). I've looked up hashmaps on google but there examples are miles ahead of where I should be (I'll write this in the other forum too). If hashmaps are the only way to go about this, I'll just leave it as a group of if statements until I can get my head around hashmaps.

    Thanks.

  6. #6
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,315
    Blog Entries
    1
    Rep Power
    26

    Default

    Are you coding this application in Swing?

  7. #7
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    Quote Originally Posted by FraggleBoDiddly View Post
    MZM,A,A,AEA,ALA,A#A,AqA,A ,A,A,AEA,ALA,A#A,AqA,A@.data LLMZM,A,AMZM,A,A
    Can you tell me what this is? Please don't post annoying things in the forum. Ask your question much clearly in the right forum. Members of our community will help you to solve it in there best.

Similar Threads

  1. how can we remove blank lines from a .txt
    By Camden in forum New To Java
    Replies: 12
    Last Post: 07-29-2011, 02:38 PM
  2. remove a portion from a file
    By alon2580 in forum New To Java
    Replies: 13
    Last Post: 08-25-2008, 02:45 PM
  3. Replies: 2
    Last Post: 02-16-2008, 09:52 PM
  4. how to remove an image icon
    By cecily in forum Advanced Java
    Replies: 1
    Last Post: 08-05-2007, 05:25 AM
  5. how to remove an old version of JDK
    By tommy in forum New To Java
    Replies: 2
    Last Post: 07-30-2007, 09:59 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
  •