public void actionPerformed ( ActionEvent e ) { Box b1 = Box . createVerticalBox ( ) ; Version currentVersion = Version . currentViewableVersion ( ) ; String copyright = LicenseUtils . copyright ( ) ; copyright = copyright . replaceAll ( "\n" , "<br>" ) ; String latestVersion = LatestClient . getInstance ( ) . getLatestResult ( 60 ) ; latestVersion = latestVersion . replaceAll ( "\n" , "<br>" ) ; JLabel label = new JLabel ( ) ; label . setText ( "<html>" + "<b>Tetrad " + currentVersion + "</b>" + "<br>" + "<br>Laboratory for Symbolic and Educational Computing" + "<br>Department of Philosophy" + "<br>Carnegie Mellon University" + "<br>" + "<br>Project Direction: Clark Glymour, Richard Scheines, Peter Spirtes" + "<br>Lead Developer: Joseph Ramsey" + "<br>" + copyright + "<br>" + latestVersion + "</html>" ) ; label . setBackground ( Color . LIGHT_GRAY ) ; label . setFont ( new Font ( "Dialog" , Font . PLAIN , 12 ) ) ; label . setBorder ( new CompoundBorder ( new LineBorder ( Color . DARK_GRAY ) , new EmptyBorder ( 10 , 10 , 10 , 10 ) ) ) ; b1 . add ( label ) ; JOptionPane . showMessageDialog ( JOptionUtils . centeringComp ( ) , b1 , "About Tetrad..." , JOptionPane . PLAIN_MESSAGE ) ; }
Closes the frontmost session of this action 's desktop .