Click here to Skip to main content
15,914,500 members
Home / Discussions / Java
   

Java

 
AnswerRe: SEVERE: Error listenerStart Pin
Richard MacCutchan13-Sep-13 6:36
mveRichard MacCutchan13-Sep-13 6:36 
QuestionHow we can call the hypercalls from the c program. Pin
cooldharma0613-Sep-13 1:22
cooldharma0613-Sep-13 1:22 
AnswerRe: How we can call the hypercalls from the c program. Pin
Richard MacCutchan13-Sep-13 2:58
mveRichard MacCutchan13-Sep-13 2:58 
Questionjava - modifying a file while its being modified Pin
C.CoderCreator12-Sep-13 18:24
C.CoderCreator12-Sep-13 18:24 
AnswerRe: java - modifying a file while its being modified Pin
Ron Beyer12-Sep-13 18:55
professionalRon Beyer12-Sep-13 18:55 
GeneralRe: java - modifying a file while its being modified Pin
C.CoderCreator12-Sep-13 19:02
C.CoderCreator12-Sep-13 19:02 
GeneralRe: java - modifying a file while its being modified Pin
Ron Beyer12-Sep-13 19:03
professionalRon Beyer12-Sep-13 19:03 
AnswerRe: java - modifying a file while its being modified Pin
Richard MacCutchan12-Sep-13 21:58
mveRichard MacCutchan12-Sep-13 21:58 
As Ron suggests, you should use a database for this; and it really is not that complicated. Trying to modify a text file in the way you describe is prone to errors and losing all your data. You could read the file at startup and keep it all in memory. Then every time you get a new account add it to your in memory list and write the complete file back to disk. However, this method is still not totally secure.
Veni, vidi, abiit domum

AnswerRe: java - modifying a file while its being modified Pin
jschell13-Sep-13 11:44
jschell13-Sep-13 11:44 
AnswerRe: java - modifying a file while its being modified Pin
Logical9416-Oct-13 19:16
professionalLogical9416-Oct-13 19:16 
Questionandroid Pin
Member 1022888011-Sep-13 22:33
Member 1022888011-Sep-13 22:33 
QuestionRe: android Pin
Richard MacCutchan12-Sep-13 0:21
mveRichard MacCutchan12-Sep-13 0:21 
AnswerRe: android Pin
Member 1022888012-Sep-13 0:22
Member 1022888012-Sep-13 0:22 
GeneralRe: android Pin
Member 1022888012-Sep-13 0:23
Member 1022888012-Sep-13 0:23 
GeneralRe: android Pin
Richard MacCutchan12-Sep-13 0:27
mveRichard MacCutchan12-Sep-13 0:27 
JokeRe: android Pin
Member 1027459114-Sep-13 18:30
Member 1027459114-Sep-13 18:30 
QuestionJava project on voice storage and recognition Pin
Member 1026766011-Sep-13 8:06
Member 1026766011-Sep-13 8:06 
AnswerRe: Java project on voice storage and recognition Pin
Richard MacCutchan11-Sep-13 21:24
mveRichard MacCutchan11-Sep-13 21:24 
AnswerRe: Java project on voice storage and recognition Pin
Shreya_81814-Sep-13 1:55
Shreya_81814-Sep-13 1:55 
GeneralAlternative for ActiveXObject Pin
AnsumanSahoo11-Sep-13 0:25
AnsumanSahoo11-Sep-13 0:25 
GeneralRe: Alternative for ActiveXObject Pin
Richard MacCutchan11-Sep-13 21:22
mveRichard MacCutchan11-Sep-13 21:22 
Questionnew Pin
Member 102631629-Sep-13 16:14
Member 102631629-Sep-13 16:14 
AnswerRe: new Pin
Richard MacCutchan9-Sep-13 21:06
mveRichard MacCutchan9-Sep-13 21:06 
AnswerRe: new Pin
Member 1026766011-Sep-13 8:08
Member 1026766011-Sep-13 8:08 
QuestionI want sample java program to read sms from modem pls help me Pin
Member 102597877-Sep-13 22:01
Member 102597877-Sep-13 22:01 

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.