Added version string to window titles.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@625 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
//
|
||||
// $Id: Version.java,v 1.1 2002/03/03 06:32:11 mdb Exp $
|
||||
|
||||
package robodj;
|
||||
|
||||
/**
|
||||
* Used to report version numbers in the client.
|
||||
*/
|
||||
public class Version
|
||||
{
|
||||
/** The application release version. */
|
||||
public static String RELEASE_VERSION = "1.2";
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: ChooserFrame.java,v 1.6 2002/02/22 07:06:33 mdb Exp $
|
||||
// $Id: ChooserFrame.java,v 1.7 2002/03/03 06:32:12 mdb Exp $
|
||||
|
||||
package robodj.chooser;
|
||||
|
||||
@@ -9,6 +9,8 @@ import java.awt.event.ActionListener;
|
||||
import javax.swing.*;
|
||||
|
||||
import com.samskivert.swing.*;
|
||||
|
||||
import robodj.Version;
|
||||
import robodj.repository.*;
|
||||
|
||||
public class ChooserFrame
|
||||
@@ -17,7 +19,7 @@ public class ChooserFrame
|
||||
{
|
||||
public ChooserFrame ()
|
||||
{
|
||||
super("RoboDJ Chooser");
|
||||
super("RoboDJ Chooser " + Version.RELEASE_VERSION);
|
||||
|
||||
// quit if we're closed
|
||||
setDefaultCloseOperation(EXIT_ON_CLOSE);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: ImporterFrame.java,v 1.6 2001/10/12 18:21:27 mdb Exp $
|
||||
// $Id: ImporterFrame.java,v 1.7 2002/03/03 06:32:12 mdb Exp $
|
||||
|
||||
package robodj.importer;
|
||||
|
||||
@@ -9,11 +9,13 @@ import javax.swing.*;
|
||||
|
||||
import com.samskivert.swing.*;
|
||||
|
||||
import robodj.Version;
|
||||
|
||||
public class ImporterFrame extends JFrame
|
||||
{
|
||||
public ImporterFrame ()
|
||||
{
|
||||
super("RoboDJ CD Importer");
|
||||
super("RoboDJ CD Importer " + Version.RELEASE_VERSION);
|
||||
|
||||
// quit if we're closed
|
||||
setDefaultCloseOperation(EXIT_ON_CLOSE);
|
||||
|
||||
Reference in New Issue
Block a user