devxlogo

Tip Bank

Working With Large Files and Data Sets

Question: I am working on a program that uses XML for data archival. This data archive creates XML files in the multi-megabyte range (5 MB – 500 MB and greater).

Designing Custom Components Using Scriptlets

Question: Can I design custom components using scriptlets? Answer: Yep, that’s what they’re for, actually. Scriptlets encompass a number of technologies. With Microsoft Internet Explorer 4.0, for example, scriptlets were

CSS With Multimedia Elements on Page

Question: Is there a way to layer page elements through Cascading Style Sheets (CSS) over an embedded element such as a Shockwave movie? My present page has a sliding graphic

DataGrid

Question: I want to extract data from a specific column in a grid control. When the user selects a record in the grid, I want to take the data from

ProgressMonitor

Question: How do I use the ProgressMonitor class? Answer: The ProgressMonitor class is a convenience class that saves you fromthe hassle of creating your own dialog with a JProgressBar. It

The new Operator

Question: Is it necessary to check return value after a “new” statement?Does it return null when it cannot allocate any more memory? Answer: You do not have to check the

Problems with VB6, Access 2000 and ADO

Question: I am doing a project where VB6 talks to Access 2000 thru ADO. I am using a login dialog to obtain the username, password & DSN (ODBC Data source

File.createTempFile()

Question: I am attempting to use createTempFile and it works fine with JDK 1.2.2,but IE 4 and 5, and Netscape give me the following error: java.lang.NoSuchMethodError: java/io/File: methodcreateTempFile(Ljava/lang/String;Ljava/lang/String;)Ljava/io/File; notfound. Why