Re: Ok, so where's the FM?
- From: Thomas Kellerer <TAAXADSCBIXW@xxxxxxxxxxxxx>
- Date: Sat, 24 Feb 2007 15:48:48 +0100
Dustan wrote on 24.02.2007 15:02:
I wish to deflect future RTFM responses.
Despite your wish I *will* point you to the tutorial
Please don't point me to the java API specifications; I know whereI don't agree with you on that. I have always found the necessary interfaces in the API docs. Especially if I have a "starting class" to look at, as you have.
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?
I don't have any tutorials on AWT at hand, but if there isn't a really, really good reason to restrict yourself to AWT, I suggest you read the Swing tutorial
http://java.sun.com/docs/books/tutorial/uiswing/index.html
especially:
http://java.sun.com/docs/books/tutorial/uiswing/events/index.html
.
- Follow-Ups:
- Re: Ok, so where's the FM?
- From: Dustan
- Re: Ok, so where's the FM?
- References:
- Ok, so where's the FM?
- From: Dustan
- Ok, so where's the FM?
- Prev by Date: frames from an applet
- Next by Date: Re: frames from an applet
- Previous by thread: Re: Ok, so where's the FM?
- Next by thread: Re: Ok, so where's the FM?
- Index(es):