Using Greek alphabet in JTextArea...

Hey, guys!
I'm a newbie that has a problem (named in the subject). I'm working on an applet that has a JTextArea in it. It has to be filled with mathematical data using Greek characters (alpha, beta...). How do I do that?
Thanks in advance!

Thanks for your answer.
And how do I generate Greek characters? I'm sorry if I'm being a bore, but like I said, I'm a total Java - newbie...
I can't find this in the tutorials...
Any help would be appreciated.

Similar Messages

  • How can I use the Greek alphabet in Appleworks?

    I need occasional Greek letters for scientific writing, and I usually use Appleworks 6.2.9 for word processing. I have activated the Greek alphabet through my iMac's Character Palette and can use it TextEdit, but not in Appleworks. Nor can I cut and paste Greek letters from TextEdit to Appleworks - they transpose as question marks. Anyone know of a solution?

    Hi John,
    AppleWorks is an old application, and can use only Mac Roman encoded fonts. Most of the fonts supplied with current Macs are Unicode encoded, and cannot be used in AppleWorks. Character Palette will show all the characters, and will report the Unicode character number for Unicode encoded characters.
    There are a few Greek letters available in some standard font sets, and you can see these and the key combination necessary to achieve them in Keyboard Viewer.
    Beyond thise, your choices are to find a downloadable Greek font with Mac Roman encoding, or to move your scientific work to a newer application.
    Regards,
    Barry

  • How to Display Greek Alphabets..

    Hi,
    I want to assign Key combinations to display greek alphabets. How do I modify the windows font.properties file to include the Greek Characters ? I don't wish to use internationalization as I want to display the greek characters as I type on the keyboard. I've done this for German, French, Spanish and Italian - for the accented characters only as they are supported. how do i get Windows to support Greek ?
    Thankyou.

    Hi,
    please give some more details and I'll try to help. What have you tried so far and what problems did you run into?
    Regards,
    Joe

  • When I use Greek accenting and polytonic characters in a title, Final Cut Pro X quits unexpectedly. What should I do?

    When I try to write a title in Greek using the Greek alphabet, Final Cut Pro X quits unexpectedly, the moment I press the button for the Greek accenting (" ' "). This happens only when I press the button. If for example, I write the title in TextEdit and then copy paste it in FCPX then the title is pasted correctly and the program does not quit.
    An example of title: "Εγώ", so as soon as I press the accenting and then "ω", then everything freezes and FCPX quits.
    It must be a bug, but it really causes a problem. Temporarlily, I always c/p to textEdit and then paste it to FCPX. But I am also using Polytonic Greek system (fonts), so it is a bugger to always c/p. Is there a solution to this?
    Thank you.

    This seems to be a bug, as there was another thread that reported this exact same problem but using Finnish (I believe).
    Do you have Motion? You can try doing your titles there and then export/import into FCPX.

  • Trying to write greek alphabet to g2d

    I'm trying to create a little exercise that will write the greek alphabet on a Graphics2D. Unfortunately the g2d seems to be using the latin0 character map. Is there a way to make it use ISO-8859-7 character set? (BTW, the problem is a little more broad than it sounds. I cannot currently display Russian or other characters).
    Thanks
    j_alan

    I suspect you need to understand how Java uses unicode (see the Character documentation, but in short: not all (in fact most) Unicode character don't fit in a primitive char.
    import java.awt.Dimension;
    import java.awt.EventQueue;
    import java.awt.Font;
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import java.awt.Rectangle;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    public class PaintText extends JPanel {
        private final Font theFont = new Font("Times New Roman", Font.PLAIN, 18);
        private final String text;
        public PaintText() {
            setPreferredSize(new Dimension(Short.MAX_VALUE, Short.MAX_VALUE));
            StringBuffer res = new StringBuffer();
            // See Character
            for (int i = 0x0000; i < 0x10FFFF; i++) {
                if (theFont.canDisplay(i)) {
                    res.append(Character.toChars(i)).append(' ');
            text = res.toString();
        private void paintString(Graphics2D g2d, int x, int y, String theString) {
            int lineHeight = theFont.getSize() + 15;
            char[] stringArray = theString.toCharArray();
            Rectangle bounds = g2d.getClipBounds();
            g2d.setFont(theFont);
            int max = stringArray.length - 50;
            for (int i = 0; i < max; i += 50) {
                if(y > bounds.y + bounds.height + lineHeight) {
                    return;
                else if(y >= bounds.y - lineHeight) {
                    g2d.drawChars(stringArray, i, 50, x, y);
                y += lineHeight;
            // print the last part.
            g2d.drawChars(stringArray, theString.length() / 50 * 50, theString.length() % 50, x, y);
        @Override
        public void paintComponent(Graphics g) {
            super.paintComponent(g);
            Graphics2D g2d = (Graphics2D) g;
            paintString(g2d, 20, 20, text);
        public static void main(String[] args) {
            EventQueue.invokeLater(new Runnable() {
                @Override
                public void run() {
                    JFrame frame = new JFrame("Test");
                    frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
                    frame.getContentPane().add(new JScrollPane(new PaintText()));
                    frame.setPreferredSize(new Dimension(800, 600));
                    frame.pack();
                    frame.setLocationRelativeTo(null);
                    frame.setVisible(true);
    }

  • Dreamweaver.setUpFindReplace() and the Greek Alphabet

    I've set up a script to clean up special characters with the following:
    var counter = 0;
    while (counter < autofind.length) {
    //get a value to find
    var autofindstring = autofind[counter].toString()
    //get a value to replace
    var autorepstring = autorep[counter].toString()
    dreamweaver.setUpFindReplace({searchString: autofindstring, replaceString: autorepstring, searchSource: true, ignoreWhitespace: true, matchCase: true});
    dreamweaver.replaceAll();
    counter++
    This is calling from 2 arrays - autofind and autorep. Autofind contains raw special characters, and autorep their &#** replacements.
    The trouble I'm having is getting Dreamweaver to understand the difference between uppercase and lowercase Greek letters. For example:
    autofind[112] = "α"
    autofind[146] = "Α"
    autorep[112] = "\&#945;"
    autorep[146] = "\&#913;"
    replaces Α α with &#945; &#945; (α α).
    So it appears that Dreamweaver does not understand that the Greek Alphabet has upper and lower case - or recognize that Α and α are different characters. Any ideas on how to get this script to work? It's handling all other special characters well - the only problem is with the Greek alphabet.

    Hi John,
    AppleWorks is an old application, and can use only Mac Roman encoded fonts. Most of the fonts supplied with current Macs are Unicode encoded, and cannot be used in AppleWorks. Character Palette will show all the characters, and will report the Unicode character number for Unicode encoded characters.
    There are a few Greek letters available in some standard font sets, and you can see these and the key combination necessary to achieve them in Keyboard Viewer.
    Beyond thise, your choices are to find a downloadable Greek font with Mac Roman encoding, or to move your scientific work to a newer application.
    Regards,
    Barry

  • How can I use Greek symbols in a text in Pages? Greek symbols are not in the special character list.

    How can I use Greek symbols in a Pages text? Greek symbols are not included in the special character collection.
    I need to import for example a sigma from Word or Adobe illustrator and then Pages can recognise it. I can not find it from within Pages.

    Special character palette from the edit menu does have sigmas under European ... > Greek ...
    You can do a search at the bottom of the Special Character palette. Double click on the greek capital letter sigma. You will get a lot of sigmas.

  • How can I access and use the alphabetical keyboard of the phone ?

    How can I access and use the alphabetical keyboard of the phone ? I cannot find the answer in the manual of use.  Thanks for your help !

    Recently I was abroad and tried to contact my voicemail to check my messages. I was asked to enter a password and did not know how to use the letters below the figures on the keyboard.  I had to give up and wait until I was back in my country (no password is then needed).

  • After updating with ios7, I cannot proceed because I cannot enter my password since it uses Greek letters but the keyboard available is Latin. How can I change the keyboard to Greek?

    After updating with ios7, I cannot proceed because I cannot enter my password since it uses Greek letters but the keyboard available is Latin. How can I change the keyboard to Greek?

    try tapping holding on the key that would be most similar to the letter you want to enter, that will bring up a menu of other characters similar to that character and maybe the greek letter will be included in that menu

  • Can I use Greek language in a post?

    Can I use Greek language in a post?

    Thank you. I just want to answer in Greek to a post. It's more easy for me.

  • Is there a fix if greek keyboard is deleted but lockscreen password uses greek keyboard?

    Is there a fix or bi-pass when locksceen password uses greek keyboard, but greek keyboard was later deleted?

    Welcome to Apple Support Communities.
    There was never a formal recall for the 'chipping' problem.
    Many people have had the 'topcase' replaced at no charge by their nearest Apple Store. I had my topcase replaced in mid-2010 at no charge by the Apple Store in Indianapolis.
    The problem now is that Apple designated the 2006-2007 polycarbonate MacBooks as 'vintage', and they no longer carry replacement parts in stores. The Apple genius I spoke with last summer looked up the serial number of my mid-2007 MacBook and encouraged me to look online. I've seen 'gently used' topcases for as little as $50 online, plus shipping.
    I used transparent packing tape to seal the chipped edges.
    Message was edited by: kostby

  • Using JCheckBox, JButton and JTextArea with JDBC

    Hello shlumph and SoulTech2012.
    thanks for the reply. I�m wondering do any of you have links to web pages that include tutorials and source code on using JCheckBox, JButton and JTextArea with JDBC. would any of you who have experience with using JCheckBox, JButton, JTextArea and JDBC together be able to give me a few tips on how to select certain data from a table using JCheckBox, JButton and display the data in a JTextArea? examples of such data could be CD/DVD/Game data - i want users of my video library system to be able to view CD/DVD/Game information by name, age category, type and year. Users should be able to click on a check box (e.g. view by name, age category, type or year) and press a button. What would happen then is that data from the Product table would appear in the text area (which could be placed beneath the check box + button inside a frame and/or panel).
    Thank you very much for your help.

    Quit triple posting and cross posting your questions all over the forum. You already have a posting in this forum on this topic and another posting in the Swing forum and another posting in the Programming forum.

  • Generate PDF file from a report using greek characters

    Dear all,
    I tried to generate a PDF file from a Report having greek characters on it.While in previewer I could see everything OK, when PDF file was generated all greek characters had been substituted by symbols...
    Any ideas, suggestions and workarounds are welcome.
    Thanx a lot!

    hi Kiriakos,
    which version are you using ?
    please test this with reports 9i since PDF support
    has been enhanced there.
    to test i would suggest to run the report from rwclient
    as well and specify desformat=pdf and to a generate to
    file within builder to see if the same behavior occurs.
    if this problem reproduces there as well i suggest
    to contact oracle support to log the problem.
    regards,
    christian

  • How to use ZoneView in a JTextArea or JTextPane?

    i would like to view an large file (25MB with about 600.000 rows) in a JTextArea or JTextPane. As I know the JTextArea creates for each line of the document at least one object, due to this fact it consumes about 330MB (for the file mentioned above) of memory and is useless. Now i found the ZoneView/AsyncBoxView for displaying and consuming memory only for the zone which has to be displayed. But how can i use the ZoneView in a JTextArea? Any examples?
    Thanx,
    Oliver

    Hi Folks:
    I would like some examples of using ZoneView as well. I read 1Mb files and convert them to strings and them attempt to render that entire string onto a JTextPane. As I understand it, ZoneView will improve the time to render the string on the JTextPane.
    My code is something like:
    final String fileToString = readInput();
    textPane.setText(fileToString);
    //readInput() is a file reader method
    The files (or strings) have upwards of 1000 lines; this takes a coupla minutes to render on a text pane.
    Hopefully they will post an example of ZoneView soon. Or maybe put it on the Question of the Week?!
    -Ben

  • Using the Alphabets & + in keypad

    When I make a international call on a BB or other phone, I end up typing  "+ <countrycode> <number>"
    How to use the "+" on the iPhone keypad?
    Can the alphabets be used to dial using the name of the contact? Smart phones have the feature to select users with the keypad. Is my iPhone4 smart enough??
    For selcting James I can go  5 2 6 3 7 and then all contacts line up that start with J A M etc etc..
    I hope there is soem app which can help me do that..
    pls help..
    Ash

    How to use the "+" on the iPhone keypad?
    Press and hold the zero key to type a +
    For selcting James I can go  5 2 6 3 7 and then all contacts line up that start with J A M etc etc..
    Since the iPhone has a touchscreen locating contacts is different to a phone with a physical keyboard.
    Go to the Contacts screen and slide your finger up and down the alphabet on the right side of the screen and all contacts starting with the specific letter you touch are shown.
    You can also start typing the name in the Search bar at the top of the contacts list and the list will update live as you type.

Maybe you are looking for