participate


Internationalization (I18N) - How to Set two fonts for a swing component (JoptionPane, JTable)
This question is not answered.

<<   Back to Forum  |   Give us Feedback
10 Duke Stars available
This topic has 1 reply on 1 page.
sindhumourya
Posts:40
Registered: 9/19/08
How to Set two fonts for a swing component (JoptionPane, JTable)   
Nov 4, 2009 1:23 AM
 
 
Hi all,

I need to support two locales for JoptionPane or Jtable.

Let us assume a string "Steve! How are you?".

If I use JoptionPane, Then in this, "Steve!" Should come in English. and "How are you?". should come in Spanish.

In the Same way, if I use Jtable, and when It presents in a row for a particular column, the same format should be supported.(Both English and Spanish get displayed).

Please provide me solution for this.

Thanks for your valuable time.

Mourya
 
Joerg22
Posts:1,111
Registered: 6/25/03
Re: How to Set two fonts for a swing component (JoptionPane, JTable)   
Nov 21, 2009 1:56 PM (reply 1 of 1)  (In reply to original post )
 
 
Hello Mourya,

did you read SUN's tutorial on internationalization ?
 
This topic has 1 reply on 1 page.
Back to Forum
 
Read the Developer Forums Code of Conduct

Click to email this message Email this Topic

Edit this Topic
  
 
 
Forums Statistics
    Users Online : 54
  • Guests : 135

About Sun forums
  • Sun Forums is a large collection of user generated discussions. It is here to help you ask questions, find answers, and participate in discussions.

    Check out our guide on Getting started with Sun Forums for a full walkthrough of how to best leverage the benefits of this community.

Powered by Jive Forums