|
I have a listener inside Class A, and I want to pass Class A to my Class B inside the listener. Normally I'd just use this, but then I'd get the event that triggered the listener.
Started by they changed my name on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
After 12 years.)
You can add a reference to class A in the constructor for the listener:
class.
|
|
Hi:
We have two databases on one server and each has a listener and they have same port number 1521. One instance is for grid control ORCLGRD and the other is for portal ORCLPTL. There are problems when they both are up. For example, rman backup failed...
Started by 907485 on
, 13 posts
by 4 people.
Answer Snippets (Read the full thread at oracle):
One instance is for grid control ORCLGRD and the other: TNS:listener does not currently know of service requested in connect descripto), or can't login grid won't work because the port number....
A listener and they have same port number 1521.
|
Set html into |
Ask your Facebook Friends
|
I need to write an arrow listener for my JTextField. if a try with:
public void keyTyped(KeyEvent e) { if (e.getKeyCode() == KeyEvent.VK_DOWN) { } } ...
This is not good.( I think that JTextField is not responding to a special key listener.)
Started by artaxerxe on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Arrow keys.
In your Listener, use keyPressed .
AddKeyListener method provided for every java.awt.Component.
|
|
We're using JBoss 4.22 with portlets. When the listener tag is not in the web.xml the portlet loads, but the listener sessionDestroyed() is never called (obviously). When added the portlet isn't loaded, and there aren't any exceptions or log messages....
Started by Adam on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
:)
Is your listener node, servlets, servlet-mappings, session....
Then the unbound() is called when the session invalidates.
A solution is to use an HttpSession**Binding**Listener and adding the class as an attribute to the session.
Available.
|
|
How do I set up a listener in Silverlight to listen for a javascript event thrown from the host web page?
Started by Dan on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
I will be glad....
If it does not answer your question, just ask a follow up .
Please review the card.
This reference card can be found here: http://refcardz.dzone.com/announcements/silverlight2.
Hello,
I have a free reference card that can help with this .
|
|
Is there a better way to have a listener on a java collection than wrap it in a class implementing the observer pattern ?
Started by wj on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
I'm not aware of any "real" Collection implementations with builtin listener/observer.
A DefaultListModel.
|
|
In the javadoc it says that EventListener is
"A tagging interface that all event listener interfaces must extend."
Why is that? What's the significance of making a custom listener implement EventListner? Is there any special handling for EventListner ...
Started by Ran Biron on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
It makes the purpose of the interface much not recognise the event if extends EventListener is missing from the Listener..
To use it on my own event listener interfaces as well, though.
|
|
Hi all,
I'm configuring data guard. I want to register the local_listener parameter with two tnsnames: tnsname1 and tnsname2 .
I use `ALTER SYSTEM SET LOCAL_LISTENER='tnsname1','tnsname2';
but it doesn't work. Can anyone help me?
Thanks
Started by Sarith on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at serverfault):
ALTER SYSTEM SET LOCAL_LISTENER='tnsname1';
Then in the tnsnames.ora file configure two listeners SYSTEM SET REMOTE_LISTENER='tnsname2';
tnsname2 = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST exactly what you're trying to do ....
|
|
How do I remove the 'bounds_changed' Event listener in Google Maps API v3 ?
google.maps.event.removeListener(_???_);
Started by mp_ on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
That's because.
As Andrew said, addListener returns a handle which you can use later to remove the listener.
|