Advertisement
Guest User

Untitled

a guest
Sep 20th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. public static void main(String[] args) {
  2. InitializeI18N();
  3.  
  4. EventQueue.invokeLater(new Runnable() {
  5. public void run() {
  6. try {
  7. Login frame = new Login();
  8. frame.setVisible(true);
  9. } catch (Exception e) {
  10. e.printStackTrace();
  11. }
  12. }
  13. });
  14. }
  15.  
  16. private static void InitializeI18N()
  17. {
  18. enLocale = new Locale("en", "US");
  19. cnLocale = new Locale("zh", "CN");
  20. resourceHandler = ResourceBundle.getBundle("com.system.Resources.ResourcesStrings", cnLocale);
  21. }
  22.  
  23. Common_Username = Username
  24. Common_Password = Password
  25. Common_Login = Login
  26. Common_Reset = Reset
  27.  
  28. Common_Username = 用户名
  29. Common_Password = 密码
  30. Common_Login = 登录
  31. Common_Reset = 重启
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement