greptilian logo

IRC log for #friendlyjava, 2016-02-22

##friendlyjava on freenode

| Channels | #friendlyjava index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
03:12 jennyb joined ##friendlyjava
04:12 mr_lou joined ##friendlyjava
07:23 abba joined ##friendlyjava
09:19 HEGX64 joined ##friendlyjava
10:28 abba joined ##friendlyjava
10:30 abba_ joined ##friendlyjava
12:01 CJ_ joined ##friendlyjava
12:02 CJ_ Any thoughts on the best way to attach a listener to an entire swing gui?
12:14 pdurbin CJ_: as opposed to a button. what are you trying to do?
12:15 CJ_ pdurbin, Log all clicks.
12:16 pdurbin oh. hmm. dunno
12:16 CJ_ Exactly. :)
12:17 CJ_ Best I have is a container listener to add itself to all panels and then add click listeners to all buttons.
12:17 CJ_ But there seems like there should be a better way.
12:18 pdurbin you could ask on stackoverflow
12:20 CJ_ Will try.  Thanks.
14:21 pulsar CJ_: AWT Event Thread
14:21 pulsar from what i remember from back then...
14:21 pulsar you could hook into that as a listener
14:21 pulsar LOTS of events though
14:22 CJ_ pulsar, I will look into that.  Thanks.
14:24 pulsar it has been a really long time ago
14:24 pulsar ... but this looks familiar https://docs.oracle.com/javase/7/docs/api/java/awt/Toolkit.html#addAWTEventListener(java.awt.event.AWTEventListener,%20long)
14:28 CJ_ Nice.  Thanks.
15:35 sfisque joined ##friendlyjava
16:11 bluezone joined ##friendlyjava
16:33 mr_lou joined ##friendlyjava
20:23 searchbot joined ##friendlyjava
21:17 sfisque joined ##friendlyjava

| Channels | #friendlyjava index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

##friendlyjava on freenode