0
내 응용 프로그램에 대한 국제화 지원을 소개하려고합니다 ... 나는 netbeans 자바 데스크탑 응용 프로그램으로 만들었습니다.Netbeans 자바 데스크탑 응용 프로그램 : 리소스 맵 국제화
public class ABC extends FrameView{
//constructor
public ABC(Singleframeapplication app)
{
//introduced by netbeans automatically
ResourceMap resourceMap=getResourceMap();
//
}
}
난 내 전체 앱 로케일 (예 : FR합니다.) 설정이 resourcemap 객체를 사용하는 방법은 다음과 같습니다 넷빈즈는 자동으로 다음 코드를 도입? PS :
public static void main(String[] args) {
System.out.println(Locale.getDefault()); // the JVM defaults to es_ES on my machine, so this prints "es_ES"
Locale.setDefault(Locale.ENGLISH); // set it to English
System.out.println(Locale.getDefault()); // Now it prints "en"
launch(MyNiceApp.class, args); // my app comes up in English now
}
이 : 나는/ABC/자원 폴더에 감사