I have a jinternalframe that processes the number of products import and iva and register them in the database for the order, but this must be done when the purchase ends in a second jinternalframe that processes the payment this second receives as parameter the amount to be paid, my question is how do I make the second jframe tell the first that has already been paid, and so the first insert in your table the new order.