Urdu fonts support in java

how can i use the urdu font in java???
secondly after using how the character is calculated to be printed.. suppose you pressed 'a' and the program prints 'c'? is it possible?

hi my name is adnan
u can use arbic font instead of urdu font this can help u and java support arbic font i wana send u some piece of code which can help u it help me much i hope it will help u.use urdu unicode instead arabic it can help u ok by with best
wishes
Muhammad Adnan Siraj Doger
import java.lang.*;
import java.util.Locale;
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import java.util.Locale;
public class test {
public static void main (String [] args)
String test = "\u0631\u0627\u0626\u062F";
JFrame frame = new JFrame("Test");
JPanel panel = new JPanel();
JTextField test1 = new JTextField(test);
test1.setFont(new Font("Lucida", Font.PLAIN, 12));
panel.setLayout(new BorderLayout());
panel.add(test1,BorderLayout.CENTER);
frame.getContentPane().add(panel, BorderLayout.CENTER);
frame.setSize(100,100);
frame.setVisible(true);

Similar Messages

  • Open type font "Myriad Pro" support in Java AWT

    Hi
    I have installed open type font "Myriad Pro" on my machine.
    When I use the following AWT APIs on jre 1.6, I dont get the open type font "Myriad Pro" in the font list.
    Code snippet
    java.awt.GraphicsEnvironment     ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
    if (ge != null) {
         java.awt.Font[] fontList = ge.getAllFonts();
    The fontList variable doesnt have "Myriad Pro" font.
    My question is
    1) Is the open type font "Myriad Pro" supported by java AWT?
    2) Is there a workaround to get that particular font?
    Thanks
    Vikas

    When I print out the list of all the fonts java recognizes on my machine, all the otf fonts (about 70 of them) are missing including Myriad Pro. All the true type fonts show up. You might need to convert the Myriad Pro into a true type font to get it recognized in java.

  • Thai font support on solaris 2.6 sun os 5.6 sparc for java application

    how to install new fonts on solaris 2.6 sparc sun os 5.6. what are the necessary changes we have to make inorder to use new fonts in a java application. the requirement is to install thai language fonts that will be used by a java application to print online/batch job using text/postscript documents. advise on how to do it. kindly mail me at <[email protected]>
    thanks in advanse

    It is recommended for you to upgrade the JDK version to the J2SE 1.2.x versions which provides better support for the Thai fonts.
    You can download the localised version of Thai JDK 1.2.x for Solaris from :
    http://www.sun.com.sg/developers/thailand/index.html

  • Fonts supported by crystal reports XI

    Post Author: kapsi
    CA Forum: General
    Does Crystal reports XI support postscript fonts?
    Does Crystal Reports XI allow postscript fonts to be exported to PDF? (I know that this was not possible in Crystal Reports 9. Has this been resolved in XI?)
    Many thanks in advance...

    First check is to ensure the Java JVM can see the font.  The Java SDK comes with the JFC demo Font2DTest.  Do the fonts show up there?
    Note that the Java JRE has a lib/fonts directory, where you can place TrueType fonts that the JRE then would use.
    Sincerely,
    Ted Ueda

  • How To Install Urdu Fonts and Use in Form

    How to work with urdu fonts and use in form ...

    Do you have a problem with it or are you looking for a guide?
    If the latter is the case you should probably take a look at Note 314074.1. It talks about character sets in Forms. You can use UTF-8 in Forms and in the database. I assume urdu characters are in utf-8?
    There was a problem with urdu in win2k some time back. Is that what you are using?

  • Charset support in Java

    Hi all,
    We are having a problem with the charset support in Java. We are attempting to decode strings using codepage 037. The call,
    String s = "mystring";
    byte[] iArray = s.getBytes("037");runs fine on some machines and not on others. All the machines are using version 1.4.2_01 and are a mix of Win 2000 and NT. I am guessing that there is an issue with the character encoding sets installed by Java but how do we add new charsets??
    We're seriously stumped on this one. We've tried installing United States English on the machines as well as our locale Irish English through the Regional settings in Control Panel but to no avail.
    Hope someone can help,
    Thanks,
    Phillip

    Hi,
    the most obvious problem to start with, is that getBytes() does not use codepages. It uses encoding schemes.
    Check out http://java.sun.com/j2se/1.4.2/docs/guide/intl/encoding.doc.html
    for a list of supported schemes.
    So you should have been seeing "UnsupportedEncodingScheme" exceptions
    on every machine you tried to execute s.getBytes("037");
    After that, ensure every machine has the "international version" of the JRE installed. ie. in the JRE's lib directory you should see charsets.jar
    regards,
    Owen

  • OOPs support in Java

    how oops principles are supported in java ??

    Here's a good example:
    if(myString == "wrong"){......}
    oops
    I meant
    if(myString.equals("right")){......}
    Oops is a vital component of Java, as you can seeBut that OOPS is so manual. Just wait until the predictive adaptive OOPS JIT JVMs. So that you're code can have if(myString == "wrong"){......}, but the JVM sees if(myString.equals("right")){......} Now THAT's OOPS support!
    Come to think of it, discussions with SO's have this characteristic. Although it usually goes the other way: myString == "right" --> myString == "wrong" ;)
    Regards,
    Nathan

  • Mp3 support in Java

    I want to write a decent multi-media player in Java so I can run it on both Linux and Windows. As of yet however, I have not come across any support in Java for the mp3 format. It supports .au and .wav files, but I have yet to see mp3 support. Does anyone have any experience of working with mp3's in Java? I'd appreciate greatly any help.

    Hi,
    type "JMF" in the search field and search for it - its the Java Media Framework, a kind of add-on you can use for that.A Media player is provided too by JMF as example application. Have fun ...
    greetings Marsian

  • Queries on Mac OS X support for Java 1.3

    Hi All
    I am having some trouble figuring out how to make Swing based Applets
    work on Mac OS X. Can anybody help me ?
    Queries on Mac OS X support for Java 1.3
    1) Will a Java Applet compiled using Java 1.3 run on "Mac OS X" without the need for a Plugin.? This includes Applets using Swing since we compiled using 1.3.
    2) I tried to run some Java 1.3 applets compiled using 1.3.1-04.
    Unfortunately, the Applets wouldn't run.
    Is there some setting in Mac OS X that i need to change or modify for the Applet to work ?
    3) When i open a Terminal in Mac OS X and type Java -version, i get
    "------ Java 1.3---------".
    This implies that Mac OS X supports the Java 1.3 SDK. Does it imply that it supports the runtime as well since this is usually the case ?.
    If it supports the runtime, then does this inculde support for Swing.
    Finally, as i enquired in '(1)' does this mean that i do not need any plugin(MRJ) to make Swing based applets work.
    Thanks and regards
    Prashanth

    What I am seeing is that Java is throwing a security error when file io is initiated by an external call from Javascript to a file on the server that java should have access to. Here is the error.
    <<< ProxyClassLoader: defined LiveConnectProxy class. >>>
    <<< Here're the permissions you've got: >>>
    <<< java.security.Permissions@157402b (
    (java.net.SocketPermission www.dhba.com connect,accept,resolve)
    >>>
    VirtualLab.loadProblemSpecification: properties file=assignments/Walkthough.xml
    http://www.dhba.com/wested/applet/assignments/Walkthough.xml not retrieved
    java.security.AccessControlException: access denied (java.io.FilePermission assignments/Walkthough.xml read)
    My system:
    Mac OSX10.6.4 with Firefox3.6.12 (Java Plug-in 1.6.0_22 Using JRE version 1.6.0_22-b04-307-10M3261 Java HotSpot(TM) Client VM)

  • MQSeries 5.2 still support old Java API 1.1.8 ?

    We are using MQseries 5.1 and java 1.1.8. now we are upgrading to MQseries 5.2, do we need java 1.2 or 1.3.
    does the MQSeries 5.2 still support old Java API 1.1.8 ?
    thanks
    Rupinder

    Not according to the documentation which says MQSeries 5.2 has a dependency on JDK1.2.2 or later.
    Having said that, I have managed to get some JMS functions to work under JDK1.1.8.
    I have had a problem when using JMS to GET a message from our mainframe QMgr but not from our Unix QMgr. This runs ok when using JDK1.2.2,
    Regards
    Chris

  • How to increase font size in Java script alert message

    Is anybody know how to increase font size in Java script alert message
    THanks in Advance ....

    Hi,
    You can NOT do it with Javascript.
    You need an alternative solution: http://www.apex-plugin.com/oracle-apex-plugins/dynamic-action-plugin/popup-box_84.html
    Tobias

  • Version of Unicode supported by Java 1.3.1 and 1.4

    Does anyone know exactly which versions of Unicode are supported and NOT supported by Java 1.3.1 and 1.4? My understanding is that v2 and v3.00 are supported in 1.3.1, but not sure about v1.x. Java 1.4.0 supports v3.0x (not 3.1), but what about Unicode v2.x or v1.x? Is there a list somewhere?

    J2RE 1.3.1 provides Unicode 2.1 support. J2RE 1.4 now supports Unicode 3.0. By "support" I mean that:
    1. Unicode character properties are available.
    2. Collation and break iterators should work.
    3. Case map operations should work.
    It would be nice if Character provided an API like getUnicodeVersion(). The javadoc for Character does tell what Unicode version is supported...at least in 1.4.
    J2RE 1.4 does not support Unicode 3.1 or 3.2 because the Unicode specs were not stable at the time the J2RE 1.4 specs were solidified. The Java I18N team is committed to tracking the evolving Unicode standard. The next major release of the Java platform will most likely support the existing version of Unicode at that time.
    Regards,
    John O'Conner

  • New in Kodo 3.3.3: Improved support for Java 5 enums and generics?

    Hello,
    Can anybody tell me if Kodo 3.3.3 can be deployed on WebLogic 8.1 sp4, jdk
    1.4.1? The reason I ask this is because one of the features mentioned for
    v3.3.3 is the support for Java 5 generics, which is available on WebLogic
    9 -- but not in WebLogic 8.1 sp4. The documentation for Kodo 3.3.3 seems
    to indicate that it can be deployed on WebLogic 8.1 -- can anyone tell me
    if this is accurate?
    Thanks for your help!

    Correction:
    I think that my question may have been misunderstood. What I want to know
    is if Kodo 3.3.3 can be deployed on WebLogic 8.1sp4 which is running JDK
    1.4 or do I have to deploy on a newer version of WebLogic that is running
    Java 5?
    Thanks!
    Rita wrote:
    I think that my question may have been misunderstood. What I want to know
    is if Kodo 3.3.3 can be deployed on WebLogic 8.1sp4 which is running JDK
    1.4 or do I have to deploy on a newer version of WebLogic that is running
    Java 4?
    Thanks!
    Stephen Kim wrote:
    Rita,
    While Kodo 3.3.x can work with JDK 5, it cannot make WL work with JDK 5.
    However, Kodo 3.4 RC 3 / 4.0 EA 2 both can work with WL 9 (which works
    with JDK 5).
    Rita wrote:
    Hello,
    Can anybody tell me if Kodo 3.3.3 can be deployed on WebLogic 8.1 sp4,
    jdk
    1.4.1? The reason I ask this is because one of the features mentionedfor
    v3.3.3 is the support for Java 5 generics, which is available on WebLogic
    9 -- but not in WebLogic 8.1 sp4. The documentation for Kodo 3.3.3 seems
    to indicate that it can be deployed on WebLogic 8.1 -- can anyone tell me
    if this is accurate?
    Thanks for your help!
    Steve Kim
    [email protected]
    SolarMetric Inc.
    http://www.solarmetric.com

  • Are there some Font supporting all utf-16 code including all supplementary?

    Are there some Font supporting all utf-16 code including all supplementary code?
    In an application, I need to show some text encoded in utf-16, which is multilingual and
    Have some of supplementary character, so want to know a font to show it correctly? While find nothing from the internet, so anybody can instruct me will be very appreciated&#65281;Looking forward to your response, thanks.
    Message was edited by:
    passenger2007

    Probably not. you might find some fonts listed her that support what you are interested in.
    http://www.google.com/search?q=font+that+supports+all+unicode+characters

  • Which font supported in Arabic language

    Hi There,
    Can somebody please suggest me how to develop Arabic language course. witch font support in this language. i am using captivate 6.
    Looking forward for help.
    Thanks,
    Srikanth

    Language support is outside of Captivate. As long as you have the font installed in your system, it will work in Captivate.
    Sreekanth

Maybe you are looking for

  • Standard io

    hi! I have written a program which can read inputs from the System keyboard.i have used Buffered Reader & i am reading line by line using the readLine() method. the problem i am facing is everytime i type some value unto the console,i have to press t

  • "unable to read or write to disk.."?

    when i connect my ipod to my computer to put songs onto it, it acts like it is working and then a window pops up that says something about not being able to read or write to the disk. i've upgraded the software and reset my ipod, but still nothing..

  • Remote Start SAP DI instance from CI

    How to start SAP dispatch instance from central instance? There is a known bug that whenever database restarted, the DI instance will lost database connection, if no user is connected. This is causing background job to miss the schedule. I'm thinking

  • HP Photosmart scanning on Mac 10.7.4 - Crashes Preview app

    I have been using the scanner function on the Photosmart with my Mac for 2-3 years and suddenly I cannot scan more than one page. Preview crashes each time I try to scan multiple pages and sends off an error report. Why has this suddenly started happ

  • Osx 10.6.8

    Hi there, how can i merge different pdf files in one and reduce the file size on a minimum of 5 MB? on an older adobe version i was able to merge various pdf documents into 1. which of the versions allows it? - thanks for help!