1 package org.xrn.gui; 2 3 import java.awt.event.ActionEvent; 4 import java.awt.event.ActionListener; 5 6 import javax.swing.JMenu; 7 import javax.swing.JMenuItem; 8 9 /*** 10 * 11 * TODO Description 12 * @author Carsten Maneg 13 * Date Nov 7, 2004 14 * Time 6:05:01 PM 15 */ 16 public class ReleaseNotesMenu extends JMenu implements ActionListener 17 { 18 private JMenuItem endeMP; 19 private JMenuItem dummyMP; 20 private XRNMainWindow spsToolF; 21 22 public ReleaseNotesMenu( XRNMainWindow spsToolF ){ 23 super( "Tool" ); 24 this.spsToolF = spsToolF; 25 26 dummyMP = new JMenuItem( " " ); 27 28 endeMP = new JMenuItem( "exit" ); 29 endeMP.addActionListener( this ); 30 31 add( dummyMP ); 32 addSeparator(); 33 add( endeMP ); 34 35 } 36 37 public void actionPerformed( ActionEvent e ){ 38 if ( e.getSource( ) == endeMP ){ 39 40 System.exit( 0 ); 41 } 42 } 43 44 private void oeffnen() 45 { 46 } 47 }