added timestamp to about window.
This commit is contained in:
parent
1fb425c6cd
commit
06fa7f020e
2 changed files with 29 additions and 6 deletions
|
@ -50,7 +50,6 @@ public class AppletScannerFilter extends JApplet implements ActionListener, Focu
|
|||
|
||||
private JMenu mnuEdit;
|
||||
private Object objModified;
|
||||
private Dialog diagAbout;
|
||||
ScannerPanel sp;
|
||||
|
||||
public void init()
|
||||
|
@ -69,6 +68,7 @@ public class AppletScannerFilter extends JApplet implements ActionListener, Focu
|
|||
|
||||
// sp = new SimpleScannerPanel(url);
|
||||
sp = new DuffScannerPanel(url);
|
||||
|
||||
sp.addFocusListener(this);
|
||||
|
||||
setContentPane(sp);
|
||||
|
@ -118,6 +118,11 @@ public class AppletScannerFilter extends JApplet implements ActionListener, Focu
|
|||
setJMenuBar(mb);
|
||||
|
||||
//mnuEdit.setEnabled(false);
|
||||
|
||||
//{{REGISTER_LISTENERS
|
||||
SymComponent aSymComponent = new SymComponent();
|
||||
this.addComponentListener(aSymComponent);
|
||||
//}}
|
||||
}
|
||||
|
||||
/** Added to update the Edit menu in dependence upon
|
||||
|
@ -260,4 +265,19 @@ public class AppletScannerFilter extends JApplet implements ActionListener, Focu
|
|||
{
|
||||
sp.setEnableTibetanScript(e.getStateChange()==ItemEvent.SELECTED);
|
||||
}
|
||||
|
||||
class SymComponent extends java.awt.event.ComponentAdapter
|
||||
{
|
||||
public void componentMoved(java.awt.event.ComponentEvent event)
|
||||
{
|
||||
Object object = event.getSource();
|
||||
if (object == AppletScannerFilter.this)
|
||||
AppletScannerFilter_componentMoved(event);
|
||||
}
|
||||
}
|
||||
|
||||
void AppletScannerFilter_componentMoved(java.awt.event.ComponentEvent event)
|
||||
{
|
||||
// to do: code goes here.
|
||||
}
|
||||
}
|
||||
|
|
|
@ -28,13 +28,16 @@ public interface TibetanScanner
|
|||
{
|
||||
public static final String copyrightUnicode="Copyright " + '\u00A9' + " 2000-2002 by Andr" + '\u00E9' + "s Montano Pellegrini, all rights reserved.";
|
||||
public static final String copyrightASCII="Copyright 2000-2002 by Andres Montano Pellegrini, all rights reserved.";
|
||||
public static final String copyrightHTML="<hr><h5>Copyright © 2000-2002 by <a href=\"http://www.people.virginia.edu/~am2zb/\" target=\"_blank\">Andrés Montano Pellegrini</a><br>All rights reserved</h5>";
|
||||
public static final String copyrightHTML="<hr><h5>" + "The Tibetan to English Translation Tool: Version 1.1, compiled at " + ThdlVersion.getTimeOfCompilation() + ". Copyright © 2000-2002 by <a href=\"http://www.people.virginia.edu/~am2zb/\" target=\"_blank\">Andrés Montano Pellegrini</a><br>All rights reserved</h5>";
|
||||
public static final String aboutUnicode=
|
||||
"The Tibetan to English Translation Tool: Version 1.1, compiled at " + ThdlVersion.getTimeOfCompilation() + ".\n\n" + /* FIXME HARD-CODED VERSION NUMBER */
|
||||
"The Tibetan to English Translation Tool: Version 1.1.\n" +
|
||||
"Compiled at " + ThdlVersion.getTimeOfCompilation() + ".\n\n" + /* FIXME HARD-CODED VERSION NUMBER */
|
||||
"Copyright " + '\u00A9' + " 2000-2002 by Andr" + '\u00E9' + "s Montano Pellegrini, all rights reserved.\n\n" +
|
||||
"This software is protected by the terms of the AMP Open Community License 1.0 (available at www.tibet.iteso.mx/Guatemala/). " +
|
||||
"The Tibetan script input facility was built by THDL's Edward Garrett (http://www.thdl.org/). " +
|
||||
"It uses Tibetan Computer Company (http://www.tibet.dk/tcc/)fonts created by Tony Duff and made available by the Trace Foundation (http://trace.org/).";
|
||||
"This software is protected by the terms of the AMP Open Community\n" +
|
||||
"License 1.0 (available at www.tibet.iteso.mx/Guatemala/). The Tibetan\n" +
|
||||
"script input facility was built by THDL's Edward Garrett (http://www.thdl.org/).\n" +
|
||||
"It uses Tibetan Computer Company (http://www.tibet.dk/tcc/)fonts created\n" +
|
||||
"by Tony Duff and made available by the Trace Foundation (http://trace.org/).";
|
||||
public void scanLine(String linea);
|
||||
public void scanBody(String linea);
|
||||
public void finishUp();
|
||||
|
|
Loading…
Reference in a new issue