Printint data on text JTextArea also prints issues

natralis

New Member
Good evening I have a problem I need to print only \[code\]textArea\[/code\] Xo but is showing me the latest issue of the list someone could help me.\[code\]private void NumerosActionPerformed(java.awt.event.ActionEvent evt) { // TODO add your handling code here: int valA, valB, valX0, Modulo, Numeros; valA = Integer.parseInt(A.getText()); valB = Integer.parseInt(B.getText()); valX0 = Integer.parseInt(X0.getText()); Modulo = Integer.parseInt(MODULO.getText()); Numeros = Integer.parseInt(NUMEROS.getText()); for (int genera = 1; genera <= Numeros; genera++) { valX0 = (valX0 * valA + valB) % Modulo; System.out.println("n = " + valX0); TEXTO.setText("n = "+ valX0); }\[/code\]
 
Back
Top