Size of fonts on a String

Hi All!
I am really struggling with Java these days, as I am not good at programming but need to finish an assignment at college by using it. Could somebody tell me how I could set the size of fonts on a String and how I would be able to format it, as it'll be a paragraph? Many thanks!
Saulo

Strings are plain text. If you need to add typographical attributes you need to use AttributedString.
http://java.sun.com/j2se/1.4.1/docs/api/java/text/AttributedString.html

Similar Messages

  • How to change the default window size display font size on Lync 2013 main window?

    Hi champs,
    Just a simple non-technical question: How to change the default window size display font size on Lync 2013 main window on Windows 7 desktop?
    Thanks,

    Hi,
    Did you mean change the Lync: Change the Default Font and Color of Instant Messages just as Edwin said above?
    If not, as I know, there is no natural way to change it.
    If yes, on the latest version of Lync 2013 client, there is a new option “IM” on Lync client “Options” list. And you need to change the default Font and Color of IM in the interface of “IM”.
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • Changing the size of fonts in InDesign's menus and toolbars?

    Is it possible to change the size of fonts in InDesign's menus and toolbars? I'd love for the Control Panel at the top to be a bit easier to read.

    Thanks Bob, didn't see it anywhere but figured it was worth asking. I think the size is a little biased toward people with better vision than me but I guess I'll have to live with that.
    Jon

  • How can I increase the size of fonts and tool icons in Elements 12 ?

    The size of fonts and the icons for the tools in the tool box is too small for me to read.  Can I do anything to increase their size??

    Which version of Illustrator?
    For CC you might want to go through this:
    Illustrator CC 2014 interface size too big.
    and this
    http://feedback.photoshop.com/photoshop_family/topics/problem_with_hi_res_monitors
    for other versions
    Hack makes Photoshop and Illustrator readable on Surface Pro — Surface Pro Artist

  • Certain special characters do not display correctly in Firefox ( font COLOR="#1f1a17" FACE="Symbol" SIZE="3" ¬ /font ). Is there a fix?

    Certain special characters which display correctly in Explorer do not display correctly in Firefox. Example: <font COLOR="#1f1a17" FACE="Symbol" SIZE="3">¬</font>
    Is there a fix?

    The symbol font usually doesn't work in Firefox, a website needs to use an Unicode replacement or an HTML entity to specify such a character.
    See:
    *[https://developer.mozilla.org/en/Mozilla_Web_Developer_FAQ#Why_aren.e2.80.99t_symbol.2fdingbat_fonts_working.3f Why aren’t symbol/dingbat fonts working? - MDC FAQ]
    *http://en.wikipedia.org/wiki/Unicode_symbols
    *http://en.wikibooks.org/wiki/Unicode/Character_reference/2000-2FFF

  • How to increase size of fonts in Menu bar and in Safari toolbar?

    How to increase size of fonts in Menu bar and in Safari toolbar?  Munu bar and Safari toolbar  fonts too small on a 24" iMac screen.
    Thanks in advance !

    If you want to change the size of the font of a TextEdit text document, you do it in the preferences. Alternatively, if you want control over the size of the fonts, make it a Rich Text document, and then you can change the font size. You can either use the Larger or Smaller options, or Show Fonts to choose a size. You can elect to have new documents be Rich Text in the preferences as well.

  • How to increase size of font in Citrix

    How to increase size of font in Citrix  (while I am remoting to the desktop of my work PC)?

    Guruvulu,
    Not sure whether it helps, but try this trick: set imageSource to some transparent GIF with necessary height.
    Valery Silaev
    EPAM Systems
    http://www.NetWeaverTeam.com

  • In SAP 4.6c In classical reports output how to change Font size and Font type

    Dear Experts,
    In SAP 4.6c, in classical and interactive reports  output how to change font size and font type.
    Regards,
    Zaker.

    These are HTML formatting questions. Nothing to do with the Oracle SQL and PL/SQL languages.
    With old-style HTML, the font size and family are set using the font tag.
    With modern style HTML, that is done using cascading style sheets (CSS).
    Your favourite search engine will turn up tons of information on both.

  • In past versions of FireFox there was a view option that allowed a change in size of fonts and objects on the screen temporarily on the fly. This seems to be missing from version 6.

    In past versions of FireFox there was a view option that allowed a change in size of fonts and objects on the screen temporarily on the fly. This seems to be missing from version 6. It was very useful and needs to be added to version 6.

    You can use "Ctrl +" and "Ctrl -" to zoom pages quickly and "Ctr 0" (zero) to reset the page zoom.
    *http://kb.mozillazine.org/Zoom_text_of_web_pages
    There are also page zoom buttons in the toolbar palette in the Customize window that you can drag on a toolbar.
    Open the Customize window via "View > Toolbars > Customize" or via "Firefox > Options > Toolbar Layout"
    *http://kb.mozillazine.org/Toolbar_customization
    *https://support.mozilla.com/kb/Back+and+forward+or+other+toolbar+items+are+missing

  • Can you change size of fonts in premiere pro user interface -- the text is often so small it is hard to read

    The text is often so small it is hard to read.  It would be nice if as in the Blender animation program you can easily increase the size of fonts used in the program's user interface, through the "preferences" menu item.

    Hi Ewporter,
    Sorry, sounds like an excellent feature request, though. Make it here: http://adobe.ly/feature_request
    Thanks,
    Kevin

  • How do you print a size 2 font document on a 4 X 6 index card?

    How do you print a size 2 font document on a 4 X 6 index card?

    Some printers have a print odd or even numbered pages setting. See if yours does. Do a ⌘ + P and select 'paper handling from the pull down menu to see if your printer has this feature.
    Kurt

  • What is the default font size and font number used in OBIEE piechar Legend

    Hi Experts,
    What is the default font size and font number used in OBIEE pie-chart Legend
    Thanks
    V

    The default is font size 11, Tahoma.

  • How can i increase the font of a string

    Hi friends,
    I just wanted to know of how to increase the font size of a string,also color of dat particular string...............
    The code is like this.........
    static void setABCTitle(String strABCRange) {
    String strTitle = "Test Message";
    strABCRange = (strABCRange == null) ? "" : strABCRange .trim();
    strABCRange = strABCRange .replaceAll("to", "-");
    if(!strABCRange .equals("")) {
    strTitle =( strTitle + " : ABC Range " + strABCRange );
    mainFrame.setTitle(strTitle);
    Plzzzzz..........help me out ..........
    I just wanted to increase this font size of ABCRange and also want to put a different color for the same.......................

    Hello Chandra,
    from your code I see that you want to increase the size of the window title (Why don't you say so immediately?). AFAIK this is handled by the operating system and not by the java machine.
    I don't know a way how to achieve this. But maybe we are taught by someone more experienced in this matter.
    Regards
    J�rg

  • How do I change the size and font of the "Home" "Blog" etc links up top?

    Is it possible to change link title links of pages on iWeb? If so, how can I do that?

    So i've went to both links. After I place this:
    iweb2 navbar is rendered by javascript widget, therefore you can change navbar font style with javascript; this is an efficient way to change navbar font style.
    Copy and paste the following into your pages using HTML Snippet:
    <script type = 'text/javascript'>
    function changeNavbar() {
    navCSS = parent.document.getElementById('widget0-navbar');
    navCSS.style.fontSize = '0.75em'; // font size, change to less than 1em to change font smaller;
    navCSSbg = parent.document.getElementById('widget0-bg');
    navCSSbg.style.textAlign = 'center'; // navbar list alignment;
    clearInterval(chkNavbar);
    chkNavbar = setInterval('changeNavbar()', 500);
    note: You won't see the changes in iweb, but you will see the change when view the pages online - after publishing.
    into a HTML snippit, what do I do? I just see a box full of coding.

  • Changing the size of font in the sidebar

    Do any of your 'mac-gurus' know of a way to increase the size of the font in the side bar? I know one is able to increase the size of the folders, applications, etc but I'd love to find a way to increase the size of the 'home,' 'applications,' 'music,' "iPhoto," etc.
    Any help would be appreciated. I'm exhausted trying to find it on my own.
    Thanks!
    JMH

    http://osxhelp.com/customizing-the-finder-sidebar-in-os-x/
    (Visit the link above and search for "changing fonts")
    I don't know how reliable this information is, but it might (sadly) put a stop to your searching. It appears that we'll have to wait until 10.6 to have this particular bit of control.

Maybe you are looking for

  • What is happening here? In FF ok, IE not

    what is happening here? I have a div that is lining up horizontally 300px to the right in IE and is pushing out page not seeming to abide by the wrapper div it's in. I have tried it with a clear and without on the div itself. It is the object that is

  • How to know , when serial number in sales order is changed ?

    Hi All, I am changing Sales order line item serial number. So the equipment number and Serial number both are changed for that particular line item. But I am unable to know, what was the last Equipment number, and Last serial number for that material

  • PDF has white areas due to overprinting?

    I'm printing from a clients PDF file and it has blank white area where one of the images should be.  When I turn on simulate overprinting the graphic appears.  Is there a was to do a conversion in this pdf so that when I rasterize it inside photoshop

  • Error occured in the accounting process

    Dear Gurus, Following is the error message i am getting: Starting to account all the events created ... ORA-06508: PL/SQL: could not find program unit being called occurred in AP_ACCOU NTING_MAIN_PKG.Create_Accounting_Entry<-AP_ACCOUNTING_ENGINE_PKG.

  • Mid button won't open a new tab when clicked on url

    Normally when i click mid button on a url, it open in a new tab However recently (possibly after an update), it won't work at all Mid button scrolling is fine so its not mouse related problem (it also works in chrome and ie, just not fx) checked thos