public void init() {
       try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(Game.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(Game.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(Game.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(Game.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
       }

       try {
            java.awt.EventQueue.invokeAndWait(new Runnable() {

                @Override
                public void run() {
                    initComponents();
                }
            });
       } catch (Exception ex) { }
        
       score=0; total=0;
       jButton25.setVisible(false);jButton27.setVisible(false);
       frameNumber1=new int[TimesPlayed];
       correct=new boolean[TimesPlayed];
       num=0;
       name="Άτομο χωρίς όνομα";
       name=JOptionPane.showInputDialog(null,"Πώς σε λένε;");  
       if (name==null | "".equals(name)) {name="άτομο χωρίς όνομα";}
       jLabel9.setText("Γεια σου "+name);
       for (int i=0;i<TimesPlayed;i++) {frameNumber1[i]=-1;}
       frameNumber = -1;
       jLabel10.setVisible(false);
       GamePlayed=new String[TimesPlayed];
       Category=new String[TimesPlayed];
       question=new String[TimesPlayed];
       answer=new String[TimesPlayed];       
       jScrollPane1.setVisible(false);
       jLabel2.setText(null);
        
       try { 
               URL url = new URL(URI1+"logos/el-dbpedia.png");
               BufferedImage img = ImageIO.read(url);
               Icon icon=new ImageIcon(img);   
               jLabel11.setIcon(icon);
             } catch (IOException e) {System.out.println("1");}
       try { 
               URL url = new URL(URI1+"logos/el-wikipedia.png");
               BufferedImage img = ImageIO.read(url);
               Icon icon=new ImageIcon(img);   
               jLabel12.setIcon(icon);
             } catch (IOException e) {System.out.println("2");}
       try { 
               URL url = new URL(URI1+"logos/auth-math.png");
               BufferedImage img = ImageIO.read(url);
               Icon icon=new ImageIcon(img);   
               jLabel13.setIcon(icon);
             } catch (IOException e) {System.out.println("3");}        
       try { 
               URL url = new URL(URI1+"logos/eldbpedia.png");
               BufferedImage img = ImageIO.read(url);
               Icon icon=new ImageIcon(img);   
               jLabel16.setIcon(icon);
               jLabel19.setIcon(icon);
               jLabel22.setIcon(icon);
               jLabel25.setIcon(icon);
               jLabel30.setIcon(icon);
             } catch (IOException e) {System.out.println("4");}
       try { 
               URL url = new URL(URI1+"logos/wikipedia.png");
               BufferedImage img = ImageIO.read(url);
               Icon icon=new ImageIcon(img);   
               jLabel17.setIcon(icon);
               jLabel20.setIcon(icon);
               jLabel23.setIcon(icon);
               jLabel26.setIcon(icon);
               jLabel31.setIcon(icon);
             } catch (IOException e) {System.out.println("5");}
       try { 
               URL url = new URL(URI1+"smileys/thinking.png");
               BufferedImage smiley = ImageIO.read(url);
               java.awt.Image smiley2=smiley.getScaledInstance(150,150,BufferedImage.SCALE_SMOOTH);
               Icon icon=new ImageIcon(smiley2);   
                jLabel32.setIcon(icon);
             } catch (IOException e) {System.out.println("6");}
       jLabel1.setText("Ερώτηση: 1η");
       ReadFromFile GetData = new ReadFromFile(); indexarray=GetData.index1(); data=GetData.data(indexarray);
       //indeximages=GetData.indeximages();
       //indexnoimages=GetData.indexnoimages();
       //System.out.println("to images= "+indeximages+"kai to no images="+indexnoimages);
       DeActivateAll();
       //if (indexnoimages==1) {GamePlayed[0]="Πολλαπλή Επιλογή (Multiple Choice)"; MultipleChoice();}
       //else if (indeximages==1 && indexnoimages==0) {GamePlayed[num]="Πολλαπλή Επιλογή (1 Εικόνα, 4 Επιλογές)"; Flag();}
       //else if (indexnoimages==0 && indeximages==0) {GamePlayed[num]="Κρεμάλα (Hangman)";Hangman();} 
       GamePlayed[0]="Πολλαπλή Επιλογή (Multiple Choice)"; MultipleChoice();
      
    }