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

Nested Event Listener for Java  RSS feed

 
Jacky Luk
Ranch Hand
Posts: 634
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, I have no time to prepare a SSCCE.
So hope you can take a quick glance for me
In this example, the table create sales dialog pops up twice, where I just need to use
it once. Any ideas?
Thanks
Jack
 
m Korbel
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1. DocumentListener instead of KeyListener

2. ListSelectionListener with setting for ListSelectionMode instead of MouseListener
 
Rob Camick
Ranch Hand
Posts: 2800
15
  • Likes 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, I have no time to prepare a SSCCE.


Then I guess the question isn't that important to you.

You didn't post a SSCCE in these questions either:

http://www.coderanch.com/t/623432/GUI/java/retrieve-values-JFormattedTextField-mask
http://www.coderanch.com/t/623334/GUI/java/Event-Driven-Queries

And you rarely have the time to even respond or thank people when you do get help.

So why do you think we should waste time guessing what you might be doing wrong when you don't appreciate the time we spend helping you???
 
m Korbel
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
aaach very good point by @camickr
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!