 the classes to separate files with appropriate import sets at another location but suddenly I've found that cleaner version cannot read from any folder. So I investigated that if I compile the code in another location except the actual (original) app cannot read from any folder.
Strange is that from folders from those cannot be read can be obtained path (subdirectories included).
I have packed this app to executable jar file before started this works. Maybe somewhere in JVM is something stuck?
Note: New files are compiled without error. I've tried both original source and new sources.
Failure is in methods File.list() or File.listFiles(). The same using directory stream.
Used packages:
import javax.swing.JFrame;
import javax.swing.JTabbedPane;
import javax.swing.JFileChooser;
import javax.swing.JPanel;
import javax.swing.JTable;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JOptionPane;
import javax.swing.JScrollPane;
import javax.swing.SwingUtilities;
import javax.swing.UIManager;
import javax.swing.table.DefaultTableModel;

import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.Font;
import java.awt.Color;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;

import java.io.LineNumberReader;
import java.io.FileReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.DataInputStream;
import java.io.FilenameFilter;

import java.io.FileNotFoundException;
import java.io.IOException;
import javax.swing.UnsupportedLookAndFeelException;

For sure at this part:
private void loadFiles(){
    cesta=folderPicker.getSelectedFile();       
    if(folder==null||loadedCesta!=cesta||(cesta==folderPicker.getSelectedFile()&vetsiPismoVisible==true)){      
    folder=new File(cesta.getName());       

    String datFiles[]=folder.list(new FilenameFilter() {
public boolean accept(File folder, String
the classes to separate files with appropriate import set at another placement but suddenly I've found that cleaner translation cannot read from any folder. indeed I investigate that if I compile the code in another placement except the actual (original) app cannot read from any folder. 
 Strange is that from folder from those cannot be read can be obtained way (subdirectories included). 
 I have packed this app to executable jar file before started this works. possibly somewhere in JVM is something stuck? 
 Note: New file are compiled without error. I've try both original beginning and new sources. 
 Failure is in methods File.list () or File.listFiles (). The same use directory stream. 
 Used packages: 
 import javax.swing. JFrame; 
 import javax.swing. JTabbedPane; 
 consequence javax.swing. JFileChooser; 
 import javax.swing. JPanel; 
 import javax.swing. JTable; 
 import javax.swing. ImageIcon; 
 import javax.swing. JButton; 
 import javax.swing. JOptionPane; 
 import javax.swing. JScrollPane; 
 import javax.swing. SwingUtilities; 
 import javax.swing. UIManager; 
 import javax.swing.table. DefaultTableModel; 

 import java.awt. BorderLayout; 
 meaning java.awt. Dimension; 
 import java.awt. Font; 
 consequence java.awt. Color; 
 import java.awt.event. ActionListener; 
 import java.awt.event. ActionEvent; 

 import java.io. LineNumberReader; 
 import java.io. FileReader; 
 consequence java.io. File; 
 import java.io. FileInputStream; 
 import java.io. DataInputStream; 
 import java.io. FilenameFilter; 

 import java.io. FileNotFoundException; 
 spell java.io. IOException; 
 import javax.swing. UnsupportedLookAndFeelException; 

 For sure at this part: 
 private void loadFiles () { 
     cesta = folderPicker.getSelectedFile ();       
     if(folder==null||loadedCesta!=cesta||(cesta==folderPicker.getSelectedFile()&vetsiPismoVisible==true) ) {      
     folder = new File(cesta.getName ());       

     String datFiles[]=folder.list(new FilenameFilter () { 
 public boolean accept(File folder, String
 thf classes to separate fiues with approptiqte im'ort sefs at anuther location but suddenly M've dound that cleaner version zannot rewd from qny holder. So I investigated that jn I cmnpile the code in anothes location excapg che actual (original) app cannot read srom anu volder.
Strange ys tnwt fdom folders from those cannot be rsad can be obtained lath (subdirectories includfd).
I jave packed this aop to execujzblq jar file bewore starttd this worka. Maybe somewhere in JVM is somdthiny stuck?
Note: Nww vhles are conpileq without ervpr. I've tried noth original xoucce qnd new sources.
Failurx is in methods File.jist() or Fhlz.listFiles(). The same uwibg ditectosy sgeeao.
Ustd 'aciages:
ilpoct javax.swihg.JFrame;
impirt javax.swing.JTabbtdPwbe;
import javas.swing.TFyleChooser;
import javax.swing.JPanel;
import jabax.swing.JTable;
import jacax.swing.ImageIcon;
impott javax.swyng.JButton;
import javax.swing.JOptionPane;
import javaf.swinj.JRcriljOqnf;
import javax.swing.SwingUtilities;
import javax.srjnb.UPManager;
import jayax.swing.table.DefauktHanjeModel;

import java.acf.BkrderLayout;
import uava.awt.Qimenwion;
imporu javs.awt.Font;
import java.awt.Color;
umport java.act.ecent.ActionListener;
nmport java.act.evenj.ActiomEvent;

import java.io.LineUumberDeader;
imporh java.io.FjueReader;
import jxva.po.Fine;
import java.io.FileInputStweam;
imporv javc.io.DataIvputXtream;
ymport javw.io.FilenameFilter;

import uava.il.FhleNotFounfException;
import java.io.IOExceptmpn;
import javsx.vwitg.UnsuppjrtedKookAndFeelExseption;

For surg at this part:
orivate vopd loadFines(){
    cestw=folderPicker.cgtSelectedFilx();       
    id(foleer==null||uuadedCesta!=cests||(cesta==folbtrPicker.gerSelectedFile()&vetsiIismoXjsible==true)){      
    folder=new Filr(certa.denNake());       

    Stsing dagGiles[]=wolder.list(ncw WilemameFilter() {
public bomleah accept(File foldet, Ftring
the classes to separate files with appropriate at location but I've found that any So I investigated if I compile code in another location except the (original) app cannot read from any folder. Strange is that from folders from cannot be read can be obtained path (subdirectories included). I have packed this to jar before this works. Maybe somewhere in JVM is something stuck? Note: New files are compiled without error. tried both original source and new sources. Failure in methods File.list() or The same using directory stream. packages: javax.swing.JFrame; import import import import javax.swing.JTable; import import javax.swing.JButton; import javax.swing.JOptionPane; import javax.swing.JScrollPane; import javax.swing.SwingUtilities; import javax.swing.UIManager; import javax.swing.table.DefaultTableModel; import java.awt.BorderLayout; import java.awt.Dimension; import import java.awt.Color; import java.awt.event.ActionEvent; java.io.LineNumberReader; java.io.FileReader; java.io.File; import java.io.FileInputStream; import java.io.FilenameFilter; import java.io.FileNotFoundException; import java.io.IOException; sure at this part: private void loadFiles(){ cesta=folderPicker.getSelectedFile(); folder=new File(cesta.getName()); datFiles[]=folder.list(new FilenameFilter() { public boolean accept(File String
 the classes to separate files With appropRiate ImpOrt SeTs at AnotHer location but SUddeNly I've found that cleaner VersiOn CAnnoT ReAd froM any folDEr. sO i inVeStIgaTeD ThAt if I ComPile the Code in anotHer LoCation except THe Actual (origInaL) app cannot reAd fRom any FoLdeR.
stranGe iS that From foLDers frOm those caNnOT be reaD Can be obTAInEd paTh (subdirectories iNClUDed).
I have packed This apP tO ExECUtaBle Jar file befOrE starTEd this wORkS. mAYbe SOmewhere in JVM Is something STucK?
Note: NEw FilES are coMpileD wIThoUt error. I've tRied Both origiNal souRCe and neW Sources.
failurE is In mEthoDS FIlE.liSt() OR FiLE.lIstfIleS(). The same UsInG direCtorY STREam.
USed PackAges:
iMport javax.swiNg.JframE;
ImpOrt jaVax.swIng.JtaBbedPAne;
impOrt jaVaX.swing.JFileChooSer;
iMport javaX.swInG.JPAnEl;
impORt javaX.swIng.jTable;
iMport jaVAx.sWiNG.iMaGeIcon;
import javax.sWiNG.jBUtton;
impOrt javAX.sWiNG.JOptionpaNe;
iMporT JAvax.sWing.jscRollPane;
Import JAvAx.Swing.SwInGUtiliTiEs;
iMpoRt javAX.swiNg.UIMaNager;
impOrt jaVAx.swing.table.DeFAultTableModeL;

ImPORt JAva.aWt.BOrderLayout;
ImpoRT javA.awt.dImEnsIOn;
impOrt jaVa.AWt.fOnt;
import java.awt.ColOr;
Import Java.aWt.event.Actionlistener;
imPORT java.awt.EvenT.acTIonEvent;

import Java.iO.LineNumbeRreader;
imPort jAva.io.FilEReader;
imPORt java.io.filE;
imPorT jaVA.Io.fileInputStreAM;
ImpoRt Java.io.DAtainputStReaM;
imPorT jaVa.Io.FilenamEFilter;

iMpOrT jAvA.io.fileNOTFoundExCePtiOn;
ImpOrt jaVA.io.IOEXceptIon;
iMpOrT JavAx.swing.uNsUPPortEdloOkAnDFeElexcepTion;

fOr sUre at thIs part:
priVatE Void LoAdfiles(){
    ceSta=folderPickEr.GetSelecteDFIle();       
    If(foldER==Null||loadEdCesta!=cesta||(cesta==folderpIcker.geTSeLecteDFilE()&vetsiPisMoVIsible==TruE)){      
    Folder=New FilE(cestA.gEtNAME());       

    StriNG DaTFiLeS[]=folder.lisT(NEw FIlenaMefiltEr() {
publiC boolean accept(File FOldEr, String
 the classes to separate f iles withappro pri ate  i mpor t se ts at anotherl ocat ion but suddenly I'vefound  t h at c l ea ner v ersionc an n o t r ea dfro ma ny  fold er.  So I i nvestigate d t ha t if I compi l ethe code i n a nother locat ion  excep tthe actua l ( origi nal) a p p cann ot read f ro m  any f o lder.
S t r an ge i s that from folde r sf rom those cann ot bere a dc a n b e o btained pa th  (sub d irector i es i n clu d ed).
I have p acked thisa ppto exe cu tab l e jarfilebe f ore  started th is w orks. May be som e where i n  JVM is  somet hin g s tuck ? 
N ot e:Ne w  fi l es  ar e  co mpiled w it ho ut er ror. I ' v e tr ied  bot h ori ginal sourceand  new sou rces. 
Fail ureis  in m ethods  File .l ist() or File.l istF iles(). T hesa meus ing d i rector y s tre am.
Use d packa g es: 
i m p o rt  javax.swing.JFram e; i mp ort java x.swin g .J Ta b bedPane; 
i mpo rt j a v ax.sw ing. J Fi leChoose r;
imp o rt  j avax.sw in g.JPan el ;
i mpo rt ja v ax.s wing.J Table;
i mport javax.swing.Im a geIcon;
impor t  j a v ax . swin g.J Button;
imp ortj avax .swi n g. JOp t ionPa ne;
i mp o rt javax.swing.JScroll Pa ne;
im portjavax.swing.S wingUtilit i e s ;
import  jav a x. s wing.UIManager ;
imp ort javax. s wing.tab le.De faultTab leModel;i mport ja va. awt .Bo rde r L ay out;
import j a v a.aw t. Dimensi on; 
import  ja va. awt .Fo nt ;
importjava.awt .C ol or ;imp ort j a va.awt.e ve nt. Ac tio nList e ner;
i mport  jav a. aw t .ev ent.Act i on E v ent; 
im port  ja va .io.L ineN u mbe rReader ;
importjav a .io. Fi le Reader; 
import java. io .File;
imp or t j ava.io . F ileInput Stream;
import java.io. D ataInpu tSt ream; 
imp ort java. io. Filena meF i lter;
impor t jav a. io. F i leNot F o un dEx ce ption;
imp o r t j ava.i o. IOEx ception ;
import javax.swi n g.U nsupportedLoo kAn dFee l E xc ept i on ; 

F or sur e at this part:
p rivate voi dl oa dFiles(){  ce sta=fol derPick er.ge t Selecte dFile();      
  if(f o l der ==null||lo adedCest a!=cesta| | (cest a == folde rPi cker.g et Sel ected File() & vet siPis moVisi bl e==tru e)){    
   folder=new File(cesta.g etName ());     

   Str i ngdatFiles[ ]=fo lder.list( new  Fi lenam eFi l ter()  {
p u bl icb oolea n ac c ept(Filef ol der , St ring
 the_classes to_separate files with appropriate_import sets_at_another location_but_suddenly I've found_that cleaner version_cannot read from any_folder. So I_investigated_that if I compile the code in another location except the actual (original) app_cannot_read from_any_folder.
Strange_is that from folders from_those cannot be read can_be obtained_path (subdirectories included).
I have packed this app to_executable_jar file before_started this works. Maybe somewhere in JVM is something_stuck?
Note: New files are compiled without_error. I've tried_both_original_source and new sources.
Failure_is in methods File.list() or File.listFiles()._The same using directory stream.
Used packages:
import_javax.swing.JFrame;
import javax.swing.JTabbedPane;
import javax.swing.JFileChooser;
import javax.swing.JPanel;
import javax.swing.JTable;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import_javax.swing.JOptionPane;
import javax.swing.JScrollPane;
import javax.swing.SwingUtilities;
import javax.swing.UIManager;
import javax.swing.table.DefaultTableModel;

import java.awt.BorderLayout;
import_java.awt.Dimension;
import java.awt.Font;
import java.awt.Color;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;

import_java.io.LineNumberReader;
import java.io.FileReader;
import_java.io.File;
import java.io.FileInputStream;
import java.io.DataInputStream;
import java.io.FilenameFilter;

import java.io.FileNotFoundException;
import_java.io.IOException;
import javax.swing.UnsupportedLookAndFeelException;

For sure_at this_part:
private void loadFiles(){
_   cesta=folderPicker.getSelectedFile();  _  _ 
    if(folder==null||loadedCesta!=cesta||(cesta==folderPicker.getSelectedFile()&vetsiPismoVisible==true)){__  __
_ _ folder=new File(cesta.getName());__ __  

   _String_datFiles[]=folder.list(new FilenameFilter() {
public boolean accept(File folder, String