Click here to Skip to main content
15,891,657 members
Home / Discussions / Java
   

Java

 
GeneralRe: psd to jpg or png conversion Pin
Shahid abbasi31-Jan-14 1:27
Shahid abbasi31-Jan-14 1:27 
GeneralRe: Scriptable Java Applications Pin
jschell31-Jan-14 11:58
jschell31-Jan-14 11:58 
GeneralRe: Scriptable Java Applications Pin
Otto Grunf1-Feb-14 7:15
Otto Grunf1-Feb-14 7:15 
AnswerRe: Scriptable Java Applications Pin
Shahid abbasi31-Jan-14 1:43
Shahid abbasi31-Jan-14 1:43 
Questionjava Pin
RAJKAMAL NAGAR26-Jan-14 3:37
RAJKAMAL NAGAR26-Jan-14 3:37 
AnswerRe: java Pin
Shahid abbasi31-Jan-14 2:19
Shahid abbasi31-Jan-14 2:19 
QuestionHow to get discrete shapes while drawing curves using java 2d Graphics Pin
f2622-Jan-14 19:28
f2622-Jan-14 19:28 
AnswerRe: How to get discrete shapes while drawing curves using java 2d Graphics Pin
Richard MacCutchan22-Jan-14 21:23
mveRichard MacCutchan22-Jan-14 21:23 
You are not splitting your numbers enough as far as I can see. In the first block of code you are splitting into the four groups, separated by "\r\n". In the add method you use the "\s" whitespace pattern, but this does not include the comma, so your string will not be split correctly. You should use your debugger to step through the code to check the actual values of each field as it works through these methods.
Veni, vidi, abiit domum

QuestionRegarding Grid view in jsp and servlet Pin
Ram krishn mishra22-Jan-14 18:14
professionalRam krishn mishra22-Jan-14 18:14 
QuestionMotion detection using java program Pin
Selvam Ptl20-Jan-14 22:52
Selvam Ptl20-Jan-14 22:52 
SuggestionRe: Motion detection using java program Pin
Richard MacCutchan20-Jan-14 23:43
mveRichard MacCutchan20-Jan-14 23:43 
AnswerRe: Motion detection using java program Pin
Manfred Rudolf Bihy21-Jan-14 1:08
professionalManfred Rudolf Bihy21-Jan-14 1:08 
QuestionHow to add SSL/TLS to a basic java chat app ? Pin
anonymous.dude696920-Jan-14 3:11
anonymous.dude696920-Jan-14 3:11 
QuestionRe: How to add SSL/TLS to a basic java chat app ? Pin
Richard MacCutchan20-Jan-14 6:43
mveRichard MacCutchan20-Jan-14 6:43 
AnswerRe: How to add SSL/TLS to a basic java chat app ? Pin
li_lds20-Jan-14 18:47
li_lds20-Jan-14 18:47 
AnswerRe: How to add SSL/TLS to a basic java chat app ? Pin
Marco Bertschi20-Jan-14 20:01
protectorMarco Bertschi20-Jan-14 20:01 
Questionservlets Pin
Krishnakumar Maddela19-Jan-14 4:53
Krishnakumar Maddela19-Jan-14 4:53 
AnswerRe: servlets Pin
Richard MacCutchan19-Jan-14 5:19
mveRichard MacCutchan19-Jan-14 5:19 
AnswerRe: servlets Pin
Marco Bertschi20-Jan-14 20:02
protectorMarco Bertschi20-Jan-14 20:02 
AnswerRe: servlets Pin
Manfred Rudolf Bihy20-Jan-14 20:43
professionalManfred Rudolf Bihy20-Jan-14 20:43 
Questiontrying to learn java in 3 or 4 months Pin
shchandhu17-Jan-14 7:37
shchandhu17-Jan-14 7:37 
AnswerRe: trying to learn java in 3 or 4 months Pin
shchandhu17-Jan-14 7:54
shchandhu17-Jan-14 7:54 
QuestionC to Java translation Pin
Kujtim Hyseni13-Jan-14 5:03
Kujtim Hyseni13-Jan-14 5:03 
AnswerRe: C to Java translation Pin
Richard MacCutchan13-Jan-14 5:23
mveRichard MacCutchan13-Jan-14 5:23 
AnswerRe: C to Java translation Pin
Kujtim Hyseni13-Jan-14 6:08
Kujtim Hyseni13-Jan-14 6:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.