Tip Bank

DevX - Software Development Resource

Object passing between threads

Question: Am implementing a network simulation program thatrequires a sender and receiver thread, with a frame object being passed between the two threads.Could you suggest a way of connecting the

DevX - Software Development Resource

Cross-platform socket communication

Question: I am writing a server written in Java that needs to take input from a game written in Visual Basic and sends the output to clients on the Internet.

DevX - Software Development Resource

Java and videoconferencing

Question: I am conducting a study of operating system capabilities to support desktop videoconferencing.Would Java be a good Operating System for this purpose? Answer: Java itself is not an operating

DevX - Software Development Resource

Coming Events

If you are extending an AWT Component, such as a Canvas to write your own control, then you will probably want it to trigger events that the super class does

DevX - Software Development Resource

Overloading postfix and prefix ++

For primitive types the C++ language distinguishes between ++x; and x++; as well as between –x; and x–;For objects requiring a distinction between prefix and postfix overloaded operators, the following

DevX - Software Development Resource

Assignment operator is not inherited

Unlike ordinary base class member functions, assignment operator is not inherited. It may be re-defined by the implementer of the derived class or else it is automatically synthesized by the

DevX - Software Development Resource

Tame Truncated Text

You may notice that the first or last character in a Label’s text can get partially chopped off by some implementations of the Java Virtual Machine. Older versions of browsers

DevX - Software Development Resource

Manage the Margins

LayoutManagers control the locations of AWT Components, such as Labels, Buttons and TextFields within Containers, such as Frames, Applets and Panels. Some of the five LayoutManagers included with Java 1.1

DevX - Software Development Resource

String arrays and pointers in C++

Question: I declared a string array, char *cities[15];, to hold the names of 15 cities. I want to allow the user to enter the 15 cities, but I do not