HOW DO I CREATE A PLAIN IMAGE ON A PANEL

I want to create a simple image with text on it it and display it on a JPanel. Does anybody know how to do this?
Thanks in Advance
Colin

Image i = createImage(w,h);
i.getGraphics().drawString(string,x,y);
panelgraphics.drawImage(i,x2,y2,null)

Similar Messages

  • How do I create a floating image in thelayer panel?

    I am watching Deke of Lynda.com in his one on one fundamental with cs5.  He says to double-click on the background layer to create a floating image.  it does not work for me.  No matter what tool I have selected, when I double-click on the layer I simply being up the Layer Style dialogue box.  I have googled this problem and done a search here but cannot find the answer to my problem.  Can anyone help me with this?  Thanks.

    You already have a regular layer (floating layer) as others have noted.
    A Background layer has a lock symbol and the name Background is italicized, but
    regular layers can also be locked, however for regular layers that are locked, you can
    just press the Forwardslash (key just to the right of the period key) to unlock those
    as opposed to double clicking on a locked Background layer to make it a regular (floating) layer.
    MTSTUNER
    Message was edited by: MTSTUNER

  • How do I create a disk image for windows 7, using a windows computer for USB bootcamp for mac?

    Hi There, I have just bought a new 2013 iMac.
    Spec: 3.4 GHz intel core i5, 16GB 1600 MHz DDR3 Memory , NVIDIA GeForce GTX 775M 2048 MB Graphics with OS X 10.9.4.
    How can I create a 'disk image' from a windows 7 professional 64bit installation DVD using a windows laptop with windows 7 Operating system on? I want to transfer this 'disk image' (ISO?) to a USB ready for installing windows onto my 2013 iMac using bootcamp?  I want to use bootcamp from a USB as I have no disk drive for the installation DVD on my iMac. I hope all this is clear.
    Thank you. Joe

    Yes, that's correct, at least not directly. You can create a blank disk image, copy the file to the mounted disk image, then burn the image to a CD/DVD.
    Open Disk Utility and select Blank Disk Image from the New menu. Provide a name, Save location, and select the image size from the drop down menu. Leave Encryptions at None and Format as read/write. Click on the Create button.
    After the image file appears the "removable" disk should be automatically mounted. If not double-click on it to mount it. A "removable" disk icon will appear. Drag the file you want to place on the disk image to the "removable" disk icon. The eject the "removable" disk icon. Now select the disk image file in the DU left side list and click on the Burn icon in the DU toolbar. Be sure to have a blank disc ready.
    The above is actually the "long" way to do this. A much easier way is to simply insert a blank CD or DVD into the optical drive. The Finder will pop up a dialog asking what to do. Select the option to mount on the Desktop. You will now see a disc icon on the Desktop. Drag the file you want to burn to the CD/DVD, right-click or CTRL-click on the disc icon and select Burn from the contextual menu.
    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.

  • How can I create a disk image of snow leopard installer disk from my Imac which runs it?

    how can I create a disk image of snow leopard installer disk from my Imac which runs it? It came without DVD installer, and I want to make a copy of it's OS installer but can't find out how.

    You need to have the disc in order to create disk image of snow leopard installer disc. What did your machine ship with? If something later than SL, then why? If earlier, then you can buy the SL installer disc and make the disk image.

  • How can I create clearer, sharper images and buttons in Muse?

    How can I create buttons and images that have a vector like clarity? When I upload images (buttons, jpegs and pngs) a lot of the time they seem to have a slightly fuzzy quality to them. I have read previous posts on this matter and none have helped. Any feedback on this will be greatly appreciated. Thanks

    When you place your images in exactly the size you saved them in Photoshop or whatever, Muse doesn’t touch it.
    The quality in this case is the quality you saved the image.
    The best way is, to examine in Muse the available pixel size of the image and then use Photoshop to obtain this size
    A helpful widget to examine the potential size of an image in advance, is the "lore ipsum"-Muse-widget, that you find in the free widget collection "Andrew’s Prototypes":
    Andrew Prototypes | Exchange | Adobe Muse CC

  • How do I create a duplicate image inside the same page? Then how do I change the color of that image

    how do I create a duplicate image inside the same page? Then how do I change the color of that image from black to red?

    Hello there!
    Here is one way to create a duplicate image and colorize it. As you can see below, I have one image right now, that I want to duplicate.
    My layers panel looks like below.
    To duplicate your image, click the downward arrow on the right side of your Layer Panel.
    Select Duplicate Layer. This will duplicate the layer that the image is on.
    Select "OK" to approve the duplication.
    As you can now see in the Layers panel, the image is duplicated. The new layer is now at the top of the Layer panel.
    Now to colorize your image, go to Window > Adjustments.
    The Adjustments panel will now be opened. Select the Hue and Saturation icon as seen circled in red.
    The Hue and Saturation propertied panel will be opened. I selected "Colorize", and adjusted the hue and saturation bar to achieve the level red in my photo.
    As you can see below, the image is now red.
    Now i want to make sure only ONE of my image layers is red. I moved the Hue and Saturation layer to only be on top of the bottom layer. The image on the top layer now will not be affected by the red.
    Select the move tool, so I can now move the image layers so we can see both of them.
    With each image layer selected, you can take the move tool and move the images. I moved mine on top of eachother and you can see my red layer (bottom) and the non red layer (top).
    I hope that helps. i have also included helpful links.
    Please post back with any questions,
    Janelle

  • How do I create a single image using PSE12 from multiple originals where each original is still separate?

    How do I create a single image using PSE12 from multiple originals in which the originals are still separate (i.e. side by side or arranged in a square)? I could do this in PSE2, but can't find how to get PSE12 to do it.
    Grecophile55

    In PSE2 there was a single photo-merge. I browsed all my images and I could then click and drag each to its new position before saving. There doesn’t seem to be a similar facility in PSE12.

  • How do you create a still image from a video using IMovies 11?

    How do you create a still image from a video using IMovies 11 on a Pro Mac?

    The simplest way is to do a simple screen capture.  

  • How can I create a interactive image on ibook author, just like the temperatures map on the "life on earth" book?

    I need a create an interactive image at the ibook author app, but I don´t know how, I saw the interactve image in the "life on earth" book, from the apple store, in an temperature map
    apreciate that someone could help me, please

    Doesn't work w/iBA books & iBooks 2, sorry.

  • How do you create a disk image using Disk Copy?

    Hello,
    Is there any way you can create a disk image using Disc Copy? Is there a better way to create a Disk Image?
    I would like to burn two copies of a 4.2 gig folder on my mac. I usually insert a blank DVD-R and then the mac asks if I would like to prepare it at which point I click "yes". An icon of a DVD disk appears on the desktop and then I drag my files onto this icon. It takes a few moments to create the disc image and then I click "burn". However, after the disc is burned the disc image disappears and I have to start all over again if I want to make another copy.
    How can I save this disc image? If I could save the disc image, it would enable me to burn a second DVD right after the first without having to create the disk image all over again. This would save a lot if time.
    I am using OS 10.1.5
    Thank you for any suggestions

    Thanks Niel for the info about creating a Disk Image with the Disk Copy utility in OS 10.1.5
    That worked however when I insert a blank DVD-R, the disk image still has to be copied to the DVD-R buffer and then it can be burned. And so this doesn't really save any steps - the "copying into the buffer" step still has to occur whether or not you have created a disk image of your files. So creating a disk image doesn't really shorten the process of burning multiple copies of a DVD.
    I will try to describe the steps more clearly:
    Two of the three steps for creating a DVD (steps 2 and 3) are very time-consuming:
    1. put blank DVD into the drive (a DVD disk icon quickly appears)
    2. drag files onto this icon (this step takes a long time as the files are copied into the buffer)
    3. choose "burn" (the actual burning also takes a long time)
    I was hoping that when I create two or more DVDs of the same files, I could first create a Disk image so that when I create the second DVD, step 2 could be skipped. That does not seem to be the case - the disk image still has to be re-loaded. And so I think I will not bother with the Disk image idea - it doesn't seem to be necessary or helpful when burning DVDs to backup data.
    Thanks for your suggestion.

  • How do you create a disk image of windows so u can increase partition size?

    Ok, I have installed windows on my mac using bootcamp so i can play pc games and such. I mainly use the mac side of the computer but I have 30 GB devoted to windows. I ran out of space though and now want to uninstall windows so i can make the windows partition bigger. The problem is that I don't want to have to install ALL of my programs over again once i reinstall windows so I want to take a disk image of windows which i can revert to once it is reinstalled. I tried using the disk utility to do it but it keeps giving me error messages. Does anyone know how do create a disk image using windows??? or maybe I'm doing something wrong with the disk utility??? HELP!

    The easiest way I have found to do this is to backup the windows partition with a program such as WinClone
    http://twocanoes.com/winclone/
    Then use the bootcamp assistant to erase and recreate the partition, finally restoring the backup to the new partition. I have done this several times with my mac and it works great.

  • How can I create a NetBoot image using command line tools?

    Is it possible to create a NetBoot image entirely using command line tools?
    (That is, without using the SystemImageUtility)
    If so, are there reasonable instructions posted somewhere?
    I don't believe I can use SystemImageUtility with my current setup,
    but I would be happy to hear how I could:
    I have a set of Xserve clusternodes but without optical drives or video cards.
    One node acts as the head, running DHCP, DNS, OpenDirectory, Xgrid.
    They are wired to a gigabit switch.
    I have a PowerBook connected on the subnet which has ServerAdmin Tools installed.
    I don't think when I run SystemImageUtility on my PowerBook that I can successfully image one of the clusternodes disks over the network.
    I have tried to start one node in target(Firewire) mode, connect it via Firewire
    to the head node, and run hdiutil from the head node to make a complete disk image of the clusternode's drive.
    But a NetBoot image requires the whole nbi file, right?
    Could I then use copy this disk image to my PowerBook and use SystemImageUtility on my PowerBook to create a NetBoot image from it?
    I really have tried to read the PDFs, but I found the section on System Imaging in the Command Line Reference rather unhelpful.
    Thanks for anyones help.
    dmaus
      Mac OS X (10.4.4)  

    To create a NetBoot image, you could just put the cluster node in target mode and attach it to your PowerBook. Then use SIU to create the NetBoot image.
    If you're trying to create a backup image of the disk, use hdiutil, or put in in target mode and create the image with Disk Utility.

  • How do I create a ROM image for emulation?

    Can someone tell me how to create a ROM image from my dying LC III so I can emulate it on my newer mac? I still have a lot of files and software I need to access in the future. OS 9 doesn't work with some of the software on my G4 PowerMac and I will be switching to an intel mac mini soon and will lose even that capability.

    You can find instructions on this page and the pages linked from it:
    http://www.emaculation.com/doku.php/sheepshavermac_os_xsetup
    Regards.

  • How do i create a jpeg image from clips in fcp

    how do i/can I create a jpeg image from clips in fcp?
    Stephen

    Select clip in timeline and place the playhead over the frame you want to save as a JPEG. Open the share window ( Button on far right of tool bar) and select 'Save current frame'. If you don't see that option click on add destination and select the Save current frame choice. It will be added to your share options.

  • ADF & JSF : how can I create a clickable  image

    Hi,
    How can I create a clickable object with an image property and have an action, I want to use it instead of a command button.
    thanks,
    Ahmad Esbita

    Hi Ahmad
    One way is to drop an objectImage tag inside a commandLink tag without a text attribute as follows:
    <af:commandLink actionListener="#{backingBean.someMethod}">
      <af:objectImage source="/someimage.gif"/>
    </af:commandLink>The image is clickable raising the actionListener event.
    Hope this helps.
    Regards,
    CM.

Maybe you are looking for

  • HT201407 How to reset my iPhone 4s iCloud ID? Plz help me Plz

    I buy a 2nd hand iphone 4s. It is Country unlocked. I was updated it to 7.1.2 . I need to remove the iCloud account but I don't know the password. The 1st owner is not available now because he just left the country 1 month ago. how can I reset my iCl

  • Deploying a J2EE web application in Oracle 10g

    Hi friends, <br> I had worked with Oracle9i 9.0.3 . But it's my first experience with Oracle 10g . I have installed Oracle 10g Infrastructure , Metadata Repository and one Middle tier - Forms and i hope i have followed The Oracle 10g installation gui

  • Photo file names in ipad changed with last update, how can I change them ?

    When I transfered photos from my SD card to the ipad, it created an event naming it after the date pictures were taken, after last ipad OS update SOME of the events names changed to 126IMPRT, xxxIMPRT, etc not even in order of date taken, and the oth

  • Error Code -1 Returned by core audio driver-Please help!

    I can't open GB3, each time I try, it gives this message error: Error Code -1 Returned by core audio driver What can I do? Intel 2.16, OS: Leopard, and I use Guitar Rig 2 which work fine.

  • BR* TOOLS Help

    Hi, Does anyone knows how to create BR* Tools setup or configuration... basically in PRD server already configured, how may i check to configure these same step in QA server... anyone can sent screenshot or step by step procedure.. and how to backup