In JTabbedPane, updation of database values not working
Arun Martin
Ranch Hand
Joined: Dec 01, 2000
Posts: 64
posted
0
Hi, I have got a serious pblm. I have got a JFrame consisting of JTabbedPanes. Each JTabbedPane is used as a panel. Eg. JTabbedPane tp = new JTabbedPane(); tp.addTab("Add New Mgmt Rep QC Rep",new AddMgmtQC()); tp.addTab("Modify Mgmt Rep QC Rep",new ModifyMgmtQC()); class AddMgmtQC extends JPanel implements ActionListener { constructor() { // code } public void actionPerformed() { // code }
} The problem is that in "AddMgmtQC JTabbed Pane" some values are entered from the user and sent to the database. When I go to " ModifyMgmtQC JTabbed Pane" the values entered from "AddMgmtQC JTabbed Pane" should be displayed for further processing. But the values are not displayed. I have to run the Java pgm once again to view the user values. Is there any method through which simultaneous updation can take place? with warm regards, Arun.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.
subject: In JTabbedPane, updation of database values not working