Need professional help.

}

sendFrame126(color +"" + Item.smithing_frame[Type2][i][3] +""+ bar, Item.smithing_frame[Type2][i][4]);

sendFrame126(color2 +"" + GetItemName(Item.smithing_frame[Type2][i][0]).replace(name,""), Item.smithing_frame[Type2][i][5]);

}

C:\j2sdk1.4.2_10\bin>javac client.java

client.java:9569: replace(char,char) in java.lang.String cannot be applied to (j

ava.lang.String,java.lang.String)

sendFrame126(color2 + "" + GetItemName(Item.smithing_fra

me[Type2][0]).replace(name, ""), Item.smithing_frame[Type2][5]);

^

Note: C:\j2sdk1.4.2_10\bin\stream.java uses or overrides a deprecated API.

Note: Recompile with -deprecation for details.

1 error

[892 byte] By [thesmileyknighta] at [2007-10-2 12:59:09]
# 1
Sorry. accidentally got rid of my title. I need someone to tell me whats wrong with this code, thanks in advance!
thesmileyknighta at 2007-7-13 10:18:00 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...
# 2
kind of urgent. someone help?
thesmileyknighta at 2007-7-13 10:18:00 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...
# 3

Hello it is me again. Good evening, if indeed it is evening where you live.

Possible solutions:

1) It looks like you are calling String.replace(char,char) with your GetItemName(...) method. It requires you provide two 'char' types as arguments not Strings as you are providing.

2) if you have made your own replace(string,sting) method then you need to use the instance name before your method before using the method (i.e. instanceName.replace(String,String) )

3) if your method is static then you need to use the class name before your replace(String,String) method (i.e. className.replace(String,String) ).

Well friend I surely hope that this helps, Best of luck and I hope in the future you can help me with a problem.

bryanbennetta at 2007-7-13 10:18:00 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...
# 4
thank you very much, problem solved!
thesmileyknighta at 2007-7-13 10:18:00 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...
# 5
YOU SHOULD AWARD THE DUKE DOLLARS WHEN SOMEONE TELLS YOU THE ANSWER TO THE QUESTION..
bryanbennetta at 2007-7-13 10:18:00 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...