JTabbed Pane Icon with Text at bottom of the image

Hi,
Is it possible to use image with text at the bottom of the image in JTabbedpane?
can anyone help me to do this?
Thanks in advance,
Nandha

that's not directly supported (alignments and relative icon/text position is hardcoded in the uiDelegate) - you need a little detour with a custom tab component:
     JLabel plainLabel = new JLabel("Custom Label", myIcon, SwingConstants.CENTER);
     plainLabel.setVerticalTextPosition(SwingConstants.BOTTOM);
     plainLabel.setHorizontalTextPosition(SwingConstants.CENTER);
     tabbedPane.setTabComponentAt(i, plainLabel);HTH
Jeanette

Similar Messages

  • What does it mean when white message icon with a black circle in the middle and a red circle on the side is at your notifications bar?

    I've had this white message icon with a black circle in the middle and a red circle on the side for like a week now I don't know what it is or how to get rid of it, when I click on it nothing shows up. I need help!

    Check the below link for knowing the icons used in BlackBerry smartphone.
    http://docs.blackberry.com/en/smartphone_users/deliverables/21204/
    tanzim                                                                                  
    If your query is resolved then please click on “Accept as Solution”
    Click on the LIKE on the bottom right if the post deserves credit

  • At start up I get a white screen then eventually a blinking folder icon with a question mark in the middle

    Help!  As of today, my iMac will not boot up.  When I turn it on I get a blank white screen then, after about a minute, a blinking folder icon with a question mark in the middle.

    Find your original install disk, insert it and re-boot holding the "C" key during startup. It will take longer but should boot. Then you need to select Disk Utilityfrom the Menu Bar. Do a Repair Disk on your hard drive. When it finishes re-boot normally.

  • When I try to copy a drawing with text, it only pastes the text,  can anyone help me?

    When I try to copy a drawing with text, it only pastes the text,  can anyone help me?
    adobe illustrator cs5

    Are your drawing layers locked and the text layers unlocked?  So far it sounds as if the "Copy" command isn't grabbing anything but the text.  I've had a similar problem with text not coming across when I saved my vector art as a raster image: for that I had to remove a compound path or something from the text before it would come over.
    Make sure your layers (and sublayers) aren't locked, and check your compound paths and clipping masks to see if there's something funny going on.

  • Why is there a iTunes icon with a USB cable on the screen after a Apple TV update

    Why is there a iTunes icon with a USB cable on the screen after a Apple TV update

    The iPad could be in recovery mode.
    You may want to follow these instructions:
    http://support.apple.com/kb/HT1808

  • I'm having problems with videos, they shake and the images break up back and forth into striped colors, how do I fix this?

    I'm having problems with videos, they shake and the images break up back and forth into striped colors, how do I fix this?

    1) This is because of software version 1.1. See this
    thread for some options as to how to go back to 1.0,
    which will correct the problem...
    http://discussions.apple.com/thread.jspa?threadID=3754
    59&tstart=0
    2) This tends to happen after videos. Give the iPod a
    minute or two to readjust. It should now be more
    accurate.
    3) This?
    iPod shows a folder icon with exclamation
    point
    4) Restore the iPod
    5) Try these...
    iPod Only Shows An Apple Logo and Will Not Start
    Up
    iPod Only Shows An Apple Logo
    I think 3,4, and 5 are related. Try the options I
    posted for each one.
    btabz
    I just noticed that one of the restore methods you posted was to put it into Disk Mode First rather than just use the resstore straight off, I Have tried that and seems to have solved the problem, If it has thank you. previously I have only tried just restoring it skipping this extra step. Hope my iPod stays healthy, if it doesnt its a warrenty job me thinks any way thanks again

  • PC/64/Windows 7/XIStandard recently installed/unable to put footer into document because I can't move to the bottom of the image when in footer application mode.  Display is at recommended 1920x1080.  Is there a solution or is it a flaw in the program?

    PC/64/Windows 7/XIStandard recently installed/unable to put footer into document because I can't move to the bottom of the image when in footer application mode.  Display is at recommended 1920x1080.  Is there a solution or is it a flaw in the program?

    Don't have a direct answer. But did you install the updates. They might resolve the problem.

  • I am trying to make a signature in MS Word (2007) which includes a jpg image, but when I save it as a HTML file and attach it the text appers OK but the image doesn't. I have tried various formats but still no luck. Can anyone help?

    I am trying to make a signature in MS Word (2007) which includes a jpg image, but when I save it as a HTML file and attach it the text appers OK but the image doesn't. I have tried various formats but still no luck. Can anyone help? edit

    C'mon! Anyone???? I'm desperate!

  • One photo's document size says 60M at the left bottom of the image I saved it, became 2.8M. Another photo's doc size 50M, I saved it , became 12M. Why?

    One photo's document size says 60M at the left bottom of the image, I saved it, became 2.8M. Another photo's doc size 50M, I saved it , became 12M. Why?

    You're looking at several different things.
    File size is the size of the compressed image data plus file format overhead for whatever format you select.
    Flat document size is the size of the document if flattened, but not compressed.
    The document size in memory is how much RAM is used by the document, including all layers and other data it needs.

  • Icon with text in ALV Grid

    Hi experts,
       I am using 'REUSE_ALV_GRID_DISPLAY' in my report. I adding an Icon to my grid and another column for error message.But my client want to add error text along with the icon in one column.
    For example; Icon field is 'STATUS' and Message field 'MESSAGE'
                      Display STATUS-MESSAGE in one field(LIGHT-Error Item)
    How to achieve this...
    Thanks.

    Hi Stars,
          Define a column of type C in your internal table for Grid data.
          concatenate the two values in a character string and use WRITE stmt to write the data into the string type column.
    for example,
    Data: begin of IT_DATA occurs 0,
                icon(4) type c,      "for icon key
                text(10) type c,       " text message to be displayed along with icon
                icontext(15) type c,  " Icon + message
              end of it_data.
    data: lv_char(15) type c.
    loop at it_data.
    clear lv_char.
    concatenate it_data-icon it_data-text into lv_char separated by space.
    write lv_char to it_data-icontext.
    modify it_data index sy-tabix.
    endloop.

  • Placement of icon with text issue in fluid layout, how do i fix it?

    Am trying to make things look like the above image, this is for the fluid layout, but no matter what i do, that phone icon with the number 1-844.....does not move to right next to talk to us. Here is JS fiddle:http://jsfiddle.net/xtf205mk/
    .fluid {clear: both; margin-left: 0; width: 100%; float: left; display: block;}
    .top_nav_icon {vertical-align:middle;}
    .call_icon_header{content:url(images/call-us-icon.png); float:left;}
    .talk_icon_header{content:url(images/talk-to-us-icon.png); float:left;}
    .float_right{float:right;} .top_nav_icon {vertical-align:middle;}
    .top_nav_list1 { float:left;}
    .top_nav_list1_1 {font-size:1em; width: 100%; float:right;}
    .top_nav_list1_2 {font-size:1em; width: 100%; clear:none;}
    .top_nav_list1_2 {font-size:1em; width: 100%; clear:none;}
    Am using DW CC, but the visual aids is nowhere helping me in moving things to the right.
    Can anyone help with this one please, thank you.

    <!doctype html>
    <html>
    <head>
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
    <style>
    .navlist li {
        display: inline;
        list-style-type: none;
        padding-right: 20px;
    .navlist li a {
        text-decoration: none;
        color: black;
    </style>
    </head>
    <body>
    <div>
        <nav>
            <ul class="navlist">
                <li class="top_nav_list1_1"><i class="fa fa-phone"></i> (281) 358-4900</li>
                <li class="top_nav_list1_2"><a href="#"><i class="fa fa-comment"></i> talk to us</a></li>
            </ul>
        </nav>
    </div>
    </body>
    </html>

  • HT4211 I have two phones with verizon and we keep having issues with texts coming in on the wrong phones

    We have two phones that are on verizon, share icloud, and all of a sudden, our phones keep having our texts sent to the other phones.  we recently switched service from at&t.  It happened early on, and now it's happening again.  What do we need to do for this to stop happening?

    That's because you are using the same iCloud account for iMessage on both phones. The best way to resolve it is to log out of iCloud in Settings/Messages on ONE of the phones, and create a new iCloud account just for that phone and iMessage. Leave your other settings sharing the iCloud ID so you can share music and apps, and can trace both phones with Find my iPhone.
    The alternative is to go to Settings/Messages and change the addresses in "Send & Receive" so they are different for the 2 phones.

  • In Pages for iPad, I couldn't wrap text(Chinese characters) around the image

    Hi, a question about Pages for iPad. I wrote some words with Chinese characters and then inserted a image from the Camera Roll. The problem is that I couldn't wrap words around the photo. I tried again wrote some words in English and it's ok for wrapping. Why did this happen?

    From the help section in the Pages app ....
    Anchor or free an object to or from its surrounding text:
    Select the object, tap in the toolbar, and then tap Arrange.
    In the Arrange window, tap Wrap.
    To make an object move with the flow of text, slide “Move with Text” to ON.To make an object remain stationary, unaffected by changes in the surrounding text flow, slide “Move with Text” to OFF.
    Drag the Extra Space slider to indicate how much space you want to leave between the object and the surrounding text.
    Wrap text around an object:
    Select the object and tap in the toolbar, and then tap Arrange.
    In the Arrange window, tap Wrap.
    Tap a wrap option to select it.Automatic optimizes text wrap for you, depending on the size and position of the object, and the width of the text column. Text wraps around an object, unless there’s very little space around the sides, in which case the text flows only above and below the object. Around lets you customize the text wrap around the sides, without automatic optimization. Above and Below allows text lines only above and below the object.
    Drag the Extra Space slider to indicate how much space you want to leave between the object and the surrounding text.
    This works for me. Restart your iPad if this does not work for you.

  • How do I make image icons in finder window previews of the image?

    The image icons in my finder window are just generic jpeg icons (they are set to open automatically in Preview). How do I make them previews of the images themselves? When I "get info" on the icon, there is a very nice preview of the image - I would like to see the same quality preview in the icons themselves.
    Thank you very much for your help.
    Sam
    Powerbook   Mac OS X (10.4.6)  

    Hi Sam,
    From your Finder "View" menu (without a Finder window open) >> "Show view options" >> do you have "show icon preview" check marked? And with the Finder window open "show icons" and "show preview icons" checkmarked?
    EDIT: I may have misunderstood your question. If you're talking about the small file icons, not in the preview frame if you have PhotoShop it should do it with a save as PS file. Otherwise you may be able to paste the image but I'm not sure.
    -mj
    [email protected]
    Message was edited by: macjack

  • Convert Document with Photos to Adobe and the images go fuzzy???

    Hi, I am at a loss and hope someone can help me.
    I'm in charge of making a club newsletter in PowerPoint, and all that goes fine. I'm putting really good quality photo's in it and thats all ok too. But when I convert the document to a PDF with Primo (to view in adobe acrobat), everything else works fine, but all the images go really fuzzy, like a terribly poor quality photo.
    Anyone got any ideas on what I can do to avoid this? There must be a way to get a good quality image converted, as I have seen PDF documents with good looking images on them.
    Please, any help greatly apprciated.
    Thanks in advance.

    >I'm not sure if it's professional or not, but it is adobe acrobat 5.0
    Ah, Ok. This predates Acrobat Professional, but is much the same.
    I recommend you post in the Acrobat Windows forum to reach the people
    using Acrobat, rather than the free Reader.
    Be sure to say whether you are using the Acrobat PDFWriter driver or
    the Acrobat Distiller driver (the former is not used for quality
    output).
    Aandi Inston

Maybe you are looking for

  • Error while trying to synchronise audio & midi, Motu 828 mkII

    Hi, I've tried lots of things before posting this but am running out of ideas - any help appreciated. Since upgrading from Tiger to Snow Leopard, my MOTU 828mkII has not been working right. The problem happens in Logic 8 and all other apps I've tried

  • Please wait for the group policy client - shutting down issues

    Hi I have issues with shutting down machines. When machine is connected to company's LAN everything works fine. However, if machine is connected to VPN - Juniper NC - 1 hour or more it always hangs when it is shutting down. When I shut down the machi

  • Html Portlet links displaying in another portlet on the same page

    I have seen similar posts but no detailed explaination of how this is done. I have an html portlet with links whose content I would like to display in an inline rendering portlet on the same portal page. How can I pass the link url from the html port

  • Discoverer 4.1.48.08 - Data not populating

    Hi All, I have created a package with few functions, and global variables. I am using one of the function from the package to initialize the values to the global variables, I have registered the same function in discoverer. I have created a view in w

  • Maintain number range object

    Hello Friends, When I am doing a Goods Receipt, system is giving the message " Maintain number range object for object J_1IRG23A1, year 2008, excise group 50". What to do for this. Please tell me. Regards, nr