Subversion Repositories public

Rev

Rev 89 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 89 Rev 91
Line 265... Line 265...
265
     */
265
     */
266
    public synchronized void loadFromFile() {
266
    public synchronized void loadFromFile() {
267
        tasks.clear();
267
        tasks.clear();
268
       
268
       
269
        File file = getPath();
269
        File file = getPath();
270
        if (!file.exists())
270
        if (!file.exists()) {
-
 
271
            Properties props = new Properties();
-
 
272
            taskFrame.setStartSettings(props);
271
            return;
273
            return;
-
 
274
        }
272
       
275
       
273
        try {
276
        try {
274
            FileInputStream is = new FileInputStream(file);
277
            FileInputStream is = new FileInputStream(file);
275
            Properties props = new Properties();
278
            Properties props = new Properties();
276
            props.loadFromXML(is);
279
            props.loadFromXML(is);