private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) { Bank fr1=new Bank(); try { fr1.watch(); } catch (IOException ex) { Logger.getLogger(JFrame.class.getName()).log(Level.SEVERE, null, ex); } jTextField1.getText(); [I]??????[/I] } In general, there is a button and a text window; when you click this button, the fr1.watch () method is executed; BUT, how to make the result of this method is not displayed on the console, but in the graph window. Interface (TextField)
jTextField1.setText(...)? - post_zeewметоды нельзя засунуть в скобки? - post_zeew