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
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.