devxlogo

Tip Bank

Configuring the Default ASP.NET Version

Suppose you want to set up a virtual directory on a machine that has both .NET 1.1 and .NET 2.0 installed. In this case, the machine will use the ASP.NET

Stop and Start Tomcat Directly from Ant

This simple tip shows you how to stop and start the Tomcat server directly from an Ant script on the Windows system. Here are the two targets to do so:

Paint Event Not Called During Form Resize

Many of us write common graphics code in the Form’s Paint event because the Paint Event handler provides access to the Graphics object, and also because this handler is fired

Mapping a Component in Hibernate

A “component” in Hibernate is an object persisted as a value, not an entity reference. For example, suppose you have a Car class, like this: //class Carpublic class Car {

Use the UseWaitCursor Property to Change Cursors

The System.Windows.Form class’s UseWaitCursor property sets the window’s cursor to an hourglass. It is a Boolean property. The Application class also contains a UseWaitCursor property, which sets the UseWaitCursor property