Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

jtextfield ,,but i cant write in them !!!  RSS feed

 
Maha Hassan
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have jtextfield in jpanels in jscrollpanes in java dialogs ..BUT!!! i cant edit them or even select them ..i am sure that they are enabled ...but i still cant write in them ...is something missing

as i said ..i added the jtextfield in a jpanel in jscrolpane in jdialog
and i cant select the jtextfield
 
Pat Hays
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try

--------
jTextField1.setEditable(true);
 
Maha Hassan
Ranch Hand
Posts: 133
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!