devxlogo

Tip Bank

Adding a Component to a JTable

Question: How do I add a JButton to the cells of a JTable? Answer: Using the Swing JTable class can become a sticky business when you want to customize it

External JavaScripts

Question: Can a script be placed in an external JavaScript file so it doesn’t have to be placed on all 200 pages of our Web site? Answer: Yes, as long

Capturing Search Engine Results

Question: I would like to have a page that allows a user to conduct a search. I would like the action of the search to be an ASP page that

JavaScript On or Off?

When using JavaScript in your Web pages, you should keep in mind that a user’s browser might not support JavaScript. This could either be because the browser is old or

Cursors Ready

Using JavaScript, you can set up a form such that when the Web page is loaded the cursor is in the text box. This functionality avoids making the user click

Namespace std May Not Be Modified

Generally, namespaces are open so it is perfectly legal to expand existing namespaces with additional declarations and definitions in several files. The only exception to the rule is namespace std.

JavaScript Debugger or Development Environment

If you’re looking for a development environment for JavaScript, JavaScript debuggers are available as a free download from both Microsoft and Netscape. The feature set of the two products is