Guest User

Untitled

a guest
Feb 16th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. public void cambiarvalores(){
  2.  
  3. Integer cv1, cv2, cv3, cv4, cv5;
  4. cv1=ep1-llevap1;
  5. cv2=ep2-llevap2;
  6. cv3=ep3-llevap3;
  7. cv4=ep4-llevap4;
  8. cv5=ep5-llevap5;
  9.  
  10. e1.setText(cv1.toString());
  11. e2.setText(cv2.toString());
  12. e3.setText(cv3.toString());
  13. e4.setText(cv4.toString());
  14. e5.setText(cv5.toString());
  15.  
  16.  
  17. }
  18.  
  19. private void btnsiActionPerformed(java.awt.event.ActionEvent evt) {
  20. ventana.cambiarvalores();
  21. ventana open=new ventana();
  22. open.setVisible(true);
  23. open.setLocationRelativeTo(null);
  24. dispose();
  25. }
Add Comment
Please, Sign In to add comment