
Interplatform Networking
Question: I want to connect a Java client program to a C/C++ server applicationusing sockets. What is the easiest way of doing this? Answer: Java provides the ability to write

Question: I want to connect a Java client program to a C/C++ server applicationusing sockets. What is the easiest way of doing this? Answer: Java provides the ability to write

Question: Is it possible to have a trigger invoke code in a running application (either via a register-notify type of thing or by calling entry points of a DLL or…)?

Question: How do I write a Java program that generates random numbers withinlimits, such as 1 to 100, or 1 to 1000? Answer: The java.util package includes a Random class

Question: I have been looking everywhere for information on HashMaps,particularly how to put one hash map into another HashMap. Answer: This is where the expression RTFM (Read That Fine Manual)

Question: I have written an applet which uses a Graphics object to draw movingcircles. However, when multiple threads accesses the same Graphics object,the circles disappear after being on screen for

Question: I need to extend class A which resides in a different package, butclass A has only one constructor which is package protected. I get a compile error in class

Question: Is there a significant speed advantage to using Hashtables over Vectors? Answer: The answer depends on how you are using those containers classes. Ifyou are only using them for

Question: I’m building an application that has several different frames. Eachhas a button that when pressed should bring up a new frame and closethe calling frame. How can I display