Click here to Skip to main content
15,887,683 members
Home / Discussions / Java
   

Java

 
Questionhow to write Juint testcases for spring application using annotations Pin
srikotesh20-Nov-13 22:14
srikotesh20-Nov-13 22:14 
AnswerRe: how to write Juint testcases for spring application using annotations Pin
Richard MacCutchan20-Nov-13 22:41
mveRichard MacCutchan20-Nov-13 22:41 
GeneralRe: how to write Juint testcases for spring application using annotations Pin
srikotesh21-Nov-13 22:52
srikotesh21-Nov-13 22:52 
GeneralRe: how to write Juint testcases for spring application using annotations Pin
Richard MacCutchan21-Nov-13 22:55
mveRichard MacCutchan21-Nov-13 22:55 
QuestionHow to make Integer number increment by 1 in a JTextField? Pin
chdboy20-Nov-13 18:40
chdboy20-Nov-13 18:40 
AnswerRe: How to make Integer number increment by 1 in a JTextField? Pin
Richard MacCutchan20-Nov-13 22:38
mveRichard MacCutchan20-Nov-13 22:38 
GeneralRe: How to make Integer number increment by 1 in a JTextField? Pin
chdboy21-Nov-13 4:14
chdboy21-Nov-13 4:14 
GeneralRe: How to make Integer number increment by 1 in a JTextField? Pin
chdboy23-Nov-13 12:21
chdboy23-Nov-13 12:21 
I'm able to display the value after data is saved, but it is showing me wrong value with this code.

Java
int fileno1=Integer.parseInt(Result.getString(2));
		int increment = ++fileno1;
		String convertno1=String.valueOf(increment);
		filenotxtfield.setText(convertno1);


If 1 and 2 file no already exists after entering 3rd number manually and then save it ,it is showing me 2 not 4.?
GeneralRe: How to make Integer number increment by 1 in a JTextField? Pin
Richard MacCutchan23-Nov-13 21:34
mveRichard MacCutchan23-Nov-13 21:34 
GeneralRe: How to make Integer number increment by 1 in a JTextField? Pin
chdboy25-Nov-13 17:21
chdboy25-Nov-13 17:21 
GeneralRe: How to make Integer number increment by 1 in a JTextField? Pin
Richard MacCutchan25-Nov-13 22:38
mveRichard MacCutchan25-Nov-13 22:38 
GeneralRe: How to make Integer number increment by 1 in a JTextField? Pin
chdboy27-Nov-13 1:29
chdboy27-Nov-13 1:29 
GeneralRe: How to make Integer number increment by 1 in a JTextField? Pin
Nicholas Marty27-Nov-13 4:07
professionalNicholas Marty27-Nov-13 4:07 
GeneralRe: How to make Integer number increment by 1 in a JTextField? Pin
chdboy27-Nov-13 18:12
chdboy27-Nov-13 18:12 
Questionconverter video Pin
Member 1041289519-Nov-13 16:29
Member 1041289519-Nov-13 16:29 
AnswerRe: converter video Pin
Marco Bertschi19-Nov-13 20:18
protectorMarco Bertschi19-Nov-13 20:18 
AnswerRe: converter video Pin
Bernhard Hiller19-Nov-13 22:06
Bernhard Hiller19-Nov-13 22:06 
QuestionWeb WCF Pin
SheraX19-Nov-13 5:11
SheraX19-Nov-13 5:11 
QuestionUnderstanding Java Integer Pin
Raptor8118-Nov-13 10:05
Raptor8118-Nov-13 10:05 
AnswerRe: Understanding Java Integer Pin
Richard MacCutchan18-Nov-13 22:28
mveRichard MacCutchan18-Nov-13 22:28 
GeneralRe: Understanding Java Integer Pin
jschell19-Nov-13 10:49
jschell19-Nov-13 10:49 
GeneralRe: Understanding Java Integer Pin
Richard MacCutchan19-Nov-13 21:41
mveRichard MacCutchan19-Nov-13 21:41 
AnswerRe: Understanding Java Integer Pin
jschell19-Nov-13 10:58
jschell19-Nov-13 10:58 
AnswerRe: Understanding Java Integer Pin
Oscar020-Nov-13 6:35
Oscar020-Nov-13 6:35 
Questiontrying to find the real import files Pin
tiwal17-Nov-13 21:10
tiwal17-Nov-13 21:10 

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.