peter chong

Greenhorn
+ Follow
since Mar 08, 2003
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 peter chong

Dear all,
I have try on the Deitel 4/e RTPServer,RTPServerTest and SimplePlayer.
It worked when I transmit live voice from microphone in RTPServer
Application of PC 1 to PC 2 which received the voice through
headphone/speaker.
But when I converted the client Application to a client Applet , the voice
can't transmit to client applet.
From the file named .plugin141_05.trace, I saw the following log message
When I run the applet in PC 2)
MediaNode event thread java.lang.InterruptedException
java.lang.ArrayIndexOutOfBoundsException: 0>=0
....
java.lang.InterruptedException
.....
.....
Please help me. Many thanks.
Regards,
Chong

Hi! Java citizens,
How to enable the Java 2 Applets to communicate with VB Application?
This is a client-server application which involved VB, since the
existing application is written in VB.Any help is much appreciated...

Regards,
Peter.
20 years ago
Dear All,
Now,I am attempting to build a client-server program where the server application is a normal java GUI application, while the clients are applets.
Is it possible to done this type of program, where applets communicate
with application? If yes, please gives me some guidelines or sample code
on how to do this?
Many thanks.
Yours sincerely,
Peter
20 years ago
Dear all,
I have some problems about how to plug-in the applet support for IE browser:
Question:
I have installed the Java 2 SDK SE v1.4.1 in my pc. Hence,I can view the
applet that I have developed. But how do I share my applet with others
who don't have the applet support in their IE Browser? Where can they get the plug-in?
Many Thanks.
Regards,
YJChong
20 years ago
Dear all,
I am attempting to develop a socket application which transmit voice
from one PC 's microphone to another PC 's speaker.Anyone
know how to do this in Java.If someone can provide me guideline or
sample code, I would be much appreciate, since the deadline is tight, only
3 days ->06-10-2003.
You can mail me at helloworld_my@yahoo.com
Thanks in advance.
yjchong
Congratulation.
Next Plan?
Regards,
Peter - Sun Certified Java Programmer Platform 1.4
20 years ago
Congratulation.Good work.
20 years ago
Bert,
I have taken about three weeks to study the whole
book from chap 1 to chap 9.When I faced doubt to
questions at the back of the chapter, I always
try to prompt the answer in my PC and use the
forum as mean to help me for further understanding.
Currently, I am planned for SCJD in next few months later.I am not well verse in RMI and some
technologies.Should I buy a new book for each
technology or any other alternative to pick
up the technologies like JDBC,Swing,RMI....etc
which is essential for the Developer assignment.
How depth should know about each technology,e.g
JDBC.
Any suggestion are welcome. Many thanks.
"Strive to become a better Java citizen."
20 years ago
Hi All,
I have passed my Java Exam yesterday.
The result is delighting me(62%),since I expect it
to be passed only as I prepared it in a short time.Anyway, I would like to sharpen my skill
and knowledge from time to time.
Here,I would like to say "thank you Javaranch" and "thank you for Kathy and Bert who have produced a good book."
Regards,
Peter
Sun Java Certified Programmer(1.4 platform)
20 years ago
Q12 Chap 1 Pg49
public class test{
public static void main(String []args){
byte [][] big = new byte[7][7];
byte [][]b=new byte[2][1];
byte b3=5;
byte b2[][][][]=new byte [2][3][1][2];
//line of code to be inserted.Answer is A,B,E,F
}
}
A.b2[0][1]=b;
B.b[0][0]=b3;
C.b2[1][1][0]=b[0][0];
D.b2[1][2][0]=b;
E.b2[0][1][0][0]=b[0][0];
F.b2[0][1]=big;
I have go through the answer 's explaination,
but can't understand how to get the solution.
Apart from that,I have also refer to diagram in Fig 1-7 Pg31,but still confused.
Can someone please enlighten me,many thanks.
Goodday!
I have some doubts about
Question 1:
As we know interface method is implicitly public
abstract.How about the interface declaration?
sample:
public abstract interface Rollable{}
From Kathy Book page 115 chap2, it
stated that the interface is implicitly abstract.
Fact A:
Later, it stated that "The public modifier is required if you want the interface to have public rather than default access."
End Fact A
Fact B:
But at the end of the chapter, Pg 133
Interface implementation section:
"Interface are by default public and abstract-
explicit declaration of these modifiers is optional"
End Fact B
What is the default modifiers for interface and
what is modifier allowed to change the default access,e.g rivate,protected or default access.
Please enlighten me!
Thanks.