Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Using EventListenerList for non gui

Reply
Thread Tools

Using EventListenerList for non gui

 
 
-
Guest
Posts: n/a
 
      07-23-2005
For my non gui classes, instead of using a collection to store my
listeners, I am using the EventListenerList class from the
javax.swing.event package.

Is that a good idea? I read that it's not a good idea to mix gui
classes with non gui's.
 
Reply With Quote
 
 
 
 
jan V
Guest
Posts: n/a
 
      07-23-2005

"-" <> wrote in message news:...
> For my non gui classes, instead of using a collection to store my
> listeners, I am using the EventListenerList class from the
> javax.swing.event package.
>
> Is that a good idea? I read that it's not a good idea to mix gui
> classes with non gui's.


EventListenerList isn't really Swing-specific, apart from its chosen
package. So it should be fine... unless I'm missing something.


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
With non-risk and non-misgiving to gain cheap obscene DVD video or clips! (Non-Mask, Only cost 6 $ / per disc) huglig Computer Support 0 10-09-2007 01:42 AM
With non-risk and non-misgiving to gain cheap obscene DVD video or clips! (Non-Mask, Only cost 6 $ / per disc) huglig DVD Video 2 10-06-2007 02:30 PM
EventListenerList.remove parameters - Java 1 08-01-2005 02:04 AM
UsingUsing EventListenerList for non gui object listening - Java 0 07-19-2005 12:21 AM
GUI and non-GUI data Hal Fulton Ruby 1 08-05-2004 08:42 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57