devxlogo

February 18, 1998

Speed Swing Setup

In Swing 0.7, and probably later versions as well, the DefaultListModel class notifies its ListDataListeners every time a new element is added to the list model. For very large lists

iostream vs. printf()

C-style I/O is still supported in C++. However, the iostream objects offer 2 advantages over the printf() family: type safety and support for user-defined types. Consider the following example: void