The Color Constructor
When you construct a Color object in Java, you can supply the arguments in three ways. The most familiar way is to provide three int values each in the range
When you construct a Color object in Java, you can supply the arguments in three ways. The most familiar way is to provide three int values each in the range
One of the most common mistakes that most less-experienced Java programmers make is the unnecessary copying of immutable objects. The problem is compounded by the fact that it is not
The Visual J++ Form Designer allows you to both anchor and dock controls on a form. When a control is anchored to an edge of its container, the distance between
Sometimes it is useful to be able to capture the output from a stack dump, redirect it to a string, and then, perhaps, to a window. Here is an example
Sometimes you write an applet that depends on a Microsoft Internet Explorer-specific extension which is not common to all browsers. How do you find out if the browser that’s running
Instead of creating a GridControl to retrieve row and column data from a table into a hash table, use a variant, as shown: variant = new Variant();for (row2get=0; row2get <
Developers should realize that only a few optimizations are supported by most Java compilers. That most Java compilers do little when it comes to optimizing code may be surprising, but
Println statements are very useful for debugging applications, but do you view the output when an applet is running in the debugger? By default, when you create a Visual J++