JTextArea_FontProblem

Hi all,
I have one Screen full JTextArea...on the window following two check
boxes, one combobox.In the combo box when i select the item and
check the check box immediately the text in the JtextArea should be
changed into the size whatever I selected from the combobox.
Here what my problem is the Font whatever iam selecting
like 6,8,12,20,24,70,80,90,110 that font is not reflecting in the
TextArea as it is ? what might be the problem ?
The following is the code snippet i used
if (NegritaTofChb.isSelected()) {
                         textoTeFTxa.setFont(new Font(names[imprimirBean
                                   .getTipoFuenteDrl()], Font.BOLD, imprimirBean
                                   .getTamanoDrl()));
                         imprimirBean.setNegritaTof(true);
                    } else {
                         textoTeFTxa.setFont(new Font(names[imprimirBean
                                   .getTipoFuenteDrl()], Font.PLAIN, imprimirBean
                                   .getTamanoDrl()));
                         imprimirBean.setNegritaTof(false);
               }can any body help in this scenerio.....thanks

Thanks....it is working fine................
One more problem regarding this is when the Application running
my window will prepare a .txt file in the specified folder ....when explicitly open the file that was not being in the normal format ....
i think it's in ANSI format ? How to get that Format in normal format
when i open it directly......
Thanks

Similar Messages

Maybe you are looking for

  • Internal HD upgrade or external HD for my Macbook Pro (Late 2008)

    Hello, I am finding the 250gb internal hard drive not enough and want to upgrade to a 500gb/1tb hard drive for my macbook pro (late 2008 edition). What I am wondering is whether to change the internal hard drive OR buy the fastest possible external h

  • Adobe Acrobat Connect Add-in 9.3 r139 has encountered a problem

    I have one particular user that cannot get into the web meetings using Acrobat Connect Add-in. We can log her on with any other PC with no problems. Something on this PC is hanging up. She gets to the login screen and can log in and accept the agreem

  • ITunes/iPod problem

    okay.. i have an iPod mini 4GB and whenever i normally plugged it into my USB port, a little box would come up and say what i would like to do. i'd normally just hit cancel but the last time i used it i decided to check the box to never bring up this

  • Javac

    I would like to be able to compile java programs on my laptop, but I can't get it to work. I have Windows XP running on an HP Pavilion laptop. So far I've uninstalled everything related to Java and reinstalled it so that I have the Java SE Developmen

  • Report csv contains nothing but OMIT repeatedly

    I have a report whose behavior I cannot explain. It is a based SQL Query based report. When I enable export to CSV, the resulting file contains a single cell with the word OMIT repeated over and over again. The query is nothing special. select t.name