Entering text on top of Image

Hi
I'm trying to come up with idea how to enter text on top of the existing image at known position. Or simple saying to add TextField component on Graphics2D so I can type text in it.
If anybody have done this please help
Thanks

Hi
I'm trying to come up with idea how to enter text on
top of the existing image at known position. Or simple
saying to add TextField component on Graphics2D so I
can type text in it.
If anybody have done this please help
ThanksHad the same problem - when I tried to overlay a TextField on top of my graphic the graphic repainted itself over the TextField. The (easier) solution was to put the image on its own JComponent within the JPanel I was writing too. This way the TextField could be made visible or invisible and laid on top of the image. More involved solutions would mean creating your own text editor on top of the graphic - this is covered in one of the Java tutorials, but you have to manage the details.

Similar Messages

  • How to epub text on top of images.

    I am trying to epub a children's book. I have an basic color and then I bring the image on the page but indented. Then I put the text on top of the image.
    I have tried articles and I can't get the text to go ontop of the image. how do I do that. The images are jpegs. I tried png and psd.  I tried putting the text on the image in photoshop but when I brought it over to indesign, the text looked terrible.
    thanks

    Text and image would have to be rasterized together, either in Photoshop or in InDesign in EPUB. There is no concept of layering in an EPUB file.
    I don't think even fixed layout EPUBs support layering.

  • How to I add text on top of image? I am using pages version 5.2.2

    I am working on an apple desk top OSX version 10.9.4. Since the new pages version 5.2.2 came out, I have been unable to add text on top of an image. Can anyone help me? Thanks ahead of time.

    Pages v5 is not as flexible as Pages ’09 v4.3. If you want text over a free-standing image in your document, then you will need to place it in a Text Box, Shape, or other custom container created with the Unite, Intersect, Subtract, or Exclude items in the Arrange panel. Simply selecting the image and then, in the Arrange tab, stating move with text; setting wrap to none, and clicking back/ward — does not help.
    You will need one of the containers from the second sentence positioned on top of your image. Once your text is input and styled, select the Text Box and the image, then from the Arrange tab, select group to maintain your text/image spatial relationship. If you need the image and its text container to adapt to other text in your document, you can enable the wrap functionality that best suits your document goals.
    This can get interesting, because you can independently define the selected Text Box content as a text placeholder, and the image as a media placeholder. Save it as a template. When you open a new document with this template, you can drag and drop a new image onto the old one, and it is automatically scaled and replaced without effecting the Text Box content. You can then double-click the Text Box content and change it.

  • Putting text on top of image

    I'm sure I've done this before but I just can't remember how.
    What I want to do is have an image with text over the top of it.
    However, the image can not be a background image because it needs
    to print. How do I do this?

    On 22 Sep 2006 in macromedia.dreamweaver, CSI Bruce wrote:
    > I'm sure I've done this before but I just can't remember
    how. What I
    > want to do is have an image with text over the top of
    it. However,
    > the image can not be a background image because it needs
    to print.
    > How do I do this?
    There's no way that's really pretty. The easiest and most
    expedient, if
    it's not too much text, is to make it part of the image. Make
    sure you
    include the text in the alt attribute... Other than that, if
    you're
    using positioned divs, you can put the image in one div,
    duplicate it,
    give the duplicate a higher z-index, and put the text in the
    higher z-
    index div. Or if it's really an issue (does the background
    /have/ to
    print?) is to make it as a PDF.
    Joe Makowiec
    http://makowiec.net/
    Email:
    http://makowiec.net/email.php

  • Converting Word to PDF: text doesn't show on top of image

    I have a word 2013 document with text on top of an image. When I convert to PDF with Acrobat Standard XI the image covers the text.
    Here is the page in Word:
    and here in Acrobat:
    Any help would be appreciated!

    I have only used Acrobat Pro, not Standard. Does Standard have a Content Pane? If so, I would try selecting each content element on the page till I found the image, and drag it above the text elements in the content order.
    Hope this helps.
    a 'C' student

  • Text on top of an image in a component

    How do I get text on top of an image in a component?
    ImageIcon icon = new ImageIcon("foo.jpg");
    JLabel label = new JLabel();
    label.setIcon(icon);
    // this prints next to, not on top of, the image
    label.setText("Hello"); if I add this:
    label.setHorizontalAlignment(SwingConstants.CENTER);
    label.setVerticalAlignment(SwingConstants.CENTER);The text doesn't appear at all. I assume it is "underneath" the image.
    null

    if I add this:
    label.setHorizontalAlignment(SwingConstants.CENTER);
    label.setVerticalAlignment(SwingConstants.CENTER);The alignment methods determine the position of the component in the parent container, if the layout manager respects those values.
    I believe you want:
    JLabel label = new JLabel("Some Centered Text");
    label.setIcon( new ImageIcon("???.jpg") );
    label.setHorizontalTextPosition(JLabel.CENTER);
    label.setVerticalTextPosition(JLabel.CENTER);

  • Fade in text link on top of image

    Hi,
    I am fairly new to flash so forgive me if this is an easy
    question. I have a flash header that will be made up of an image
    being faded in then out to be replaced by another image etc for up
    to four images. I have been able to do this fairly easily but what
    I would like to do next is when each image has fully faded in, I
    then fade in some text on top of the image which will become a link
    to a page on the site. Each of the four images will have different
    text and links associated with it.
    Anyone got any suggesstions on how I can achieve this look
    and functionality ?
    Cheers
    Macca

    Make the text a movieclip or a button. Then you can fade it
    and use it as a button.

  • HTML text on top of productBranding image

    Hi all,
    I'm new to using UIX XML in JDeveloper 10g and was wondering how I could render HTML text on top of an image (i.e. the text is not part of the image.gif). I'm able to display text all around the image but not on top of it. I'm guessing that this can be done since it is one of the BLAF specifications for the Product Branding guides.
    Having spent a couple of days looking through various related posts, I've yet to make any head way.
    Cheers

    Woohoo! Got it. Could have done it in the stylesheet as well!
    <rowLayout>
    <contents>
    <cellFormat height="70" width="300">
    <inlineStyle>
    <property name="background-image">url(images/financial_collage.gif)
    </property>
    </inlineStyle>
    <contents>
    <styledText text="Product Information">
    <inlineStyle>
    <property name="font">Garamond
    </property>
    <property name="font-size">+24
    </property>
    <property name="color">#336699
    </property>
    </inlineStyle>
    </styledText>
    </contents>
    </cellFormat>
    </contents>
    </rowLayout>

  • CS5: Type tool entering text in a tiny transform box

    Everything else seems to be working correctly (at least those parts I use).
    At some point, several months ago, my sister and I were playing with transform (by phone, we are in different states) -- she had taken a Photoshop class and wanted to try to duplicate something.
    I tried using my type tool yesterday, and couldn't see anything when I typed. (White background, black text, Arial, 14 pt, 100%)
    I've tried clearing type presets.
    I finally tried blowing it up to 500% and saw a small, gray font-like image where I was typing.
    I held down Ctrl and played with the transform box: if I expanded the box, my text is there.
    I've tried clicking on everything at the top when in transform, but have no idea what I'm doing.
    I have no idea how to get my type tool entering text in the regular way.
    Please help.
    Thanks!

    The resolution of the file I was working on was 2 (I obviously didn't add or deleted the '7' that was supposed to be in front of it)!
    Thank you ever so much, CB! I spent a couple hours on this and really appreciate your help and insight.

  • Remote app in iOS 7 doesn't bring keyboard when entering text.

    I tried to use the remote app with my new iPad air with iOS 7 with and when I tried to make a search for a movie it won't bring the keyboard as before when entering text. The funny thing is that I have an old iPod 4th gen with iOS 6, and that one still brings the keyboard every time text needs to be entered, even still has the option to hide and bring out the keyboard. Is this feature gone forever in iOS 7? Or is missing and will be added later?

    This is now fixed. The remote has two modes. It starts with an interface similar to iTunes to play music or videos from your library, on the top right side it has a keyboard (mine appeared greyed out and I was unable to activate it, but now works), and an axis which brings the other remote everyone is familiar with to select the icons on the tv screen. The other remote now has a small keyboard icon on the top right which didn't used to have before. I don't know what I did to activate it, however, it won't bring the keyboard automatically like before. Another way to bring the keyboard, if yours still stuck, is to highlight any of the letters in the menu, and swipe from right to left, the highlight will cursor will hide, swipe again and that brings up the keyboard. How? Why? Still a mystery to me, but I happy I can use remote again.

  • Is there a way to turn a text character into an image?

    Is it possible to turn a text character into an image/shape...using Pages or any other iLife or iWorks app?
    Reason being - I want to use a certain font and a character in it, but that particular font is not being recognized/shown properly by another computer. I want to make sure the text character shows up as I intend, and I figure the way to do that is by turning the text character into an image/shape (like a jpeg maybe? or a tiff or gif? I don't know too much about the difference between these last two). Then I can paste that image onto any background and have it still look like text laying on top of the background.
    Hope that makes sense, and many thanks in advance for any insights!

    Although it saves the text character as an image, it also saves the background (the white of the page) as part of that image. So when the character is pasted into a document whose background is anything other than white, it doesn't look like a simple text character anymore. It looks like a white box with a text character in it. You know what I mean?
    I'm thinking I might need to use whole 'nother graphics program to do this whole deal...what do you think?
    Rather than using Preview, create the new image from the clipboard in GraphicConverter & use the transparency wand to make the background transparent. Then use ⌘ E to select just the image & save, choosing to save just the selection.

  • I cannot enter text in the iTunes search box

    I'm having a really bizarre problem with iTunes latest version (10.5,0.142). When I click in the search field in the upper right-hand corner of the program, I cannot enter any text--no text cursor appears.  I can click on the little down arrow next to the magnifying glass and select "All," or "Artist," or "Album," etc, but I'm not able to enter text. It's like the focus doesn'tshift from the Library pane and any letters I type just cause the highlight for that window to drop down to the closest match to the character I typed, even though the focus has shifted to the search pane.
    I've tried uninstalling and reinstalling iTunes, but that does not correct this misbehavior.
    Not sure if it's related, but I also no longer have the text menus available at the top of the window, whether the program is maximized or minimized and taking up only part of the screen (this is not a screen clipping problem--those text menus are no longer there, though you can get very small hotspots to appear near the upper left hand edge of the program window (when you have the program window in normal mode, rather than maximized), where those text menus would be, and if you click on the hotspots, the menus do appear.
    But, by far, the first issue is the most perplexing.

    Solved: This was caused by replacing the SegoeUI (Regular) true-type font. I have no idea what process or why that font was deleted, but finding the segoeui.ttf file on another Windows machine, emailing it to myself, saving it to disk, then right-clicking and choosing "Install" fixed this problem.

  • Text on top of Pics or Pics behind Text

    Does anyone know how I can have my picture behind my Text in Pages 09. I know the generic way is to print the picture and reinsert the paper back into the printer and let the text print on top of it. This would suck. I have a picture that I have Faded which covers the whole page. I want to Type on top of this picture. This will have a nice affect. While reading the info on the page you can slightly see on the invitation what the event is about. Please help me figure out how to get the cursor on top of the pic so as to add text on top of it.
    Thanks

    Select the image by command clicking on it:
    +Menu > Arrange > Send to Back+
    Create a textbox from the Toolbar at the top of your document window, with the text in it and position it over the image.
    You can fade the text if you wish using:
    +Inspector > Graphic > Opacity+
    Download the Pages09_UserGuide.pdf from under the Help menu and familiarise yourself with how Pages works. This is not dissimilar from almost any other program
    Peter

  • Unable to enter text in textboxes for mac

    Hi,
    I have a site at balachadha.com which works fine on IE.
    I also have a g4 that works fine.
    The problem is that on the log in page some mac users are
    saying that they cannot enter text. This is even with the latest OS
    and browser versions. I have some encrypted html around the flash
    to prevent people from cutting and pasting images, but as I say It
    works fine on a g4 for me. Any ideas?

    Hi,
    i was ablwe to do it wwith
    Font f = new Font( "Arial Unicode MS", Font.PLAIN, 12 );

  • Keynote 6.0.1 Crashing When Entering Text Boxes

    On my late 2012 Mac Mini with 16GB - running Mavericks (up to date) - and Keynote 6.0.1 I am going NUTS!
    Entering text in a TEXT BOX on a page with an inserted photograph or image is impossible.
    Every single time, while entering or editing the text box,   Keynote crashes:
    EXC_BAD_ACCESS  SIGSEGV
    EXC_I386_GPFLT
    Any ideas???

    One of the most common causes of Mavericks problems appears to be If the hard drive was not wiped clean before installing Mavericks as remnants of incompatible software remain.
    I would back up then clean install the OS.

Maybe you are looking for