~sword-devel/jsword/trunk

« back to all changes in this revision

Viewing changes to jsword/java/jsword/org/crosswire/jsword/view/swing/desktop/OptionsAction.java

  • Committer: joe
  • Date: 2002-10-08 21:36:18 UTC
  • Revision ID: svn-v4:a88caf3b-7e0a-0410-8d0d-cecb45342206:trunk:80
big config and comment update

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
import java.net.MalformedURLException;
7
7
import java.net.URL;
8
8
 
 
9
import org.crosswire.common.config.ChoiceFactory;
9
10
import org.crosswire.common.config.Config;
10
11
import org.crosswire.common.config.swing.SwingConfig;
11
12
import org.crosswire.common.util.Reporter;
54
55
    public void createConfig() throws IOException, JDOMException, BookException
55
56
    {
56
57
        config = new Config("Tool Shed Options");
57
 
        config.getDataMap().put("biblenames", Bibles.getBibleNames());
 
58
        ChoiceFactory.getDataMap().put("biblenames", Bibles.getBibleNames());
58
59
 
59
60
        Document xmlconfig = Project.resource().getDocument("config");
60
61
        config.add(xmlconfig);