Click here to Skip to main content
16,005,138 members
Home / Discussions / Java
   

Java

 
QuestionHow to open MSWORD using JAVA/JNI and write the database entries into WORD file Pin
rajeshms21-Apr-08 1:10
rajeshms21-Apr-08 1:10 
GeneralRe: How to open MSWORD using JAVA/JNI and write the database entries into WORD file Pin
Mogaambo27-Apr-08 20:24
Mogaambo27-Apr-08 20:24 
QuestionException as--> can't get terminal-InvalidArgumentException Pin
raaani17-Apr-08 1:12
raaani17-Apr-08 1:12 
QuestionReg:display of UP and DOWN arrows Pin
Sony Sree16-Apr-08 0:27
Sony Sree16-Apr-08 0:27 
GeneralUtilities for Java enabled mobiles [modified] Pin
Sandeep_Vaniya8-Apr-08 20:46
Sandeep_Vaniya8-Apr-08 20:46 
Generalscroll lock key status in javascript? [modified] Pin
murali_utr2-Aug-06 23:51
murali_utr2-Aug-06 23:51 
JokeRe: scroll lock key status in javascript? Pin
Mark II22-Apr-07 23:20
Mark II22-Apr-07 23:20 
Generalrunning threads in java Pin
Pinnaple10-May-06 15:39
Pinnaple10-May-06 15:39 
First, I see that java isn't a topic of much discussion. Is there any place on CP that has real articles on java programming?

Onto my question,

I am semi-familiar with threads in java. At least with running a single one.

class whatever implments Runnable{
public void init(){
Thread t=new Thread(this);
t.start(); //starts(obviously) the thread, calling run()
}

public void run(){
//this is where the code in my thread goes
}
}
So what if you want two threads at the same time? Say...Thread t1 and t2. Because I don't see a way of differentiating the different run() functions once t1.start() and t2.start() were called. Any input on how to do this? Thanks

Chris

-- modified at 21:39 Wednesday 10th May, 2006
GeneralRe: running threads in java Pin
jan larsen1-Sep-06 11:53
jan larsen1-Sep-06 11:53 
QuestionHow to create a jar file Pin
Chatura Dilan22-Apr-06 23:37
Chatura Dilan22-Apr-06 23:37 
AnswerRe: How to create a jar file Pin
Al Ortega1-May-06 16:02
Al Ortega1-May-06 16:02 
AnswerRe: How to create a jar file Pin
David Crow25-Oct-06 6:08
David Crow25-Oct-06 6:08 
Generalread file and change the values of each column Pin
rebekahh10-Dec-05 0:21
rebekahh10-Dec-05 0:21 
GeneralRe: read file and change the values of each column Pin
Brian Van Beek20-Dec-05 8:18
Brian Van Beek20-Dec-05 8:18 
QuestionAnyone one know of a table to use in place of JTable? Pin
BrockVnm19-Sep-05 7:30
BrockVnm19-Sep-05 7:30 
AnswerRe: Anyone one know of a table to use in place of JTable? Pin
Fatbuddha 111-Apr-07 22:50
Fatbuddha 111-Apr-07 22:50 
GeneralHurry, hurry Pin
Don Miguel28-Jul-05 21:54
Don Miguel28-Jul-05 21:54 
GeneralRe: Hurry, hurry Pin
Brian Van Beek3-Aug-05 11:57
Brian Van Beek3-Aug-05 11:57 
GeneralRe: Hurry, hurry Pin
jan larsen29-Nov-05 9:55
jan larsen29-Nov-05 9:55 
QuestionClient/Server and maybe Multicast??? Pin
code-frog16-Jul-05 10:08
professionalcode-frog16-Jul-05 10:08 
AnswerRe: Client/Server and maybe Multicast??? Pin
El Corazon16-Jul-05 10:27
El Corazon16-Jul-05 10:27 
GeneralRe: Client/Server and maybe Multicast??? Pin
code-frog16-Jul-05 10:39
professionalcode-frog16-Jul-05 10:39 
GeneralRe: Client/Server and maybe Multicast??? Pin
El Corazon16-Jul-05 10:56
El Corazon16-Jul-05 10:56 
GeneralRe: Client/Server and maybe Multicast??? Pin
code-frog16-Jul-05 11:00
professionalcode-frog16-Jul-05 11:00 
GeneralRe: Client/Server and maybe Multicast??? Pin
El Corazon16-Jul-05 11:49
El Corazon16-Jul-05 11:49 

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.