grazie mille stò provando il tuo metodo, nel mentre aspettavo la risposta ho provato a fare un JOptionPane e il codice è questo:
codice:
public void mousePressed(java.awt.event.MouseEvent evt)

            {
                    try {
                    BufferedReader in = new BufferedReader(new FileReader("./src/file.txt"));
                    int cont=0;
                    while(in.readLine()!=null)
                    {
                        cont++;
                    }
                    System.out.println(cont);
                    String temp = in.readLine()+"\n";
                    for(int i=0; i<cont; i++)
                    {
                        temp = temp + in.readLine()+"\n";
                    }
                    JOptionPane.showMessageDialog(null,temp, "CRONOLOGIA", JOptionPane.INFORMATION_MESSAGE);
                    } catch (FileNotFoundException ex) {
                    Logger.getLogger(TestFrame.class.getName()).log(Level.SEVERE, null, ex);
                    } catch (IOException ex) {
                    Logger.getLogger(TestFrame.class.getName()).log(Level.SEVERE, null, ex);
                    }
                    }
        });
Il problema è che mi da null per ogni riga