Tip Bank

DevX - Software Development Resource

Debug Problems in Your GridBagLayout Code

The GridBagLayout is a flexible layout manager, but is also notoriously difficult to use. Some of the most common and difficult to debug problems occur when the amount of space

DevX - Software Development Resource

Use Full-Screen Mode in Visual InterDev 6

Giving yourself enough elbow room to design Web pages can be difficult inside the Visual InterDev environment. However, there’s a little-known feature that greatly expands your screen real estate. Full

DevX - Software Development Resource

Uses of Reverse Iterators

Reverse iterators are ordinary iterators except that they invert the semantic of the overloaded ++ and — operators. They are useful when the elements of a container are accessed in

DevX - Software Development Resource

JavaScript Include Files?

Question: I have JavaScript functions that I’m using in different pages. Is there a way to do a C/C++ type include so I don’t have to replicate the JavaScript code

DevX - Software Development Resource

Optimize SQL Using “Show Statistics”

The new and improved showplan in SQL 7 is certainly prettier and easier to understand than the previous version. However, a better method of focusing on trouble spots is using

DevX - Software Development Resource

Redirect System.out and System.err

A crude but common way of debugging Java programs is to use the public System.out and/or System.err instances of PrintStream to display information: System.out.println(“Entering section A of my code”); One

DevX - Software Development Resource

The Role of Sequence Adaptors

A sequence adaptor is a container built upon another container that modifies its interface. For example, the container stack is usually implemented as a deque, whose non-stack operations are hidden.

DevX - Software Development Resource

std::string and Reference Counting

The Standard’s specification of class std::string is formulated to allow a reference counted implementation. However, this is not a requirement. A reference counted implementation must have the same semantics as