How to drawString ontop of the sprite/layers

I am new to J2me. I got the problem to drawString ontop of the sprite. When you have layers on canvas, they will alway be drawn on the top, so whatever you use graphics object to draw (eg, drawString, drawRect) will be hidden by the layers. Any ideas how to solve this problem. can I draw a string as a sprite?
Btw, how to find out which line actually cause the exception in the stacktrace, like what we did in J2SE? Is that "bci=20" meaning something?
Thanks in advance

...can I draw a string as a sprite?...as far as I understand, above can be done with [drawString()|http://java.sun.com/javame/reference/apis/jsr118/javax/microedition/lcdui/Graphics.html#drawString(java.lang.String,%20int,%20int,%20int)] method applied to Graphics of an [Image that has been used in Sprite constructor|http://java.sun.com/javame/reference/apis/jsr118/javax/microedition/lcdui/game/Sprite.html#Sprite(javax.microedition.lcdui.Image)]

Similar Messages

  • How can I change the text layers to a specific color at the same time and in the fast way?

    Dear all!
    I am using Photoshop CS5. I typed 65 text layers in my file and wish to change their colors to a specific Black Color, but I don't know how to select all the layers at the same time so that I can change all the text layers from Red Color to Black Color in the fast way. Now I only select one layer and then change. It means I must select and change 65 times for the text layers. Hope you can understand what I mean.
    Thanks a lot.
    My Kindest Regards,
    LUCK

    One way is to select all the text layers, select the type tool in the tool box
    and set the color from the tool options bar.
    MTSTUNER

  • How do you stack different photos in the editor layers pallet

    How do you stack different photos in the editor layers pallet? I can get different photos in the editor, but I cannot figure out how to get different photos into the layers pallet at the same time.  Please help!!!!!

    Just to clarify, you can never see the layers panel for more than one photo at a time. The suggestions you got will show all the photos, but because they are now combined as layers in one image.
    If you want to see more photos in the editor at once, go to the preferences>general and turn on Allow Floating Documents, then go to Window>Images>Float all in windows, then Cascade or Tile.
    But you will still only see the layers panel for the image that is active at the moment.

  • How do you turn off the auto select behavior when working with shape layers?

    How do you turn off the auto select behavior when working with shape layers?
    I am using either of the path selection tools to select only some of the paths on the layer. I have the proper layer targeted. I have the selection too auto select option turned off.
    If another layer has a path in that area, that layer becomes auto targeted and I get the wrong path. Turning off the layer is the only way to avoid this but then I have to  turn on the layer back on between making my selection and transforming to use the other layer as guide. Is there any way to stop this auto select? Locking the other layer does not stop the auto select, just prevents editing.

    As far as i know the move tool options don't have any effect on the path selection tools.
    You might try clicking on one of the path points or on the path itself with one of path selection tools and if you want to select multiple points
    you can shift click with the Direct Selection Tool or Alt click to select the entire path.
    more path shortcuts:
    http://help.adobe.com/en_US/photoshop/cs/using/WSDA7A5830-33A2-4fde-AD86-AD9873DF9FB7a.htm l
    http://help.adobe.com/en_US/photoshop/cs/using/WSfd1234e1c4b69f30ea53e41001031ab64-7391a.h tml

  • How to turn off all the layers in one go?

    How to turn off all the layers in one go?
    In case the pdf file contains layers, then how to turn them all off in one go?
    Thank you for the help,
    Best
    Jamal

    able,
    What happens if you select both the grunge and the image and in the Transparency flyout tick Make Opacity Mask? You may try different ticking/unticking and colours.

  • How can i edit lenght of the all layers in timeline at the same time??? in Photoshop cs6 extended

    How can i edit lenght of the all layers in timeline at the same time??? in Photoshop cs6 extended
    Because when i select all layers in layer panel or right in timeline panel, i will be able to edit duration only in one layer... so if i can document with more than 20 layers, the work will be terrible
    Please give me someone some tips... and tricks

    You can't delete the All On My Mac as it is an automatic group to display all of the contacts that are stored "On My Mac." You can delete all of the contacts that are in the ON MY MAC section by selecting All ON My Mac and then selecting all contacts. Press delete and approve the deletion. Then, select each group under ON My Mac and delete those individually.
    Then, Make sure iCloud is set as the default account in the General Address Book Preferences.

  • How can I view both the layers panel & effects panel in PSE 11?

    I have PSE11 and purchased Paint the Moon effects.  How can I view both the Layers panel and the Effects panel at the same time?  Was this an option in older versions of PSE that are used in the Paint the Moon tutorials?

    At the very bottom right of the editor window click the little arrow to the right of the More button and choose Custom Workspace. Then your panels will behave the way they did in earlier versions--you can drag them out of the bin, see more than one, remove panels from The Clump, etc.

  • I have several layers for this image: Background, Moon, Tree, Grass and Clouds.  When I try to use the Move tool to move the Moon, the tool jumps to the Tree layer.  The same thing happens with the other layers as well (except the background layer).  How

    I have several layers for my image: Background, Moon, Tree, Grass and Clouds.  When I try to use the Move tool to move the Moon, the tool jumps to the Tree layer.  The same thing happens with the other layers as well (except the background layer).  How can I keep the move tool from jumpimg to the Tree layer?

    1. Pre-select (highlight) the layer to move in the Layers panel.  or-
    2. [ALT+Right mouse click]  to select the wanted layer in the image window.
    and maybe
    3. Set the PS option to "Auto-select" a layer with cursor hover.  (can be very confusing!)

  • How do I export to PDF in InDesign without the hidden layers

    Hi there
    This is probably a simple solution but I am trying to export a document to PDF in InDesign without the hidden layers.
    i.e - I have created a document that includes images etc from an existing PDF.
    When I open the new PDF and use the 'find' tool, Pro is highlighting words on the hidden (original pdf).
    I have tried exporting only the visible layers but is there a setting in InDesign that I can use to export only the visible content to pdf?
    Thanks in advance.

    Jenjimay wrote:
    I have tried exporting only the visible layers but is there a setting in InDesign that I can use to export only the visible content to pdf?
    Even if you mask off part of a PDF, or place a white rectange on top of it, the text will still be selectable. Other than with raster images, InDesign is not smart enough to clip off parts of a PDF (or rather, it's smart enough to leave them as they are). PDFs can contain incredibly complex objects, and any clipping routine would probably make as many mistakes as it solves problems.
    Introduce a small Transparency to this image or one on top of it, then export with Acrobat 4 (PDF 1.3) settings. Since that old version does not support native transparency, ID is forced to redraw the image, and then it will clip off excess data.

  • How do I find out the size of each individual element within a photoshop file as need to replace some elements?  Thanks :)

    How do I find out the size of each individual element within a photoshop file as need to replace some elements?  Thanks

    What do you mean by "Elements"?
    Elements in a flat image or Layers?
    Could you please post a screenshot with the Layers Panel visible?

  • How do I save only the VISIBLE objects in AI to Pdf or jpeg.

    I have multiple layers but only want to save the currently visible elements objects out in a PDF or JPEG,
    how do I do this without having to tediously double click each layer and choose "do not print" (layer).
    would be nice to have a preference in prefs to "not print hidden layers".

    You can choose to have your non-visable Illustrator layers preserved but invisible in your PDF, or removed completely. To remove them, select Acrobat 5 compatibility or earlier, or deselect the preserve layers option. If you include your invisible layers there is a possibility they will re-appear in some PDF viewers.
    http://forums.adobe.com/message/4964425#4964425

  • How Can I get extend of ThemeBasedFOI layers

    Hi,
    I am trying to figure out how I can get extend of ThemeBasedFOI layers. With this information I try to center my theme based FOI.
    So far I tried two ways:
    - My first trial was getLayerBoundingBox method of ThemeBasedFOI class. However the resulting SdoGeometry was the extend of the whole map. After I zoom out/in, pan I can not center my FOI with getLayerBoundingBox result.
    - My second trial was getFOIDataEntries method of ThemeBasedFOI class. Through iteration (of FOI data) I try to find layer extend. However, when the layer content was polyline or polygon the method was failed. Since I can only reach the first coordinate of the foi data entries. The failure was dramatic if there is only one FOI data in layer (for this case I can not even has clue about the extend).
    How can I get ThemeBasedFOI extend (now and future)? I also wonder if there is anybody there getting the true result from getLayerBoundingBox method. I also expect that I will utilize this method in future without any problem.
    Thanks for help and interest.

        JenJenTen,
    I understand that having a preset text that you did not want can be a bit frustrating when sending out text. To clarify, is the preset message like a signature at the end of your text? Does this only happen in text messages or when your send emails also? Is your SMS delivery confirmation on? Messaging>Settings>SMS delivery confirmation.
    LindseyT_VZW
    Follow us on Twitter @VZWSupport

  • How to make a ramp affect other layers

    I'm trying to create a lower thirds that will include some motion, otherwise I might try Photoshop for this. But basically, I'm trying to create a gradient using ramp in AE so that the lower thrids I've created fades away on the sides. Similar to the image I've attached. I don't know how to make the layer that I put the ramp effect on affect the other layers. Can anyone help?

    Dave's method is great.
    Like all things AE, there are many ways to accomplish the same thing.
    Some alternatives are: Make a black & white gradient ramp on one layer, and use it for a track matte on another matte. You can also use the Set Matte effect to copy the alpha of one layer to another.
    There are direct ways to create alpha ramps using 3rd party plug-ins like Ramp Alpha that's in Red Giant's Key Correct and Image Lounge.

  • Confused about extending the Sprite class

    Howdy --
    I'm learning object oriented programming with ActionScript and am confused about the Sprite class and OO in general.
    My understanding is that the Sprite class allows you to group a set of objects together so that you can manipulate all of the objects simultaneously.
    I've been exploring the Open Flash Chart code and notice that the main class extends the Sprite class:
    public class Base extends Sprite {
    What does this enable you to do?
    Also, on a related note, how do I draw, say, a line once I've extended it?
    Without extending Sprite I could write:
    var graphContainer:Sprite = new Sprite();
    var newLine:Graphics = graphContainer.graphics;
    And it would work fine. Once I extend the Sprite class, I'm lost. How do I modify that code so that it still draws a line? I tried:
    var newLine:Graphics = this.graphics;
    My understanding is that since I'm extending the Sprite class, I should still be able to call its graphics method (or property? I have no idea). But, it yells at me, saying "1046: Type was not found or was not a compile-time constant: Graphics.

    Thanks -- that helped get rid of the error, I really appreciate it.
    Alas, I am still confused about the extended Sprite class.
    Here's my code so far. I want to draw an x-axis:
    package charts {
        import flash.display.Sprite;
        import flash.display.Graphics;
        public class Chart extends Sprite {
            // Attributes
            public var chartName:String;
            // Constructor
            public function Chart(width:Number, height:Number) {
                this.width = width;
                this.height = height;
            // Methods
            public function render() {
                drawAxis();
            public function drawAxis() {
                var newLine:Graphics = this.graphics;
                newLine.lineStyle(1, 0x000000);
                newLine.moveTo(0, 100);
                newLine.lineTo(100, 100);
    I instantiate Chart by saying var myChart:Chart = new Chart(); then I say myChart.render(); hoping that it will draw the axis, but nothing happens.
    I know I need the addChild method somewhere in here but I can't figure out where or what the parameter is, which goes back to my confusion regarding the extended Sprite class.
    I'll get this eventually =)

  • Finding the Sprite number if we give the member name

    Hi every one
    I want to find the spritenum based on the member name
    supplied
    for example i have a text field the member name of this field
    is "txtFirstName"
    Now if i want to find the sprite num through code then how
    should i go about it.
    I couldn't this so i need your help on this
    Thanks and regards
    Atul saxena

    Atul Saxena wrote:
    > Hi every one
    [Finding the Sprite number if we give the member name]
    http://groups.google.com/group/macromedia.director.basics/browse_frm/thread/4b20759601fd41 31/404003e8ea44676b?lnk=st&q=&rnum=3&hl=en#404003e8ea44676b
    Andrew

Maybe you are looking for

  • Ethernet cable for macbook pro

    i would like to inquire what type of ethermet cable owuld I use for my mac book pro 13.3 inch

  • Can OS X Snow Leopard be installed on a MacBook Pro5, 5 with an Intel Core 2 Duo?

    This question may already exist somewhere in the support community, but if it is there I have missed it. If not, then here it is for myself and those of this specific inquiry. I have a MacBook Pro bought in mid-2009, Model MacBookPro5, 5, with an Int

  • Using .swf flash files in iMovie

    I know that .swf files are not like other video files at all, but is there any solution for converting these files on Mac? I use flash CS3, and it does a pretty pathetic job exporting them. (the quality is crappy) Soooo, is there a Quicktime plugin o

  • Regarding goods receipt number

    Hi all,   From which table i can  get goods receipt number and GR date created for a delivery. Also i need to link the above GR number and date with table LQUA table to get required Quant number? Thanks, Sashti

  • Pick up group between analog Phone connected on VG224 with Cisco 7911 does not work?

    Hey guys, I had a problem, during a demo. My team was design a cisco callmanager 7.0 with 7911 IP Phone and with VG224 analog devices phones. I would like to know if there are some a problem of capability when configured a Analog Phone on VG224 in th