Advertisement
Guest User

Untitled

a guest
Aug 28th, 2014
210
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.61 KB | None | 0 0
  1. package tick;
  2.  
  3. import java.io.IOException;
  4.  
  5. public class MainClass {
  6.  
  7.     public static void main(String[] args) throws IOException {
  8.         readFileData();
  9.         startFrame();
  10.     }
  11.  
  12.     private static void readFileData() {
  13.         try {
  14.             @SuppressWarnings("unused")
  15.             FileReader fr = new FileReader();
  16.             FileReader.readDataFromTxtFile();
  17.         } catch (IOException e) {
  18.             e.printStackTrace();
  19.             System.out.println("ERROR READING DATA FROM TXT FILE.....");
  20.             System.exit(0);
  21.         }
  22.     }
  23.  
  24.     private static void startFrame() {
  25.         J_List mainFrame = null;
  26.         mainFrame = new J_List();
  27.         mainFrame.setVisible(true);
  28.     }
  29.  
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement