From: <ton...@us...> - 2008-01-28 03:09:13
|
Revision: 431 http://dl-learner.svn.sourceforge.net/dl-learner/?rev=431&view=rev Author: tonytacker Date: 2008-01-27 19:09:12 -0800 (Sun, 27 Jan 2008) Log Message: ----------- without the twice-clicking bug - but I saw, options will not work after press on init - I have to change it next time and will hold these possible options at org.dllearner.gui.Config.java Modified Paths: -------------- trunk/src/dl-learner/org/dllearner/gui/LearningAlgorithmPanel.java Modified: trunk/src/dl-learner/org/dllearner/gui/LearningAlgorithmPanel.java =================================================================== --- trunk/src/dl-learner/org/dllearner/gui/LearningAlgorithmPanel.java 2008-01-28 02:38:38 UTC (rev 430) +++ trunk/src/dl-learner/org/dllearner/gui/LearningAlgorithmPanel.java 2008-01-28 03:09:12 UTC (rev 431) @@ -21,7 +21,6 @@ */ import javax.swing.*; -//import javax.swing.table.DefaultTableModel; import java.awt.BorderLayout; import java.awt.event.ActionEvent; @@ -29,8 +28,6 @@ import java.util.List; import org.dllearner.core.LearningAlgorithm; -//import org.dllearner.core.config.ConfigOption; -//import org.dllearner.core.ComponentManager; @@ -97,8 +94,8 @@ // init if (e.getSource() == initButton) { if (config.getStatus(6)) { - updateOptionPanel(); config.setLearningAlgorithm(config.getComponentManager().learningAlgorithm(learners.get(choosenClassIndex), config.getLearningProblem(), config.getReasoningService())); + updateOptionPanel(); config.getLearningAlgorithm().init(); } if (config.getStatus(5)) { // examples are set This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |