• Post Reply Bookmark Topic Watch Topic
  • New Topic

Issue with Listener  RSS feed

 
Hareendranath Babu Kotha
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello ,

i am new to Swing Programming. I am facing a problem in providing listener for my JPanel . My panel consists of nearly 30 TextFields and 4 ComboBox Components , I am having a requirement in such a way that what ever the change that is going to happen in the panel components it should be listened by one listener. can you suggest me any idea of which kind of listener will fulfill my requirement ?

Thanks in Advance,
Regards,
Hari.K
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if the comboBoxes are editable,
DocumentListener for the textfields and the comboBox editor components
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!