SHARE
TWEET

Untitled

a guest Aug 18th, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. File folder = new File("src\main\java\icon");  //сохранение файлов
  2. File[] listOfFiles = folder.listFiles();          //в массив
  3.  
  4. hod=hod+1;  
  5.  
  6. jLabel1.setIcon(new javax.swing.ImageIcon(listOfFiles[hod]));
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top