|
From: Carlos <ma...@us...> - 2007-10-03 22:04:08
|
Update of /cvsroot/tail/TailS/src/java/net/sf/tails/swing/frame/stockAnalysis In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv19104/src/java/net/sf/tails/swing/frame/stockAnalysis Modified Files: NewStockAnalysis2.java NewStockAnalysis.java Log Message: Mais ajustes de tela... Index: NewStockAnalysis2.java =================================================================== RCS file: /cvsroot/tail/TailS/src/java/net/sf/tails/swing/frame/stockAnalysis/NewStockAnalysis2.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** NewStockAnalysis2.java 3 Oct 2007 20:48:43 -0000 1.2 --- NewStockAnalysis2.java 3 Oct 2007 22:04:10 -0000 1.3 *************** *** 140,144 **** selectedCriterion = FrameHelper.getSelectedCriterion(analysisComboBox.getSelectedItem().toString()); } catch (Exception e) { ! JOptionPane.showMessageDialog(null, analysisComboBox.getSelectedItem().toString() + messageBundle.getString("SELECTED_CRITERION"), "Error", 0); } List<AnalysisCriterion> additionalCriteria = new ArrayList<AnalysisCriterion>(); --- 140,144 ---- selectedCriterion = FrameHelper.getSelectedCriterion(analysisComboBox.getSelectedItem().toString()); } catch (Exception e) { ! JOptionPane.showMessageDialog(null, analysisComboBox.getSelectedItem().toString() + " " + messageBundle.getString("SELECTED_CRITERION"), "Error", 0); } List<AnalysisCriterion> additionalCriteria = new ArrayList<AnalysisCriterion>(); *************** *** 153,157 **** criterion = FrameHelper.getSelectedCriterion(checkBox.getText()); } catch (Exception e) { ! JOptionPane.showMessageDialog(null, checkBox.getText() + messageBundle.getString("SELECTED_CRITERIA"), "Error", 2); } --- 153,157 ---- criterion = FrameHelper.getSelectedCriterion(checkBox.getText()); } catch (Exception e) { ! JOptionPane.showMessageDialog(null, checkBox.getText() + " " + messageBundle.getString("SELECTED_CRITERIA"), "Error", 2); } *************** *** 165,169 **** if (selectedCriterion == null) { ! JOptionPane.showMessageDialog(null, analysisComboBox.getSelectedItem().toString() + messageBundle.getString("SELECTED_CRITERION"), "Error", 0); } else --- 165,169 ---- if (selectedCriterion == null) { ! JOptionPane.showMessageDialog(null, analysisComboBox.getSelectedItem().toString() + " " + messageBundle.getString("SELECTED_CRITERION"), "Error", 0); } else Index: NewStockAnalysis.java =================================================================== RCS file: /cvsroot/tail/TailS/src/java/net/sf/tails/swing/frame/stockAnalysis/NewStockAnalysis.java,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** NewStockAnalysis.java 3 Oct 2007 21:10:18 -0000 1.3 --- NewStockAnalysis.java 3 Oct 2007 22:04:10 -0000 1.4 *************** *** 292,296 **** stock = new Stock(stockNameField.getText(), seriesField.getText(), FrameHelper.getSelectedLoader(seriesFormatComboBox.getSelectedItem().toString())); String xmlFile = stockSerializer.toXML(stock); ! String filePath = folderBundle.getString("STOCK_DIR") + stockNameField.getText(); File stockAnalysisXML = new File(filePath + ".xml"); OutputStream out; --- 292,296 ---- stock = new Stock(stockNameField.getText(), seriesField.getText(), FrameHelper.getSelectedLoader(seriesFormatComboBox.getSelectedItem().toString())); String xmlFile = stockSerializer.toXML(stock); ! String filePath = folderBundle.getString("STOCK_DIR") + "/" + stockNameField.getText(); File stockAnalysisXML = new File(filePath + ".xml"); OutputStream out; |