File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
create customised listener
Joined: Jul 11, 2009
Jul 27, 2010 11:41:27
I want to create a customized listener in
, I explain as follow
I have a class A which has a property "name" as
type ,when the value of "name" is changed some method should be called.
So I want a listener to listen and catch the value change,How It can be done?
Joined: Apr 09, 2009
Jul 27, 2010 12:21:18
Can you post your class so we can see?
Joined: Oct 27, 2005
Jul 27, 2010 12:37:46
Seems like a PropertyChangeListener would do. You can even use PropertyChangeSupport to do all the hard work for you.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions
How To Answer Questions
I agree. Here's the link:
subject: create customised listener
in spring framework,Is it mandatory to have a “dispatch servlet name –servlet “ file?
POST and Servlet
Load the beanrefContext.xml in web Application
using field value
How to create user defined and customized call back method in core java?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014