Fonts and  colours !!!!!!

Hi all.
i have an application with a menu and a few JtextAreas.
the menu has format options such as fonts, colours etc.
when the user selects a particular font or bold or italics etc, i wish to change the font of all the text within all JTextAreas, and if another JTextArea is created, i want it to have these font properties.can anyone help with the code for changing the Default text of these JTestAreas.
many thanks,
PMac.

try this
UIManager.put("TextArea.font",new Font("MS Sans Serif",1,18));
Noah

Similar Messages

  • How to change the font and colour of the PL/SQL Editor in forms

    Hi All,
    I am fed of viewing the small fonts in the PL/SQL Editor. I am feeling stress
    in my eyes daily...Please any body help me how to change the color and font
    of the PL./SQL editor in oracle forms 6i..Thanks in Advance...

    Hi
    Thanks for the reply..
    But I personally feel that Oracle people should have done this since
    any editor should allow us to change the font and colour...any way lets
    hope that in the future releases that may happen...
    Raghu

  • Apple Mail font  and colour changes while typing!

    I'm having an issue whereby the font and colour changes back to the default while I'm typing an email!
    I have several signatures.  When I select a signature and start typing, at apparently random moments, the font reverts to the default!
    This will happen when I'm typing a line and, when it changes, if I cmd-z to undo my typing character by character - at some random point it suddenly reverts back to the signature font and colour.
    Has anyone else experienced this, and is there a cause and/or solution?
    Thanks,
    Geoff

    I'm having an issue whereby the font and colour changes back to the default while I'm typing an email!
    I have several signatures.  When I select a signature and start typing, at apparently random moments, the font reverts to the default!
    This will happen when I'm typing a line and, when it changes, if I cmd-z to undo my typing character by character - at some random point it suddenly reverts back to the signature font and colour.
    Has anyone else experienced this, and is there a cause and/or solution?
    Thanks,
    Geoff

  • Is it possible to select a permanent font and colour for my emails on mac OSX 10.9.1

    Is it possible to select a permanent font and colour for my emails on mac OSX 10.9.1

    Sadly that doesn't work, or I cant make it work for text only signature

  • Where have my fonts and colours gone?

    Keynote 6.0 has been a bitter disappointment for me.
    Its crippling emsculation from desktop tool to iPhone app has been discussed exhaustively in another string, however there are some basic functions that I am struggling with and for which there must, surely, be some immediate solution. If anyone can help me with the following I would be very grateful.
    1. When I installed 6.0 I found that all my fonts reverted to the standard ones only. Is this normal? I have tried reinstalling the additional fonts that I use but whenever I open a new presentation it substitutes standard fonts.
    2. All the proprietary colour palettes that I had set-up for specific clients disappeared when I moved to 6.0. It will takes many hours to re-enter every shade using RGB references (I have numerous clients all with unique fonts and colour palettes). Was I just unlucky or has this happened for everyone? I still have the original colour palettes on my laptop (using the previous 09 version of Keynote), can anyone tell me if I can locate the missing colour palette somewhere in the library and transfer them to my other machine for use by 6.0?
    3. Navigating up and down pages used to be easy using the Fn and up/down arrow keys. This has been deleted, has it been replaced with another shortcut or is there some other work-around that is eluding me?
    4. When I opt to view rulers and set zoom to 'fit slide in window' then open another presentation, I have to do the same again. Is it possible, somehow to set these things as defaults?
    5. Is it possible to have fully metric default adjustments for things like text tabs (instead of 1.27cm which, I know, is half-an-inch, but pretty arbitary as a metric for use in Europe)?
    I know, I should feedback my comments to Apple, but I am weary of their failure to listen and disillusioned by their obsession with iOS technophobes but, however misguided I think their strategy, I would just love to be able to carry on working with Keynote and Pages.
    I must say, having spend the last ten years trying to wean clients of PowerPoint and Word and onto iWork I now have more egg than Apple on my chin.

    Ornella-
    Most of the time in these cases, the user has more than one email and therefore more than one revel account. When you were logged in before, was it with a different email, or google or facebook? My best guess is that you logged in recently with a different email.  I will send you an email so you don't have to post your email addresses online. The account using the gmail account you use on this forum was only created 7 hours ago, so it is not the same account  you were logged into previously when you added photos.
    Pattie

  • I am trying to change the font on my emails and I keep following the instructions exactly by going into preferences, fonts and colours and then choosing - then when I go out of that and back to the message it reverts to Helvetica - what step am I missing?

    I am trying to change the font on my emails; I follow the instructions exactly going to Preferences, Fonts & Colours, then I set the preference - I then go back to my message and it reverts to Helvetica. What step am I missing?

    There is a display bug, but it still works okay -
    I prefer Arial to the default Helvetica, so that's what I set -
    When I first open a new message window, it displays Helvetica as the font -
    However, as soon as I type the first character, it switches to showing Arial as the font -
    ...and actually enters in Arial.

  • Changing Logos, fonts, and colours- Which CSS elements need to be modified?

    All,
    When customizing the BPM workspace, I read the guide, but it doesn't provide a great deal of detail on what specific elements in the bpmworkspace.css file need to be altered. Does anyone have a "cheat sheet" with this information or can you point me to where I could find it?
    TIA,
    IGS

    Maybe this link could help you:
    http://download.oracle.com/docs/cd/E13154_01/bpm/docs65/workspace_customization/index.html
    There is a CSS reference guide that can help you. I am using this reference.
    regards
    Arruda

  • Mail changing fonts and text colour as I type

    I am having a problem with the text changing colour and even the font as i type replys. I have checked the defaults and the fonts and colours are set as the defaults and have never been changed. Can anyone help at all its driving me up the wall!

    2ManyDogs wrote:Do you have a wireless keyboard or mouse? Anything else you changed recently?
    Nothing's changed hardware-wise, I've been experiencing it since a re-install of Arch from the latest install media, both in Openbox and Xfce.
    I just found this thread, and I'm not sure if it's related, but it is similar since text that was not copied was pasted.  I've gone ahead and disabled TapButton 2 and 3.  I sure hope this is the solution
    If I experience it again I'll post, but in the meantime if anybody has had an issue very similar to this and has a solution other than to disable two and three finger tap, please post it.  Also, if you need config or log files, tell me.
    Last edited by Mindstormscreator (2012-08-31 01:29:26)

  • Fonts and layout changes

    Hi everyone,
    tried everything I could think of, but to no avail. Could anyone have a look and tell me why the fonts, layout of the buttons and drop shadows change in a PC Internet Explorer? In Safari (Mac) it all looks ok. In Firefox (Mac) it looks ok, except for the logo placeholder. I'm using web safe fonts and colours. iWeb '09 (3.0.1) Hmmmmm..... Any suggestions are appreciated.
    www.globalbackyard.fx3dman.com
    Robert

    IE is notoriously bad. See if the tips from Roddy's iWeb for Musicians site will help. See this page: How to get your iWeb Site to load in Internet Explorer.
    OT

  • [J2ME MIDP 2.0] Alert, how to use fonts and colors?

    good morning,
    does anyone know in which way I can use colors in an alert pop-up?
    I've done my on using the code below. I would like to have text and images centered in the screen display and I would also like to use the colors I'm using in the application I'm writing.
    thx in advice,
    Omar
    private void alertDisplay(String s){   
        Alert a = new Alert("Location set to " + s.toUpperCase());   
        if(s.startsWith("H"))
          a.setImage(hOn);
        else
          a.setImage(oOn); 
        a.setString("Actual Location: " + s.toUpperCase());
        a.setTimeout(2000);
        a.setType(AlertType.INFO);
        Display.getDisplay(this).setCurrent(a);
        Display.getDisplay(this).vibrate(1000);
        Display.getDisplay(this).flashBacklight(1000);
      }

    Hi,
    The way how an Alert looks like cannot be influenced. When setting an image, you cannot indicate where that image should be placed. When setting a certain message text, you cannot influence its colour, its font and its allignment...
    The colour and font properties are theme / skin dependent on your mobile. When switching your mobile to another theme, then you will notice that your Alerts (and Forms and Lists, etc etc...) are coloured (titlebar, command softkeys, textfields) according to that theme.
    Cheers,
    Jasper

  • How can I see the size and colour of text in DW Cs5?

    Hi forum, how do you see the size and colour of a piece of text in Dreamweaver Cs5, I have some text in a dreamweaver file which is a size I like and a colour I like and I want to make a CSS rule with these characteristics. How can you see what size and colour a piece of text is?
    Many thanks for any help
    Gareth

    <td height="89" colspan="5" valign="top"><p><font color="#FF0066" size="-1" face="Arial, Helvetica, sans-serif">what is the text size, colour and boldness of this piece of text.</font></p></td>
    Above code is deprecated.  CS5 will not pick up these styles in the CSS styles panel.  Legacy sites are not simple to work with.  They need to be converted to  modern standards.  You do this by stripping the HTML styles from markup  and re-writing styles to CSS.
    <p>This is a normal paragraph</p>
    Put your CSS styles between your document's <head> and </head> tags:
    <style type="text/css">
    p {
    color: #FF0066;
    font-size: small;
    font-family: Arial, Helvetica, sans-serif;
    </style>
    Or, create an external stylesheet to which your HTML documents are linked like this:
    http://alt-web.com/DEMOS/DW-Link-Stylesheet.shtml
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • Setting font and color TextItems

    This script is failing to set font, and how can I set font color?; I am new to PS Scripting:
         var originalUnit = preferences.rulerUnits
          preferences.rulerUnits = Units.INCHES
         var docRef = app.documents.add( 11, 17, 300, "Test", NewDocumentMode.CMYK)
        MyLayer = docRef.artLayers.add()
         MyLayer.kind = LayerKind.TEXT
         var myFont = app.fonts.getByName("ArialMT");
         // Set the contents of the text layer.
         var textItemRef = MyLayer.textItem
         textItemRef.font = myFont;
         textItemRef.size = UnitValue(36, 'pt');
         textItemRef.font = '_Aviano-Regular';
         textItemRef.style = "Italic";
         textItemRef.contents = "Sample Text";
         // Restore original ruler unit setting
          app.preferences.rulerUnits = originalUnit
    Thanks

    The font needs to be the postscript name, this will give you a list of them.
    var Dlog =
    "dialog{text:'Script Interface',bounds:[100,100,500,270],"+
    "FontName:DropDownList{bounds:[30,40,370,60]},"+
    "PostScriptName:DropDownList{bounds:[30,100,370,120]},"+
    "statictext0:StaticText{bounds:[40,10,200,30] , text:'Font Name'},"+
    "statictext1:StaticText{bounds:[40,70,141,87] , text:'Postscript Name'},"+
    "button0:Button{bounds:[140,130,240,150] , text:'Ok' }}";
    win = new Window(Dlog,"Use the Postscript Name in your script.");
    var item;
    var item2;
    for (var i=0,len=app.fonts.length;i<len;i++) {
      item = win.FontName.add ('item', "" + app.fonts[i].name);
      item2 = win.PostScriptName.add ('item', "" + app.fonts[i].postScriptName);   
    win.FontName.selection = win.FontName.items[0] ;
    win.PostScriptName.selection = win.PostScriptName.items[0] ;
    win.FontName.onChange = function() {
    win.PostScriptName.selection = win.PostScriptName.items[parseInt(this.selection)] ;
    $.writeln(win.PostScriptName.items[parseInt(this.selection)]);
    win.PostScriptName.onChange = function() {
    win.FontName.selection = win.FontName.items[parseInt(this.selection)] ;
    win.center();
    win.show();
    Here is your code with colour addded...
         var originalUnit = preferences.rulerUnits
          preferences.rulerUnits = Units.INCHES
          var FillColor = new SolidColor;
        FillColor.rgb.hexValue = 'ff0000';
         var docRef = app.documents.add( 11, 17, 300, "Test", NewDocumentMode.CMYK)
        MyLayer = docRef.artLayers.add()
         MyLayer.kind = LayerKind.TEXT
         var myFont = "ArialMT";
         // Set the contents of the text layer.
         var textItemRef = MyLayer.textItem
         textItemRef.font = myFont;
         textItemRef.size = UnitValue(36, 'pt');
         textItemRef.font = myFont;
         //textItemRef.style = "Italic";
         textItemRef.fauxItalic = true;
         textItemRef.contents = "Sample Text";
         textItemRef.color = FillColor;
         // Restore original ruler unit setting
          app.preferences.rulerUnits = originalUnit

  • Fonts and Infinality

    This is not so much of an issue as more a query to test I understand this correctly. Basically I installed the ubuntu patch fonts to get what I felt might be more attractive fonts, but it turned out too blurry for my liking, moreso than actual Ubuntu. Then I read a recommendation for Infinality and installed it instead and I do agree it's much better. Had a read through the wiki, because althouhg I'm largely happy theres a few things like the font in emacs or open office are a bit more blurred than I'd like, additionally I'm seeing a tad bit of colour at the edges of my mostly white fonts, mostly a slight bit of red. Now looking at infinality, it strikes me most of the configuration goes on in the infinality settings file in the /etc/profile.d directory, because the font.conf and .Xdefaults valies are given and you are told to use them with infinality. So to get a slightly more sharper font with a bit less of this colour on the white I'm guessing that the INFINALITY_FT_FILTER_PARAMS, and maybe gamma and boldening settings are what I want to look into - currently everything is default.
    It really is only a minor annoyance, it's not stopping me from working or enjoying my system, just an aspect of configuring my system I haven't done yet and is new territory.
    Cheers,
    Ben.
    [EDIT] Aliasing (just read the term meaning on wikipedia) might also be something I want to look at because of blurring and colours distortion, although I'm guessing this is handled elsewhere than infinality settings.

    Ben9250 wrote:
    This is not so much of an issue as more a query to test I understand this correctly. Basically I installed the ubuntu patch fonts to get what I felt might be more attractive fonts, but it turned out too blurry for my liking, moreso than actual Ubuntu. Then I read a recommendation for Infinality and installed it instead and I do agree it's much better. Had a read through the wiki, because althouhg I'm largely happy theres a few things like the font in emacs or open office are a bit more blurred than I'd like, additionally I'm seeing a tad bit of colour at the edges of my mostly white fonts, mostly a slight bit of red. Now looking at infinality, it strikes me most of the configuration goes on in the infinality settings file in the /etc/profile.d directory, because the font.conf and .Xdefaults valies are given and you are told to use them with infinality. So to get a slightly more sharper font with a bit less of this colour on the white I'm guessing that the INFINALITY_FT_FILTER_PARAMS, and maybe gamma and boldening settings are what I want to look into - currently everything is default.
    It really is only a minor annoyance, it's not stopping me from working or enjoying my system, just an aspect of configuring my system I haven't done yet and is new territory.
    Cheers,
    Ben.
    [EDIT] Aliasing (just read the term meaning on wikipedia) might also be something I want to look at because of blurring and colours distortion, although I'm guessing this is handled elsewhere than infinality settings.
    You're right that INFINALITY_FT_FILTER_PARAMS is what you want to tweak to get smoother or sharper LCD filtering. You probably still want subpixel rendering and antialiasing enabled. Just try out the different LCD filter examples there, the default one is very smoothed/blurry.
    Last edited by thestinger (2010-12-16 19:48:10)

  • Font and Photo not displaying messages

    When using messages in OS X Mavericks my buddies photo is displayed against the bubble, howevermy photi is not displayed next to my bubble.  I have checked and I do have a photo associated with my account.  Also if I checnge the look and feel of my bubbles by changing the font type the change works for my buddies bubble but no matter what changes I make to my own bubble it always displays in the default font.

    Hi,
    By Default the image used in Messages is the one associated with the Buddy Lists.
    If you have only the iMessages account in use  it will fall back on using the Pic in the My Card in the Contacts list - this is turn is likely to be the pic you chose on creating the Login Pic shown in System Preferences> User and Groups > Your account.
    That is  to say that when you set up the Mac or the Mac User Account you chose the Login Pic.
    This is then added to the Contacts App as the My Card pic when you add your Name to the details.
    That pic is then used as the Default in Messages (including the iMessages account) until such time you change th Buddy List pic.
    For this you need to enable at least the Bonjour account in Messages > Preferences > Accounts
    Then from the Window Menu you can display the Buddy List(s).  (They can be separated out by the setting in the General Section (of the Preferences) that refers to "showing all Buddy List in one List").
    Once there is a  Buddy List Pic then the iMessages account uses this.
    The Menu item that seems to refer to change the Pic only refers to Changing it for the Buddy lists - but as a consequence it then uses it for the iMessages account.
    FONTS.
    The Font is changed in Messages > Preferences> Viewing.
    However the background colour has to be taken of Automatic first.
    The Background can be any of the options or the item at the bottom of the drop down allows you to alter the colour to anything you want.
    THEN you can change the Font and it will stick and not revert to Helvetica.
    The Font Text colour can also be changed.
    These Details are written to a file called com.apple.ichat.plist
    If you have lost the ability to Write to this item then they also will not stick.
    Let me know if this is the case and we can pursue that if the other options don't work.
    8:25 pm      Saturday; March 29, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • Fonts and Colors

    Ok in iChat I have a certain font and blue font color for my text. Unfortunattly a lot of my friends do not have Macs, so they don't use iChat. When I type a message in the typing box it starts out black. But when I send it I see blue, but my friends see the default text and black color. So then I tried going to the Text and Color editor thing. And each time I was going to send a message I changed the color to blue. When I did that, while I was typing I could see blue text instead of black. But when I sent it my friends could still only see black, but I still saw blue.
    So is it because they have windows that iChat can't convert the text and colors or something? If there is no way now, are they any high hopes that there will in the future?

    Hi,
    AS far as I can make out AIM displays the Text is Black and ascribes a Colour to the name of the person who sent the message. I don't think this colour even has anything to do with the iChat Bubble or Font Colour even if you change the colour of the text as you type (which you can also do).
    Proteus a Mac app can display messages like iChat can (in Coloured bubbles and coloured text).
    Unfortunately it seems that it is no longer available even if you do have a Mac.
    8:40 PM Monday; February 26, 2007

Maybe you are looking for

  • Apple Studio Display 19.8" appears out of focus

    Display: 1344 X 1008, 100Hz, cols. millions. Resolution/colours look good, but screen does appear to be slightly out of focus, text a bit fuzzy. Which is no good for a graphic pro.! No its not me and my out of focus glasses! I use an Apple Cinema Dis

  • TV and title safe .... exporting???

    Hi I'm exporting a clip to post to my blog and I've moved a few shots up and they are all in safe title and TV safe BUT when they export you can see what's underneath the clip????? That should not be happening? Please help? Thanks

  • MacBook Pro The application "Preview" can't be opened. -1712

    Hello community, My MacBook Pro Processor 2.4 GHz Memory 4 GB Storage capacity 19.31 GB free out of 249.2 GB OS X.9.4 The application "Preview" can't be opened. -1712 I have gone on line to look up possible fixes. 1. I did: Go to Applications: Utilit

  • SAP CRM: Funds Management

    Hi I have managed to setup the following: Funds Plan Funds Funds Usage WBS in ECC Purchase / Service in CRM creating Purchase req in ECC I have now activated the RCRM_MKTPL_PURCH_ACTUAL_ERP. I am getting the following information message in the log:

  • Help needed with a watch folder

    good morning, Im doing a workbench process to remove my paswords and extended privs on a given PDF and then send the final copy to my desktop. Right now i have it working except for the part where i want the watchFolder to dump the result on my deskt