Tip Bank

DevX - Software Development Resource

Returning the Root Drives

Question: Can you tell me how to get the root drives on a system? Answer: The 1.0 and 1.1 version of the Java APIs did not include a means ofdetermining

DevX - Software Development Resource

Displaying a Record Number for a Table

Question: I use an InterBase database with an alias made in BDE. I want to display the record number for a table when I navigate through the records. Your solution

DevX - Software Development Resource

Select Stored Procedures in MS SQL 7

Question: How do I access an MS SQL 7 Stored Procedure that returns a multi-row Dataset through Delphi 3? InterBase allows selecting from a Stored Procedure. MS SQL 7 only

DevX - Software Development Resource

Resizing JTable Cells

Question: How can I create cells in a JTable that span multiple rows/columns,as you can do in HTML with the rowspan/colspan tags? Answer: To the best of my knowledge, it

DevX - Software Development Resource

Determining Memory Usage

Question: Is there a way to determine the percentage of CPU usage or RAM usagewithin a Java application? Answer: Java does not provide an API for determining CPU usage, but

DevX - Software Development Resource

Java History

Question: I just want to know where Java came from. Can you give me a history of this language? Answer: I can give you a brief history. Java started out

DevX - Software Development Resource

Window Resize Event

Question: How can I detect that a window has been resized?I can detect events such as WindowIconified,WindowDeiconified, WindowOpening, WindowClosing, etc., but not the resize event. Answer: Figuring out how to

DevX - Software Development Resource

SQL Query Optimizing Tips

Question: I just wanted to know if you could share some techniques on how to optimize SQL queries (for example, inner join first before performing some steps, do not use

DevX - Software Development Resource

Conditional Semaphores

Question: I am trying to create a queue that will be emptied by multiple threads simultaneously. In C/C++ this requires the use of a conditional semaphore to signal that the