Top "Listener" questions

An object that reacts to an event that it is 'listening' for.

How to properly stop the Thread in Java?

I need a solution to properly stop the thread in Java. I have IndexProcessorclass which implements the Runnable interface: public …

java multithreading listener
Oracle client ORA-12541: TNS:no listener

I am new on Oracle database, but I have one issue. On my Database server (server1) listener and database instance …

oracle listener
Fling gesture detection on grid layout

I want to get fling gesture detection working in my Android application. What I have is a GridLayout that contains 9 …

android listener gesture-recognition
Value Change Listener to JTextField

I want the message box to appear immediately after the user changes the value in the textfield. Currently, I need …

java swing listener jtextfield documentlistener
Android OnClickListener - identify a button

I have the activity: public class Mtest extends Activity { Button b1; Button b2; public void onCreate(Bundle savedInstanceState) { ... b1 = (Button) …

android events resources listener
How to click or tap on a TextView text

I know this is so easy (doh...) but I am looking for a way to run a method on tapping …

android onclick listener textview
TNS-12505: TNS:listener does not currently know of SID given in connect descriptor

I'm trying to connect to Oracle 10.2.0 from NetBeans, using the following connection string: jdbc:oracle:thin:@localhost:1521:XE The weirdest …

oracle jdbc listener tnsnames
Create a custom event in Java

I want to do something like this in Java but I don't know the way: When event "object 1 say 'hello'" …

java events listener handler
Counting Chars in EditText Changed Listener

In my project I have an EditText. I want to count the characters in the EditText, and show that number …

android listener android-edittext onchange
JavaScript: remove event listener

I'm trying to remove an event listener inside of a listener definition: canvas.addEventListener('click', function(event) { click++; if(click == 50) { // …

javascript events event-handling listener