BRIC.java 1.19 KB
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
/*
* 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);
}
}