[4316] in java-interest
Questions on mouse events and other misc stuff
daemon@ATHENA.MIT.EDU (Laurent Duperval)
Sat Dec 16 01:08:13 1995
From: laurent@Grafnetix.COM (Laurent Duperval)
Date: Thu, 14 Dec 1995 17:11:59 -0500
To: java-interest@java.sun.com
Hello,
I'm trying to implement a class which will allow me to simulate Drag and Drop.
I've decided to use the panel because it seems to be the most general
Container. I can basically add what I want to it which suits me fine. If I'm
wrong, please let me know, I'd be interested in your input.
There's one thing I don't understand though. How can I have a panel
containing, say, a Graphics object, a button and a label respond to mouse
events? In other words, how can I force a Container (in this case my Panel)
to respond to events instead of its components responding?
Another question is, how can I put a border around a label? For that matter,
how can I put a border around any graphical component i.e. button, frame,
panel, etc.?
I'm finally getting the hang of this.
--
Laurent Duperval, Systems Analyst Grafnetix Systems Inc.
Tel: (514) 861-3389 777, de la Commune Ouest
Fax: (514) 866-6206 Suite 101, Montreal, Qc
Laurent@Grafnetix.COM Canada, H3C 1Y1
URL: http://www.grafnetix.COM
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com