my dog learned polymorphism*
The moose likes Swing / AWT / SWT and the fly likes three tabs... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "three tabs..." Watch "three tabs..." New topic
Author

three tabs...

Kannan Baludaiyan
Greenhorn

Joined: Aug 02, 2013
Posts: 9
Netbeans IDE 7.3.1(java swing)

Hi friends,
Here i having three tabs such as source node,intermediate node,destination node. first i create nodes then get that click count as number of nodes.then i make a node which jframe with that three tabs,first single form generate title as node1.now i disabled the intermediate node and destination node.then work on source node frame for send request,then i click send request button, now based upon the click count i create a multiple form same like a three tabs.now this request will send to intermediate node but here i want disable the other two tabs(source node,destination node). i applied the code jTabbedPane1.setEnabledAt(0, false); jTabbedPane1.setEnabledAt(1, false);.but here in another frame the class again starts from first ......please help for this....give any solution quick
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19655
    
  18

Please EaseUp.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

Rob Spoor wrote:Please EaseUp.


Yes. And while you're catching your breath, could you provide more details? All we have is a crude description of some aspects of your application, two lines of code which are almost certainly irrelevant to the problem, and not much else.

An SSCCE would be useful (follow that link), or at least some code which describes the problem.
 
Don't get me started about those stupid light bulbs.
 
subject: three tabs...
 
Similar Threads
Three Jtabbedpane with socket connection
Socket Connection within same class
How to add different menuitems to child node
Page section does not update after call of a4j:support in IE 9
Disabling form controls from a specific tab