Click here to Skip to main content
15,908,111 members
Home / Discussions / Java
   

Java

 
SuggestionRe: how to set the files become read only using java rmi Pin
Richard MacCutchan13-Apr-12 22:23
mveRichard MacCutchan13-Apr-12 22:23 
GeneralRe: how to set the files become read only using java rmi Pin
dnafrinsi17-Apr-12 2:16
dnafrinsi17-Apr-12 2:16 
GeneralRe: how to set the files become read only using java rmi Pin
Richard MacCutchan17-Apr-12 4:53
mveRichard MacCutchan17-Apr-12 4:53 
QuestionHow to Delete/remove index elements in 2D arrayList Pin
B.Bryce10-Apr-12 2:48
B.Bryce10-Apr-12 2:48 
AnswerRe: How to Delete/remove index elements in 2D arrayList Pin
Richard MacCutchan10-Apr-12 5:38
mveRichard MacCutchan10-Apr-12 5:38 
GeneralRe: How to Delete/remove index elements in 2D arrayList Pin
B.Bryce10-Apr-12 7:11
B.Bryce10-Apr-12 7:11 
GeneralRe: How to Delete/remove index elements in 2D arrayList Pin
Richard MacCutchan10-Apr-12 8:27
mveRichard MacCutchan10-Apr-12 8:27 
GeneralRe: How to Delete/remove index elements in 2D arrayList Pin
TorstenH.10-Apr-12 19:20
TorstenH.10-Apr-12 19:20 
That can not work - even if "d" is an object of type Employee.
Because "d" is probably another, on the fly created object and not a part of the ArrayList "list".

You need to search for the entry, compare the index number "id" and if you find the correct one you can delete it.

Do not ask the ArrayList for the object at position "id" - that only works one time as the gap in the ArrayList is closed and on a second request a wrong object is delivered.
regards Torsten
When I'm not working

GeneralRe: How to Delete/remove index elements in 2D arrayList Pin
Nagy Vilmos11-Apr-12 2:07
professionalNagy Vilmos11-Apr-12 2:07 
GeneralRe: How to Delete/remove index elements in 2D arrayList Pin
TorstenH.11-Apr-12 3:54
TorstenH.11-Apr-12 3:54 
AnswerRe: How to Delete/remove index elements in 2D arrayList Pin
BobJanova11-Apr-12 1:09
BobJanova11-Apr-12 1:09 
AnswerRe: How to Delete/remove index elements in 2D arrayList Pin
Nagy Vilmos11-Apr-12 2:06
professionalNagy Vilmos11-Apr-12 2:06 
GeneralRe: How to Delete/remove index elements in 2D arrayList Pin
TorstenH.11-Apr-12 3:57
TorstenH.11-Apr-12 3:57 
GeneralRe: How to Delete/remove index elements in 2D arrayList Pin
Nagy Vilmos11-Apr-12 3:59
professionalNagy Vilmos11-Apr-12 3:59 
Questionjava SmS Application...... Pin
fahad479-Apr-12 19:59
fahad479-Apr-12 19:59 
AnswerRe: java SmS Application...... Pin
Anil Kumar 231-Jul-12 21:43
Anil Kumar 231-Jul-12 21:43 
QuestionSplitting one string Pin
Ejii8-Apr-12 21:27
Ejii8-Apr-12 21:27 
AnswerRe: Splitting one string Pin
Richard MacCutchan8-Apr-12 21:43
mveRichard MacCutchan8-Apr-12 21:43 
AnswerRe: Splitting one string Pin
Ejii8-Apr-12 22:27
Ejii8-Apr-12 22:27 
Questiononline shopping application in Java Pin
Member 87135148-Apr-12 20:30
Member 87135148-Apr-12 20:30 
AnswerRe: online shopping application in Java Pin
Richard MacCutchan8-Apr-12 21:41
mveRichard MacCutchan8-Apr-12 21:41 
AnswerRe: online shopping application in Java Pin
TorstenH.9-Apr-12 19:35
TorstenH.9-Apr-12 19:35 
Questionencryption technique Pin
AnkitGujjar7-Apr-12 18:53
AnkitGujjar7-Apr-12 18:53 
AnswerRe: encryption technique Pin
Richard MacCutchan8-Apr-12 6:06
mveRichard MacCutchan8-Apr-12 6:06 
Questionjava socket program that delete add tem files Pin
zahidaa6-Apr-12 9:42
zahidaa6-Apr-12 9:42 

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.