Tip Bank

DevX - Software Development Resource

How to Add Tooltips Using JavaScript

By utilizing the CLASS attribute, you can assign the same set of style definitions to each tooltip. The basic syntax of the tooltip is as follows: Text to be displayedWhere

DevX - Software Development Resource

Checking the Free Space on a Drive

You can obtain the free space details of each drive by executing this stored procedure: Master..xp_fixeddrivesdrive MB free—– ———–C 1317D 7194E 3930(3 row(s) affected)

DevX - Software Development Resource

Exiting a Nested Loop

Sometimes, you need to exit a nested loop early, and the break; statement will only let you exit one level of a loop. Use a flag to indicate if the

DevX - Software Development Resource

Sorting a String Alpabetically

To Sort a String in alphabetical order instead of ASCII order (i.e A,a,B,b not A….Z,a….z), use the Collator class from the Java.text package.Here

DevX - Software Development Resource

Reading Properties from a File

It’s not too much trouble to read a few arguments from the command line. It really becomes a problem if you have to read 50 or more arguments. One solution