/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package LOGIC; import GUI.TelaInicial; import java.awt.EventQueue; import java.util.ArrayList; import java.util.Locale; import java.util.ResourceBundle; /** * * @author sarah */ public class BRIC { /** * @param args the command line arguments */ public static void main(String[] args) { /* String lingua; String pais; if (args.length == 2) { lingua = args[0]; pais = args[1]; } else { lingua = "en"; pais = "US"; } Internacional inter = new Internacional(lingua, pais); */ Sistema s = new Sistema(); //Locale currentLocale = new Locale(s.retornarMensagem("languageDefault"),s.retornarMensagem("countryDefault")); Internacional inter = new Internacional(s.retornarMensagem("languageDefault"), s.retornarMensagem("countryDefault")); //ResourceBundle messages = ResourceBundle.getBundle("Bundle/MessagesBundle_en_US", currentLocale); TelaInicial t = new TelaInicial(inter); t.setVisible(true); } }