devxlogo

August 10, 1999

Capturing KeyEvents

Question: How can I capture KeyEvents in a Frame that doesn’thave any TextFields or TextAreas? Answer: To enable a particular AWTEvent in a Component it suffices to add alistener for

Use Strict Type Variables

If you want to improve performance of your application then you should always try to use strict type variables. You can use strict type (or strongly typed) variables by referencing

Control Transaction Rollback

If a run-time statement error (such as a constraint violation) occurs in a batch, the default behavior in SQL Server is to roll back only the statement that generated the