Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Should ChangeListener/ChangeEvent be more top-level?  RSS feed

 
Steven Ostrowski
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It seems to me that javax.swing.event classes ChangeListener and ChangeEvent should be at a more general and top-level package of the Java APIs.
Before I submitted a feature request on that, I wanted to see what other people think.
Nowhere do they have any dependencies on Swing, and their functionality can apply to many different things. However, it looks bad to add an import statement of javax.swing.event when your class has nothing to do with Swing.
Agreements or disagreements?
Thanks
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!