May 5, 2004

Return the Absolute File Path of a Class

This code retrieves the local absolute path of the class file containing the specified class name, as prescribed by the current classpath. import;public class FilePath { public static String

Determine Whether a Combobox Is Being Loaded

Say you have a combobox being loaded at form initialization from a database and you have code in the combobox’s SelectedIndexChanged event. This may cause unwanted exceptions: Private Sub LoadComboBox()

Exploring the J2ME Mobile Media APIs

s J2ME gains prominence, the range of things that developers can do with Java on devices is expanding. This month I’ll cover the Mobile Media API (JSR-135), which is an