Click here to Skip to main content
16,006,378 members
Home / Discussions / Java
   

Java

 
GeneralRe: Repaint JPanel problem in java Pin
flashery3-Sep-11 6:55
flashery3-Sep-11 6:55 
GeneralRe: Repaint JPanel problem in java Pin
twseitex4-Sep-11 9:36
twseitex4-Sep-11 9:36 
QuestionWhat is tracking multiple instances? Pin
flashery1-Sep-11 19:41
flashery1-Sep-11 19:41 
AnswerRe: What is tracking multiple instances? Pin
David Skelly1-Sep-11 22:09
David Skelly1-Sep-11 22:09 
AnswerRe: What is tracking multiple instances? Pin
twseitex2-Sep-11 11:04
twseitex2-Sep-11 11:04 
Questionusing a private variable for the lock of synchronized block Pin
quartaela31-Aug-11 3:53
quartaela31-Aug-11 3:53 
AnswerRe: using a private variable for the lock of synchronized block Pin
Nagy Vilmos31-Aug-11 4:07
professionalNagy Vilmos31-Aug-11 4:07 
AnswerRe: using a private variable for the lock of synchronized block Pin
gospidey2-Sep-11 23:58
gospidey2-Sep-11 23:58 
the list used as a lock is an instance of class ArrayList.

According to specification ArrayList implementation, an Arraylist is not synchroized, ie if multiple threads start accessing and or modifying the arraylist the state(data) of arraylist may get corrupted.

So the instance "list" is used as lock so that block of code is synchronized and only one thread can access the list at any given point of time.


do rate the answer or correct me if i am wrong.
thanx
Shreyas Rane
QuestionjTable Pin
Shaahinm30-Aug-11 1:40
Shaahinm30-Aug-11 1:40 
QuestionHow to know user still connect to my website in local network ? Pin
tannghia28-Aug-11 17:28
tannghia28-Aug-11 17:28 
AnswerRe: How to know user still connect to my website in local network ? Pin
jschell29-Aug-11 9:10
jschell29-Aug-11 9:10 
Questioni got java.lang.NullPointerException error while delteing and adding new data inms access DB-pls guide me to solve Pin
jpljayapal27-Aug-11 8:42
jpljayapal27-Aug-11 8:42 
AnswerRe: i got java.lang.NullPointerException error while delteing and adding new data inms access DB-pls guide me to solve Pin
jschell28-Aug-11 8:08
jschell28-Aug-11 8:08 
QuestionComputer talks to u Pin
Had12327-Aug-11 5:48
Had12327-Aug-11 5:48 
AnswerRe: Computer talks to u Pin
Smithers-Jones27-Aug-11 23:48
Smithers-Jones27-Aug-11 23:48 
QuestionGetting the lowest values in one array, and then counting them. Pin
Tor Danielsen25-Aug-11 7:27
Tor Danielsen25-Aug-11 7:27 
AnswerRe: Getting the lowest values in one array, and then counting them. Pin
AspDotNetDev25-Aug-11 8:46
protectorAspDotNetDev25-Aug-11 8:46 
GeneralRe: Getting the lowest values in one array, and then counting them. Pin
Tor Danielsen25-Aug-11 10:25
Tor Danielsen25-Aug-11 10:25 
Questionsound in java Pin
Mhmud emam24-Aug-11 19:48
Mhmud emam24-Aug-11 19:48 
AnswerRe: sound in java Pin
Firo Atrum Ventus24-Aug-11 19:55
Firo Atrum Ventus24-Aug-11 19:55 
QuestionCPU usage per process Pin
kartikdasani22-Aug-11 1:42
kartikdasani22-Aug-11 1:42 
AnswerRe: CPU usage per process Pin
Richard MacCutchan22-Aug-11 2:20
mveRichard MacCutchan22-Aug-11 2:20 
AnswerRe: CPU usage per process Pin
jschell22-Aug-11 9:33
jschell22-Aug-11 9:33 
GeneralRe: CPU usage per process Pin
David Skelly22-Aug-11 22:01
David Skelly22-Aug-11 22:01 
Questionstegnography in java Pin
ROHIT_BHATIA21-Aug-11 8:00
ROHIT_BHATIA21-Aug-11 8:00 

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.