• Post Reply Bookmark Topic Watch Topic
  • New Topic

ListSelectionListener- button.setEnabled() not working

 
Charles Sexton
Ranch Hand
Posts: 273
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
the butEdit and butRemove are not becoming enabled. The compiler is entering the if statement but after that nothing is happening. Any suggestions or do you want an SSCCE?

 
Charles Sexton
Ranch Hand
Posts: 273
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
SSCCE

 
Charles Sexton
Ranch Hand
Posts: 273
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Again same problem as before, my buttons and scroll pane is declared as an instance variable instead as a field variable.......
 
Charles Sexton
Ranch Hand
Posts: 273
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Charles Sexton wrote:Again same problem as before, my buttons and scroll pane is declared as an instance variable instead as a field variable.......


I am going to stop asking questions that I can solve on my own, I thought that it was more than that!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!