Posts

Showing posts from June, 2009

Action Listeners

In my last blog I recorded a dismal failure to hand-code a data connection from within NetBeans, but an eventually successful connection using a hand coded app run from the command line. I therefore resigned myself to learning Swing, so that I could rebuild my Java Math Test by hand. The lessons in the Swing Trail are generally very well written, in sharp contrast to this in the JDBC Trail . Each lesson is illustrated with a mini app, and a link to the complete code is provided early in the lesson, along with a screen shot to the app running, and a JNLP link to run it from within the browser. If you choose to download the code, it compiles and runs without a glitch. My only criticism, or suggestion for an improvement, would be the addition of a few "application" (in the literal sense of the word) lessons, which combine features from different sub-trails. My own particular interest is in combining GridBag layout with Event or Action Listeners . You'd think