From a31b51792e4eddf47312cd2362ccff568eab19e8 Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Tue, 29 Jul 2008 02:01:42 +0000 Subject: Client: Encapsulated classpath JARs Moved required classpath JARs into a SVN controlled folder so that they are available to anyone who wishes to help develop InstaDisc. Note that the Appframework and Spring-worker JARs were not encapsulated. If you wish to help develop InstaDisc, you'd best be off using NetBeans. --- client/trunk/src/com/fourisland/instadisc/FirstRun/Step2.java | 5 ++++- .../src/com/fourisland/instadisc/resources/InstaDiscApp.properties | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'client/trunk/src') diff --git a/client/trunk/src/com/fourisland/instadisc/FirstRun/Step2.java b/client/trunk/src/com/fourisland/instadisc/FirstRun/Step2.java index 5460bc4..e6e75ff 100644 --- a/client/trunk/src/com/fourisland/instadisc/FirstRun/Step2.java +++ b/client/trunk/src/com/fourisland/instadisc/FirstRun/Step2.java @@ -6,6 +6,7 @@ package com.fourisland.instadisc.FirstRun; import com.fourisland.instadisc.Database.Wrapper; +import com.fourisland.instadisc.Item.MD5; import com.fourisland.instadisc.XmlRpc; import java.net.MalformedURLException; import java.net.URL; @@ -168,8 +169,10 @@ public class Step2 extends javax.swing.JDialog { { jLabel5.setText("Error: No registration exists on the specified Central Server with the specified UN/PW combination"); } else { + MD5 md5 = new MD5(jTextField2.getText()); + Wrapper.setConfig("username", jTextField1.getText()); - Wrapper.setConfig("password", jTextField2.getText()); + Wrapper.setConfig("password", md5.hash()); Wrapper.setConfig("centralServerURL", jTextField3.getText()); StepEndResults.ok = true; diff --git a/client/trunk/src/com/fourisland/instadisc/resources/InstaDiscApp.properties b/client/trunk/src/com/fourisland/instadisc/resources/InstaDiscApp.properties index 8e3b5ef..9bb23b0 100644 --- a/client/trunk/src/com/fourisland/instadisc/resources/InstaDiscApp.properties +++ b/client/trunk/src/com/fourisland/instadisc/resources/InstaDiscApp.properties @@ -4,8 +4,8 @@ Application.name = InstaDisc Application.title = Basic Application Example Application.version = 1.0 Application.vendor = Sun Microsystems Inc. -Application.homepage = http\://appframework.dev.java.net/ -Application.description = A simple Java desktop application based on Swing Application Framework. +Application.homepage = http://appframework.dev.java.net +Application.description = A simple java desktop application based on Swing Application Framework Application.vendorId = Sun Application.id = ${Application.name} Application.lookAndFeel = system -- cgit 1.4.1