|
From: Carlos <ma...@us...> - 2007-10-08 19:53:09
|
Update of /cvsroot/tail/TailS/src/java/net/sf/tails/swing/frame/report In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv19524/src/java/net/sf/tails/swing/frame/report Modified Files: NewReportFrame.java Log Message: Atualização para usar properties. Index: NewReportFrame.java =================================================================== RCS file: /cvsroot/tail/TailS/src/java/net/sf/tails/swing/frame/report/NewReportFrame.java,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** NewReportFrame.java 8 Oct 2007 19:38:19 -0000 1.12 --- NewReportFrame.java 8 Oct 2007 19:53:11 -0000 1.13 *************** *** 6,9 **** --- 6,10 ---- import java.util.Scanner; import java.util.Set; + import java.util.ResourceBundle; import javax.script.ScriptException; *************** *** 23,26 **** --- 24,28 ---- */ public class NewReportFrame extends javax.swing.JFrame { + private static final ResourceBundle messageBundle = ResourceBundle.getBundle("net.sf.tails.i18n.Messages"); private static final long serialVersionUID = 4704921929974302846L; *************** *** 50,54 **** this.setResizable(false); this.setLocationByPlatform(true); ! this.setTitle("New Report"); } --- 52,56 ---- this.setResizable(false); this.setLocationByPlatform(true); ! this.setTitle(messageBundle.getString("REPORT_TITLE")); } *************** *** 279,283 **** } return text; ! } private void customStrategyCancelButtonActionPerformed(java.awt.event.ActionEvent evt) { --- 281,285 ---- } return text; ! } private void customStrategyCancelButtonActionPerformed(java.awt.event.ActionEvent evt) { |