This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

if jtab properties disabled,can we get the changes  RSS feed

 
pramod reddy
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am new to Swing framework.my problem is, in jtab if we disable the properties, then can we get the changes which are made to the jtab's ?
help me



cheers........
 
surez govindaraj
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey, Can you please make your question clear?
 
pramod reddy
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in this program , i set jtb.setEnabledAt(2, false) ,now my question is can we make any changes to the title i.e ( 2-tab) without enable it as true?
if we run this program we get the text colour in red for titles, except ( 2-tab).i want it to get the same text color but without enabling it for true

 
Rob Spoor
Sheriff
Posts: 21092
85
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please UseCodeTags next time. I've added them for you this time, and see how much easier it is to read your code.
 
pramod reddy
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your valuable suggestions and thanks for putting CodeTags...
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if the purpose of disabling tab2 is to prevent changes to the textArea on tab2,
have you tried just setting that textArea's editable to false
 
pramod reddy
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Michael Dunn for your suggestion. i will go through iin that way.

cheers...
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!