• Post Reply Bookmark Topic Watch Topic
  • New Topic

setEnabled Problem  RSS feed

 
Rohan Kalbhor
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I am using a button in swing which is initially disabled


then , when another method is called i am trying to enable it

method()
{
j1.setEnabled(true);
}

But this is not working...Am i doing it wrong?

Please help.
 
Rohan Kalbhor
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


I am reading the file and firing a a method if a condition is satisfied,this methos enables a button whihch is priorly disabled
but it is not happening
please hellp
[ January 29, 2008: Message edited by: Rohan Kalbhor ]
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!