john klucas

Greenhorn
+ Follow
since Jul 31, 2001
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by john klucas

i will really appreciate if any one answers to my question.
i did post it twice, bcoz there was no reply.
Anyway soory for posting it twice.]
Can any one answer please.
Urgent please.
23 years ago
Can any one tell me, what i have to do if the String Object holds data more than 20-22MB of data.
The string object holds that much of data and then the same data have to be displayed in a text area.
i am doing something like this:
private void doReadFile(BufferedReader fileReader) {
String strial = "";
String s = "";
try{
if(fileReader != null)
{
ivjTextArea1.append("One Moment Please.....");
while ((s=fileReader.readLine()) != null)
{
temptrial.append(s+"\n");
}
strial = temptrial.toString();
ivjTextArea1.setText(temptrial.toString());
fileReader.close();
}
} catch(Throwable exception){
handleException(exception);
}
}
23 years ago
Can any one tell me, what i have to do if the String Object holds data more than 20-22MB of data.
The string object holds that much of data and then the same data have to be displayed in a text area.
i am doing something like this:

private void doReadFile(BufferedReader fileReader) {
String strial = "";
String s = "";
try{
if(fileReader != null)
{
ivjTextArea1.append("One Moment Please.....");
while ((s=fileReader.readLine()) != null)
{
temptrial.append(s+"\n");
}
strial = temptrial.toString();
ivjTextArea1.setText(temptrial.toString());
fileReader.close();
}
} catch(Throwable exception){
handleException(exception);
}
}
23 years ago
I want to have FileDialog which will be displayed when user clicks on a save button.
when the file dialog is displayed the file should be written to seletecd folder.
Can any one show me how to do that?
I will appreciate it!
23 years ago
Hey thanx a lot. I got that stuff working. But how do i clear the progress bar, i mean when i want to upload another file i want that progress bar to go from 0% to 100% again.
Right now it only works when i do it first time and it shows 100%. How will reset that.
Thanx in advance!
23 years ago
I am reading a file and displaying it in a text area. I want to show a JprogressBar which will update accordingly while the file is getting load.
Can anyone help me out??
will appreciate it!
23 years ago
Hi ali,
hey can you show me how u r using ur Jprogressbar1.
I will appreciate it!
JL
23 years ago
I have mentioned the full path :
Runtime R = Runtime.getRuntime();

R.exec("d:\\ActivePerl\\bin\\perl rscdetail2.pl " + contract_number+" "+member_id+" "+start_date+" "+end_date);
I used Visual age Debugger and checked the value it generates from this -- "d:\\ActivePerl\\bin\\perl rscdetail2.pl "+ contract_number+" "+member_id+" "+start_date+" "+end_date
i guess its generating a correct path to look up for rscdetail2.pl but for some reason it's not understanding R.exec() ???
Does it have to do anything with Active perl for windows platform.
23 years ago
i am new to perl world, so can u please elaborate on that.
I am using Visual Age for java and Active Perl for windows platform.
23 years ago
Hi sean,
Can u please elaborate on this. I am novice to perl so can u please explain about what u said..? how do u call a perl program from command line..
i am running that perl program on WIN32 platform. I am using Active perl for win32.
I want to take input from the front end(java application)and pass those values to the perl program to do some processing.

Thanks in advance!
23 years ago
Hi sean,
Can u please elaborate on this. I am novice to perl so can u please explain about what u said..? how do u call a perl program from command line..
i am running that perl program on WIN32 platform. I am using Active perl for win32.
I want to take input from the front end(java application)and pass those values to the perl program to do some processing.

Thanks in advance!
23 years ago
I have a stand alone application which take the inputs from the user. i have a perl program which works fine on its own.
But is there any way where i can take the inputs from that stand alone java application and pass the inputs to this perl program to do some processing?
23 years ago
I have a stand alone application which take the inputs from the user. i have a perl program which works fine on its own.
But is there any way where i can take the inputs from that stand alone java application and pass the inputs to this perl program to do some processing?
23 years ago
I have a stand alone application which take the inputs from the user. i have a perl program which works fine on its own.
But is there any way where i can take the inputs from that stand alone java application and pass the inputs to this perl program to do some processing?
23 years ago
i have two drop down menus. one is the parent menu and the other is a child drop
down menu.
the child drop down menu listing should change whenver the parent entry change.
To make thing more clear-
Eg;
suppose parent drop down menu has two listing:
Hardware
Software
and child drop down menu has following thigs:
Hard disk
VB
Memory
Oracle
so whenever users selects --Hardware-- from the parent menu
childmenu shld have only two things in it
Hard disk and Memory
how can u have this kind of functionality in awt.(plain java)
23 years ago