File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes Issue with JTabbed Pane Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Issue with JTabbed Pane" Watch "Issue with JTabbed Pane" New topic
Author

Issue with JTabbed Pane

Rohit Kedia
Ranch Hand

Joined: Apr 24, 2010
Posts: 79
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,.


[Thumbnail for untitled.jpg]

Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19718
    
  20

Can you show us the code that does the disabling?


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Rohit Kedia
Ranch Hand

Joined: Apr 24, 2010
Posts: 79
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

Joined: Apr 24, 2010
Posts: 79
Please Help me .... on this ....
Rob Camick
Ranch Hand

Joined: Jun 13, 2009
Posts: 2200
    
    7
Post your SSCCE.
Peter Taucher
Ranch Hand

Joined: Nov 18, 2006
Posts: 174
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...


Censorship is the younger of two shameful sisters, the older one bears the name inquisition.
-- Johann Nepomuk Nestroy
Rohit Kedia
Ranch Hand

Joined: Apr 24, 2010
Posts: 79
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....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Issue with JTabbed Pane