Relation between the Height in Pixels and Font Size?

Hi All,
I wanted to find the relation between the Font Size and the Pixels that it will occupy. What i want to do is i have an Icon and a Label. The icon size i need to resize to the Half the height of the Label. But the font Size does not reflect the height in Pixels. Please can you help me find the right way to resize the Icon?
Thanks in Advance,
Sameer

FontMetrics fm = label.getFontMetrics( label.getFont() );Once you have the font metrics you can use the getHeight() method.

Similar Messages

  • Relation between the BP on EBP and BP on ROS

    Where is can i see relation between the BP on EBP and BP on ROS besides Supplier Monitor?
    What's table?
    I saw BP ROS number in BP on EBP (u201CVendor Datau201D tab, "Link to Backend System" view), but it disappear.

    Hi
    For BP on EBP
    Go to SE16 : Enter BUT* Press F4 ..
    All the BP related tables will appear
    Regards
    G.Ganesh Kumar

  • Is there a relation between the Engineering Change Management and MM

    Hi SAP MM Gurus,
    Is there a relation between Engineering Change Management and Materials Management? I know we get the versions changes updated in Material Master. But do not know where is the origin for ECM. Step by step configuration is appreciable.
    Thanking in Advance.
    with regards
    Ravi Babu

    Hi ,
    I have created an application and have created end users also who will be using this application. For each of these users i have to give access to application in such a way that they will be able to see only their area a work. So how do i do this ..this needs to done based on the login user_name..my question now is how or from where will i get the current session details like user_name, current session id ,current session date and time?
    Thanks in advance,
    Bhargavi

  • Top of the page is gone and font size very small

    I have to put my curser at the very top of the screen to get to the web browser, otherwise it is not there. Also, the font size of my homepage and all pages I browse from firefox are very small. This began after the last update.

    Thanks! Problem solved

  • What is the relation between the two interfaces Comparable and Comparator?

    thanks.

    Comparable sorts
    on one key; Comparator
    sorts on many keysNeeds more zen... Not sure about the hyperlinks, as well.

  • An anyone help me to find the difference and relation between the following

    Hi,
    can anyone help me to find the difference and relation between the following methods of Swing :
    a) validate()
    b) invalidate()
    c) revalidate()
    d) repaint()

    You'd be far ahead by opening up the API and Java turorial and your course book and learning for yourself, rather than, asking other to do your homework for you.
    But if you have andwers already to go, then post them and ask if you have drawn appropriate conclusions.

  • Relation between the Project defination and the PO

    Hi ,
    Where I can find the relation between the Project defination and Purchase order in CJ20 transaction or in Tables.

    Project definition: A project definition identifies the key characteristics of the overall project. For example, a project definition includes the project profile and organizational details (controlling area, company code, etc.).
    All project definitions must include a settlement rule. A settlement rule contains a G/L account that receives the accrued actuals. In some situations, a settlement rule uses multiple G/L accounts. For example, one G/L account is used for settlement for the first half of a year, but in the second half, a different G/L account is used. However, the settlement rule does not allow for multiple receivers to be active at the same time.
    Regards,
    kushagra Sharma

  • In which table the link between the R/3 vendor and SRM vendor no are found?

    Hi experts,
    Can anay one tell me in which table exactly where we can find the relation between the R/3 vendors who are replicated to SRM and material groups which are replicated to SRM.
    I just want to know th backend number and the frontend Number of the above two
    please help me.
    Regards,
    Sairam.

    Hi Sai,
    All the replicated material groups from back end R/3 can be seen using COMM_HIERARCHY transaction as categories.
    You can choose category as the search criteria and then click start tab to view all the replicated material groups.
    In the VENMAP table you can see all the replicated vendors from back end along with their logical systems from which they were replciated.
    Using PPOSV_BBP transaction you can see all the replicated vendors in your Vendor Group along with the vendor code and Business partner number.
    Hope this resolves your query. Clarifications are welcome.
    Award points for helpful answers.
    Rgds,
    Teja

  • Relation between QuickTime 7.1.1 and AirPort problems

    I've read a few thread talking of relations between
    the last QuickTime 7.1.1 update and problems with AirPort
    in one way or the opposite.
    As this looked quite hard to explain I thoroughly checked
    the QuickTime 7.1.1 update package and I can tell everyone for
    sure:
    it doesn't include a bit that could interfere with the
    AirPort driver or software
    You could double check it for yourself with the following
    steps:<pre>
    1. within "Software Update...", select "QuickTime 7.1.1"
    and select "Update > Download Only"
    2. in a Terminal or xterm window, type the following
    commands:
    my_mac$ cd /Library/Packages/QuickTime711.pkg/Contents
    my_mac$ gzcat Archive.pax.gz | pax | egrep -i 'air|802'
    my_mac$ cd Resources
    my_mac$ egrep -i 'air|802' cleanup-list InstallationCheck
    my_mac$</pre>
    Then, if your AirPort was "apparently" broken or repaired
    just after the QuickTime 7.1.1 update, this was simply
    due to the restart of your system.
    dan    

    If you've got quicktime pro working with 7.1.3, count yourself lucky considering all the reports about 7.1.5 problems. I was about to download QT Pro when I started reading the reviews. Most of them were bad. Is it working for you with 7.1.3, especially on creating media files? Do you use it with Final Cut Pro? I'd appreciate your feedback.

  • What is the difference between the library cache pin and the library ...?

    What is the difference between the library cache pin and the library cache lock ?
    What is the relation between them?

    Jonathan Lewis has a nice summary of these two items:
    {message:id=2079008}

  • Any relation between my ram card cover and my screen?

    if i touch my ram card cover (while the computer is running) the screen flickers, gets fuzzy and has lines running up and down it. is there a relation between the two?

    The prices indicated on both links are the same. However, the answer to your question is that all MacBooks, MacBook Pros, Intel Minis, and Intel iMacs all use the same type and spec RAM. You will find the appropriate information in the computer's User Guide. It's also described in the Apple guide on how to install the RAM.
    Why reward points?(Quoted from Discussions Terms of Use.)
    The reward system helps to increase community participation. When a community member gives you (or another member) a reward for providing helpful advice or a solution to their question, your accumulated points will increase your status level within the community.
    Members may reward you with 5 points if they deem that your reply is helpful and 10 points if you post a solution to their issue. Likewise, when you mark a reply as Helpful or Solved in your own created topic, you will be awarding the respondent with the same point values.

  • Relation between R3 kernel version 640 and  4.6B, C D

    Hi,
    What is the relation between R3 Kernel 640 version and  SAP 4.6B, C, D versions. Based on R3 kernel version how to identify the sap version e.g. 4.6B, C D etc.
    Thanks.
    Anirudh,

    Hello Anirudh,
    Every SAP release will have its own set of kernel releases
    SAP Kernel 7.00 is valid for ECC 6.0.
    SAP kernel 640 is actually valid from SAP R/3 Enterprise 4.7. it is also valid for ECC 5.0
    For  4.6 C kernel release 46D is available.
    For 4.6B SAP Kernel 4.6B and 4.6 C are available.
    For 4.6A  4.6A,4.6B and 4.6C are available.
    This is what is available in marketplace however I have heard about something called downward compatability of kernels which means lower releases can have higher kernels.
    You must always go for the highest available kernel patch.
    However kernel is OS bit size specific
    Regards.
    Ruchit.

  • Communication between the DNS/DHCP Manager and OES Server

    No communication between the DNS/DHCP Manager Console and OES server (status,start,stop)
    The screenshot shows the tab "DHCP (OES Linux)" in the DNS / DHCP Manager console
    in the bottom of the image it shows the state of the DHCP servers.
    allDHCP.JPG
    The dhcp service is started on all these servers
    You can see that the status is known only for four servers.
    The button "start/stop DHCP service" works fine on this servers and
    the dhcp service can be canceled and also restarted
    But the status of the "dhcp service" is not recognized for all the other DHCP servers
    and so we can not start or stop dhcp service on these servers.
    All servers were installed at different times (last three years) with OES11 and
    are upgraded to OES11SP2 with all patches.
    The server keto (DHCP_keto) is a new installation OES11SP2 few days ago.
    All OES servers were set up identically from me. LDAP, LUM, DMS, DHCP works fine.
    Which service on the OES server is responsible for
    communication (status indicator) between the DNS/DHCP Manager and the OES serve?
    How the status query is performed by the DNS/DHCP Manager?
    How can I test the communication to the server on the client (console)?
    Which configurationfiles I should be compare on the server?
    Thanks in advance
    Gernot

    gernot,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://www.novell.com/support and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Forums Team
    http://forums.novell.com

  • Difference between the two modes ws_policy and sap_wsdl

    Dear All,
    what is the difference between the two modes ws_policy and sap_wsdl and how do we set them and where do we set them.
    do let me know the steps to be followed.
    Thanks & Regards
    Venugopal

    Venu,
    Please check this document from Bill where he has explained clearly:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c00ca32e-f991-2b10-f5be-97114bd2b08f?overridelayout=true
    Regards,
    ---Satish

  • Differences between the Horizon 2, A740 and A730?

    Hey guys, I was thinking of buying a Dell 27 inch pc when I found some Lenovo Ideacenter pcs on youtube. They look much sleeker, and I want to get one in June or July.
    Think is, I don't know which one to settle on. I know I want a all in one 1440p tv with a powerful processor to do a lot of movie viewing, and amatuer music making and video editing on FL Studio, Adobe Audition, and Sony Vegas. 
    So right now I'm thinking between the recently announced A740 and Horizon 2 (and the old A730 if push comes to shove). I don't know what the major differences between them spec and feature wise are. Like which would be better to have a bunch of programs open, snappier to use, boots quickly, etc.

    A740 is the latest version of A7x0 series machine, it is the replacement for A730. Horizon series has a built in battery for portability. These are the major differences.
    Regards,
    Jin Li
    May this year, be the year of 'DO'!
    I am a volunteer, and not a paid staff of Lenovo or Microsoft

Maybe you are looking for

  • How to make backward compatibility of windows phone 8.1 app for windows phone 7?

    I developed windows phone 8.1 app which is in windows phone store. Now, i want to make this app compatible for windows 7 also. Is it possible, if yes then how?

  • Installation of Solaris 10 on T1000

    Hi all, i have installed solaris 10 5/08 on T1000. I am using Xmanager to get display. Still i am unable to get display on this hardware. Please is there any configuration that needs to be done. Thanks, Sailesh

  • Which Color Would You Pick??

    I have a Pink Mini, I call her, Lauren. Yes! I name my iPods. Anyway, I am getting an iPod Nano 2nd Generation, which color would you get??? (Remember I am a girl!!!) But still, I am asking you what color would you get and If you have one, tell me ho

  • Saving pdf in OS6

    I have the iPad2. I use Folder Plus to open Pdf files. There is an option within Folder Plus to re-open in Adobe Reader where I am able to add text. I have yet to discover how to save the file after I have added the text. Please point me in a directi

  • Double brush cursor

    I am seeing a double brush cursor in CS5; why? and how do I get rid of it? It's not the clone tool, it's the brush. When I resize my brush to a certain size (different sizes for different images) a duplicate brush suddenly appears in the top left cor