Ok, so where's the FM?



I wish to deflect future RTFM responses.

Please don't point me to the java API specifications; I know where
that is, and it doesn't constitute as an FM; it's messy and there's no
easy way to find exactly what you need, unless you happen to know the
exact right terminology.

I already have a java.awt.Frame (i.e. "public SomeWindow extends
Frame") written up, and have two issues in particular with it:
1. I have no idea how to detect events. In particular, I need to
detect button clicks on a particular area of the canvas.
2. It's impossible to close the GUI by the X button in the top left-
hand corner of the window.

Knowing this, can anyone point me to a tutorial/manual/reference that
has the information I need?

.


Quantcast