How do I enlarge the Graphics.drawString () string

Hello
I'm sorry if my question is stupid.
I have this method

public void paint (Graphics g)
{

String s = "Java is interesting."
g.drawString (s, 40,50, 0);

}


How to enlarge the font of the String s.

Graphics class has a setFont(Font f) method.

Tags: Java

Similar Questions

  • Hi I need to know how to expand the curves adjustment Panel. For example, the curves that I need to enlarge the graphic part, so I could show on a screen at the school. Thanks, Phil

    Hi I need to know how to expand the curves adjustment Panel. For example, I need to enlarge the graphic part so that I can view on a screen at the school and work from this Panel to expand. Thanks, Phil

    You can not. At least, not directly Ben Photoshop. For example, this can be done in Gimp and Photoline, and I had hoped that developers of Photoshop team would have done this allowance now. But no, we're still stuck with a tiny curved panel, which is a real shame, because in other applications, the user can be more precise with the curves.

    If you don't need to show close-ups during class time, use Zoomit in Windows, or turn on the Magnifier in the accessibility on a Mac option.

    https://TechNet.Microsoft.com/en-us/Sysinternals/Zoomit.aspx

  • How do I enlarge the text in the "email subject/header plan '.

    in Thunderbird E-mail, the subject of the email and the message must in different plans. No problem expanding the "message text, words," in the "body" of the email. How do I enlarge the fonts or words 'text,' the "subject" in the subject/header plan? Don't want open email if I'm not sure of himself and he is not certain the opening of emails if I don't SEE the subject of the email. I'm probably not the only one with this problem.

    https://addons.Mozilla.org/en-us/Thunderbird/addon/theme-font-size-changer/

    http://chrisramsden.vfast.co.UK/3_How_to_install_Add-ons_in_Thunderbird.html

    http://KB.mozillazine.org/Bad_Eyesight_-_Thunderbird

  • How can I enlarge the letters of the text?

    How can I enlarge the letters on my e-mailb account and all the other answers I need to use more big lettering that I'm working with right now?

    Thank you!!

    On Sunday, September 9, 2012 13:21:49 + 0000, mike and ceciliamcgrath wrote:

    How can I enlarge the letters on my e-mailb account and all the other answers I need to use more big lettering that I'm working with right now?

    What email program are you using?

    In many programs, hold down the CTRL key and scrolling of the mouse
    wheel changes the size of what you see. That might work for you.
    Ken Blake, Microsoft MVP

  • HP Office Jet Pro 8600 help how do I enlarge the print on an original when it is in copy mode?

    I find it on my help screen how do I enlarge the print on a copy of an original document that I want to copy. I have Windows 7 on my computer and printer is HP Office Jet Pro 8600 wireless. I have a printer HP (3 in 1 officejet) before and it was much more user friendly. Is to use the online mode?

    Here is a link to the user manual. To get the possibility to enlarge the copies, press this option on the display of the printer, then tap SETTINGS and then select resize, use the right arrow key to scroll through the sizing options on the printer. Changing the settings of copy is covered on page 59 and 60 in the manual. I hope this helps.

  • BlackBerry Smartphones how do I enlarge the size of the clock on the home screen?

    New to BB. Just got a new 9630 Sprint of my employer.

    How do I enlarge the clock on the home screen?  I can't see the dang thing.

    Thank you

    There are not thousands, for the 9630. Perhaps at most a few hundred, probably less than 100.

    Not as much.  Look at Mobihand.com, they have a good collection, one place to look.

    In addition, hedonedesign.com is one of the coolest designers of theme around

  • How do I enlarge the letters in the mail application

    How can I enlarge the fonts in my email so that I can read?

    Hi Larry,

    If you're writing an email, you can use the fonts by right-clicking on the text and by setting a desired font size so that you can read the text you enter.

    But for couriers who come into your Inbox, you will not be able to change the font size. This is normal.

    Reference: http://answers.microsoft.com/en-us/windows/forum/windows_8-ecoms/increase-text-size-in-oulook-windows-8/24518b2b-5fbc-49b5-9e5f-be9b4649b31b

    Hope this information is useful. If you have any questions, let us know.

  • How can I enlarge the guide lines?

    How can I enlarge the guide lines?

    Al

    simple answer is you can't. You can try to change the black color may seem more dense than cyan, but the difference will be negligible

  • How to acquire and store the values of DAQmx analog voltage (I do not want the graphic, but strings and values in a chart)?

    Hello

    How acquire and store the values of voltage DAQmx?

    I tried several code example, but they can't get the chart. I don't want to chart. I want to measure exactly the analog voltage values and record these values - as an excel chart, that contains the selected channels and voltage values.

    What the example code that I can use?

    My hardware is NI PCI-6251.

    Thank you very much.


  • How can I get the graphics in the games on screen and Intel graphics card?

    Hello:

    I recently got a Compaq Presario CQ57-339wm laptop PC.

    It has Win 7 HP 64 bit installed.

    I've updated the memory up to 8 GB.

    Intel Celeron 1.5 gb CPU B800

    Intel HD graphics card.

    And there the new Chipset HM65.

    My question is this.

    While I know it will run that high end games.

    I was wondering if someone could tell me how to get "FULL SCREEN GRAPH" when you play simple games like Empire Earth, Dungeon Lords, Solitaire, chess, build a Lot, etc.?

    On a laptop with Intel Graphics awhile back I could go in the graphical control panel and select the stretch to the size of the screen option and he would give me full screen graphics.

    BUT!

    When I go into the graphics Control Panel now, I don't see this option.

    What gives?

    I do not expect to run high-end graphics, but fucking hell, I should at least be able to enjoy full-screen display size of 1366 x 768 instead of graphic image format.

    I would appreciate any help...

    Hi again:

    As I had not had a response to my question, I thought that I better go and to fend for myself.

    So I went on a search engine Bing to find a solution to my problem and I did...  Admittedly simple so I thought for those who may have the same problem I would my Solutrion that I found so here you are.

    Intel full screen game Fix.

    To set the Intel scaling of Glitch.

    #1. Right-click on the desktop and choose screen resolution.   And change the resolution to 1024 x 768.

    #2. GoTo Control Panel, click on Intel Graphics & Media. Scale option will now be avalible, select Stretch to full screen and save.

    #3. Once again right click on the desktop. And change your resolution to the Native resolution, click on I accept... You should now be set for full screen graphics in games.

  • Satellite L300D - 24 d how can I update the graphics driver?

    Hello

    How can I update the driver for my ATI Radeon 3100 graphics card. (Win Vista 32 bit)
    I download and installed the new ATI Catalyst worms. 10.12.

    If I change my graphics card options, there is always the old driver installed... Worms. 22.04.08 8.479.0.0
    Also, it is not possible to change the settings for graphic resolution higher than 1280 X 800 Pix.

    Thanks for the help,

    Fun1975

    First, you must use the page to Toshiba display driver.
    The use of other drivers can lead to highest GPU temperature and cause overheating.

    But if you want to use other drivers, you can do so at you own risk.
    In order to install another driver, go to Device Manager, mark the graphics card, then press on uninstall button.
    Then the driver should be uninstalled.

    After you restart the laptop, you can try to install the new version.

    > It is also not possible to change the settings for graphic resolution higher than 1280 X 800 Pix.
    The internal screen for laptop supports 1280 x 800 high resolution. It is not possible to choose a higher value.

  • How do I install the graphics driver that came with my Satellite A210

    Well my previous my GPU overheating problem has continued and I go back to the drivers that came with my laptop.
    Can someone guide me on how to do it?

    That's simply

    Go to the page of European driver of Toshiba and download the graphics driver from Toshiba designed for you notebook series.

    Then start the Device Manager and uninstall the graphics driver current.

    Restart the computer and then install the graphics driver downloaded on your system

    That s all ;)

  • How can I upgrade the graphics on a firebird 802?

    HP Firebird Voodoo DNA 802 product # GM339AAR #ABA S.N. {removed privacy}

    Graphics card: Nvidia NForce 760I SLI. Drivers latest have been installed

    I'd like to update the graphics but don't know how. NoPCI slots.

    Shortly after the release of the Version of the driver GeForce 266.58 WHQL GPU Nvidia GeForce 9800 S removed from the NVDISP. File INF Display Information included with the newer driver installation programs. It is possible to change the NVDISP. INF file to include the GeForce 9800 S GPU and install the latest drivers but the Nvidia Control Panel is missing a few pages. I hope Nvidia will fix this later.

    I used the following three files from the site Web NVIDIA under Windows 7 64-bit and Vista 64-bit. From my experience, they are more good, more complete and up-to-date files that install properly on my two Firebirds.

    nForce Driver Version WHQL 15.56

    GeForce Driver Version WHQL 266.58

    System Tools NVIDIA with support from ESA Version 6.08

  • How can I replace the graphics card Nvidia FX1500M in my Compac HP nw9440 (faulty after a fan failure)

    How to replace the graphics card Nvidia FX1500M in my Compac HP nw9440 (faulty after a fan failure). Works well with VGA HP

    chart but when FX1500M applied, it hangs at the blue screen.  Suspect that the graphics card from Nvidia have suffered under excessive heat due

    to a fan failure.

    Hello

    Should be in the book above. It shows you all.

    Good luck.

  • How can we enlarge the characters on all sites on this computer, please.hp pavilion HPE

    Hi, would like to know how to enlarge the characters displayed on the sites most on our new hp HPE Pavilion, thank you

    Hello

    Try this first:

    Press and hold the Ctrl key down and repeatedly press + (plus sign). You can also use the mouse wheel.

    Kind regards.

Maybe you are looking for