kanika dua

Greenhorn
+ Follow
since Apr 17, 2002
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by kanika dua

Thanks Irene.. I appreciate your reply and yes thats one way to achieve what I was trying to do. But I am still curious to know if we could do the following:
int[] arr = {1,2};
String str = "arr"+"[0]"; System.out.println(str);
and get the actual value stored in the array.
21 years ago
I am sorry for not posting the code earlier. I haven't still written the entire code but just this module-

Here I want to print the inventory values for the month which is in turn input by the user. This code prints...jan[1] jan[2]..and not the actual values of the jan array.
Thanks
[ June 05, 2002: Message edited by: Dirk Schreckmann ]
21 years ago
I am building the name of the array dynamically from a user input(not showed in the code here). So till the user input is given I wouldn't know which array values I have to print.
21 years ago
How can I print values stored in the array in this program. I am building the name of the array and storing as a string-

Thanks for any help!!
[ June 04, 2002: Message edited by: Dirk Schreckmann ]
21 years ago
I am trying to execute an external program-
net2phone(Its a freeware to make PC to Phone calls) from a java program.
public class TestExec {
public static void main(String[] args) throws Exception {
Process p = Runtime.getRuntime().exec(
"\"C:/Program Files/Net2Phone CommCenter/CommCtr.exe\"");
p.waitFor();
}
}
I want to use something similar to sendKeys in VB to send the number to be dialed automatically via the script. Can somebody help me with this or if any other command is available in java to accomplish this-
Thanks
21 years ago