|
From: Carlos <ma...@us...> - 2007-11-05 17:19:37
|
Update of /cvsroot/tail/TailS/src/java/net/sf/tails/swing/frame/stockAnalysis In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv1697/src/java/net/sf/tails/swing/frame/stockAnalysis Modified Files: NewStockAnalysis2.java NewStockAnalysis.java NewStockAnalysis3.java Log Message: colocando icon... Index: NewStockAnalysis2.java =================================================================== RCS file: /cvsroot/tail/TailS/src/java/net/sf/tails/swing/frame/stockAnalysis/NewStockAnalysis2.java,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** NewStockAnalysis2.java 29 Oct 2007 22:50:16 -0000 1.14 --- NewStockAnalysis2.java 5 Nov 2007 17:19:39 -0000 1.15 *************** *** 20,23 **** --- 20,24 ---- import javax.swing.DefaultComboBoxModel; import javax.swing.GroupLayout; + import javax.swing.ImageIcon; import javax.swing.JButton; import javax.swing.JCheckBox; *************** *** 42,46 **** private static final ResourceBundle messageBundle = ResourceBundle.getBundle("net.sf.tails.i18n.Messages"); private static final ResourceBundle classBundle = ResourceBundle.getBundle("net.sf.tails.i18n.Classes"); ! private static final long serialVersionUID = 1L; private SerializableTimeSeries stock; --- 43,48 ---- private static final ResourceBundle messageBundle = ResourceBundle.getBundle("net.sf.tails.i18n.Messages"); private static final ResourceBundle classBundle = ResourceBundle.getBundle("net.sf.tails.i18n.Classes"); ! private static final ResourceBundle iconBundle = ResourceBundle.getBundle("net.sf.tails.i18n.icons"); ! private static final long serialVersionUID = 1L; private SerializableTimeSeries stock; *************** *** 68,71 **** --- 70,74 ---- initComponents(); this.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); + this.setIconImage(new ImageIcon(iconBundle.getString("TAILS_ICON")).getImage()); this.setResizable(false); this.setLocationByPlatform(true); Index: NewStockAnalysis.java =================================================================== RCS file: /cvsroot/tail/TailS/src/java/net/sf/tails/swing/frame/stockAnalysis/NewStockAnalysis.java,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** NewStockAnalysis.java 29 Oct 2007 16:48:35 -0000 1.10 --- NewStockAnalysis.java 5 Nov 2007 17:19:39 -0000 1.11 *************** *** 22,25 **** --- 22,26 ---- import javax.swing.DefaultComboBoxModel; import javax.swing.GroupLayout; + import javax.swing.ImageIcon; import javax.swing.JButton; import javax.swing.JComboBox; *************** *** 45,48 **** --- 46,50 ---- private static final ResourceBundle messageBundle = ResourceBundle.getBundle("net.sf.tails.i18n.Messages"); private static final ResourceBundle folderBundle = ResourceBundle.getBundle("net.sf.tails.i18n.Folders"); + private static final ResourceBundle iconBundle = ResourceBundle.getBundle("net.sf.tails.i18n.icons"); private static final long serialVersionUID = -8970828566986978459L; *************** *** 74,77 **** --- 76,80 ---- initComponents(); this.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); + this.setIconImage(new ImageIcon(iconBundle.getString("TAILS_ICON")).getImage()); this.setResizable(false); this.setLocationByPlatform(true); Index: NewStockAnalysis3.java =================================================================== RCS file: /cvsroot/tail/TailS/src/java/net/sf/tails/swing/frame/stockAnalysis/NewStockAnalysis3.java,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** NewStockAnalysis3.java 31 Oct 2007 21:04:06 -0000 1.14 --- NewStockAnalysis3.java 5 Nov 2007 17:19:39 -0000 1.15 *************** *** 19,22 **** --- 19,23 ---- import javax.swing.DefaultComboBoxModel; import javax.swing.GroupLayout; + import javax.swing.ImageIcon; import javax.swing.JButton; import javax.swing.JComboBox; *************** *** 49,52 **** --- 50,54 ---- public class NewStockAnalysis3 extends JFrame { private static final ResourceBundle messageBundle = ResourceBundle.getBundle("net.sf.tails.i18n.Messages"); + private static final ResourceBundle iconBundle = ResourceBundle.getBundle("net.sf.tails.i18n.icons"); private static final long serialVersionUID = 1L; *************** *** 85,88 **** --- 87,91 ---- initComponents(); this.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE); + this.setIconImage(new ImageIcon(iconBundle.getString("TAILS_ICON")).getImage()); this.setResizable(false); this.setLocationByPlatform(true); |