Question: Can you please help me solve this question - Basic Internationalized class (ListResourceBundle) Create an Eclipse Project called JavaProgram . Create a JFrame application called

Can you please help me solve this question
 Can you please help me solve this question - Basic Internationalized

- Basic Internationalized class (ListResourceBundle) Create an Eclipse Project called JavaProgram . Create a JFrame application called Translator that contains three labels with the strings "One", "Two", "Three" and two buttons, one with "Translate to French" displayed on the button text and a second button with "Translate to X" ( X will be any other language of your choice). The English text displayed in the label (as above) must come from a PropertyResourceBundle for English (_en) (i.e., use the getString0) method to show the text instead of hard-coding the text!). Use the PropertyResourceBundle approach to translate the label text to French (and the other language you chose) based on what button was pushed, i.e., shows "un", "deux" and "trois" in the label when the "Translate to French" button is pushed. Translation to French and the second language you picked MUST be achieved by coding PropertyResourceBundle classes for the translations using getString0 (e.g. _fr file for French, _es would be Spanish etc.). N.B.**: Hard-coding of the translation strings without using the resource getString0 method will not receive any translation marks. For this task there is no need to re-translate back to English again. Required activities and marking guideline: - Implement the simple GUI with listeners - Implement the PropertyResourceBundle code (in French and English and other chosen language -4 points per language implemented). - Translation buttons work to change label text to both languages

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!