• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Issue with JTabbed Pane

 
Rohit Kedia
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
I am facing a peculiar Issue.
at the time of clicking a button I am disabling the TabbedPanes.

The Panes are getting disabled but the current selected tab and other Tabs display is not getting effected,.
untitled.jpg
[Thumbnail for untitled.jpg]
 
Rob Spoor
Sheriff
Pie
Posts: 20527
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you show us the code that does the disabling?
 
Rohit Kedia
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Rob Prime wrote:Can you show us the code that does the disabling?





on every button click I am invoking this method after my operation is finished I am again calling this method to enable all components again
 
Rohit Kedia
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please Help me .... on this ....
 
Rob Camick
Ranch Hand
Posts: 2580
9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Post your SSCCE.
 
Peter Taucher
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The code below seems to work in the predicted way:

As Rob mentioned, a SSCCE would be great. Or at least you could TellTheDetails. I don't understand what you mean with 'but the current selected tab and other Tabs display is not getting effected' ... in which way should they be affected and what exactly does it mean that they are not 'affected'? Without crystall ball it's hard nowadays...
 
Rohit Kedia
Ranch Hand
Posts: 79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
This is exactly what I wanted ... everytime when you are disabling the Tabs it is getting disabled and the Text written on the Tabs are also showing in a disabled form(like embedded), , I was having problem in implementing this only.

Thanks a Billion....

I must admit I have never seen so active & helpfull peoples like you all are ...
Hope you see a brighter future....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic