NWChem/contrib/javasupport/submitted.java
Huub Van Dam 97f303e6f8 HvD: In the CVS era the $Id: $ tags in the source code files would
automatically be expanded to include useful information about the
checkin (including the file's revision number). With the switch over
to SVN this was lost because SVN only does this expansion if you 
explicitly ask for it (for every single file). 

I have added a script to the contrib directory that sets the appropriate
property to get SVN to do this expansion. This script will make it easy
to do this every time new source files are added. It is called
svn_expand_Id, the script contains some comments that explain the issue
and how it addresses this.  

This checkin sets this property for a subset of the relevant files
(trying to commit all files at once failed with svn crashing). 
In future the script will only affect those files for which the property
was not set before.
2010-10-29 18:04:21 +00:00

53 lines
1.1 KiB
Java

// $Id$
import java.awt.*;
import java.awt.event.*;
public class submitted extends Frame {
public submitted() {
super(" ");
//{{INIT_CONTROLS
setLayout(null);
addNotify();
setSize(400,200);
label1=new Label("Your request has been submitted");
label1.setFont(new Font("Dialog",Font.BOLD,14));
add(label1);
label1.setBounds(65,75,270,25);
button1=new Button("Okay");
add(button1);
button1.setBounds(150,100,70,30);
//}}
button1.addActionListener(new ActionListener()
{
public void actionPerformed(ActionEvent e) {
clickedButton1();
}});
}
public synchronized void setVisible() {
setLocation(50, 50);
}
Label label1;
Button button1;
public void clickedButton1() {
setVisible(false);
}
public void windowClosing(WindowEvent event){ }
public void windowClosed(WindowEvent event) { }
public void windowDeiconified(WindowEvent event) {}
public void windowIconified(WindowEvent event) {}
public void windowActivated(WindowEvent event) {}
public void windowOpened(WindowEvent event) {}
}