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

  • Mavericks: Frequent freezes 8-10 minutes duration - MacBookPro

    Grateful for  tips. My MacBook Pro can freeze for periods of 8-10 minutes. Earlier I thought it was permanent hangups so after 3-4 minutes I did reboot. After reading some discussions here and also on Sophos I found that some persons had waited for s

  • MyFace Configuration

    I've googled this to death, and have seen folks having similar problems, but no resolutions. What I'm doing seems very straight forward, but I get the following exception. "org.apache.jasper.JasperException: ExtensionsFilter not correctly configured.

  • IWeb Templates - Changing Photos

    I am new to iweb, so when I was trying to create a blog tonight I was a little confused on how to change the stock photos that come with the templates... is there a way to do that? Thanks!

  • SB Live 5.1 or Value? SB0

    Dear All, I bought a Sound Card: SB Li've 5.. I have used this card well and it has worked 00%. After new installation of my Win XP with SP2 I can not install my sound card anymore. My problem is I lost the Driver-CD and all files that I have downloa

  • Safari hanging up "Page not Found" on MANY websites since 7.1.3 update installed earlier today

    It's slowly gotten better on some sites the past couple of hours, but still won't open things like Yahoo or Amazon. I also can't log in to Blizzard's Battle Net (not Safari related). Everything was working just fine until I okay'd the security and sa