Putting Components on top of other components

Hi,
I need some help with the following subject:
from the super-class i need to place a component on top of all other components (or paint something on top of these), but when i add the component it shows below all other components.
How can I make this work?

sorry, but this was a little to essential.
1. how does the paint method of the VXComponent look like?
2. where and how do you add the other components, which are drawn on top of your component?
3. actually you seem to use no LayoutManager?
- I never did that but I'd guess it causes the container to draw the components just in the (reverse?) order in which they where added.
if this is the case something like this should help:
add(vx, 0),
or
add(vx, getComponentCount()-1);
regards
Spieler

Similar Messages

  • How to put components in a row?

    Hi!
    I am totally new to Java ME and I have just built my first "Hello world" application. Now I would like to make a form which consits of two TextFields. I have no idea how to make them appear in a row, that is if TextField text1 is the first textfield, then i want TextField text2 to appear under text1. In Java SE, you have JPanels to put components after each other, but what to do i Java ME?
    EDIT: I solved it with I Form.
    Question: Why can´t I use a TextField in Display.getDisplay(this).setCurrent(TextField_object)?

    Check the layout directives described in the Item documentation for some more fun with layouts :-)
    [http://java.sun.com/javame/reference/apis/jsr118/javax/microedition/lcdui/Item.html]
    Roxxor wrote:
    Question: Why can´t I use a TextField in Display.getDisplay(this).setCurrent(TextField_object)?Because TextField isn't Displayable. However you can use TextBox here if you want to have a bigger editing space.

  • Putting Components on Frame Title Bar

    Is there a way to write over the title bar on an awt Frame? That is, to actually put components where the frame title is ordinarily found. I have a small PDA I have to write an awt-based app for, and I'm trying to find ways to maximize real estate. Thanks.

    if you want the frame to be vis. too use swing and call setDefaultLookAndFeelDecorated(true), this will cause 100% java frames that you can put stuff on to be used

  • Can I put only the top image of a stack in a Mobile Album?

    I have an album that contains stacks and I would like to put only the top images of these stacks in a Mobile Album.  Is this possible? 
    I have tried to make a new album and only put the top images in this new album without sucess.  Is it possible to have a stack of images in one album and only the top image in another ablum?
    I hope someone knows about this
    Hans Brodin

    Hi Surendra,
    My target is to find a convenient way to transfer my best photos only to my iPad
    By using stacks for similar photo and putting my best shot on top I reduce the number of images displayed in the organizer.  A typical stack contains of 8 shots.  
    Then I put my best stacks in an album.  By using the Slide Show in PE I have a convenient way to display only my best shot and tha's OK for my computer were I have a lot of disc space.
    But on my iPad the size of memory is limited and it also takes some time to transfer a huge number of images so now I want to find a convenient way of tranfering only the top image of each stack. If I could have a separate album containing only the top images from each stack the task would have been easy.
    Now this is not possible so now I hope there is another solution than acually making a separate copy (a new file) of each top image and put these copies in a separate album.   This will of course work but it will end up in having two identical images showing up in the organizer and so I do not really like this idea.
    I hope I have managed to describe my intention and do you have an idea for a workaround or do I need to make separate copies?
    Thanks a lot
    Hans

  • My pictures are being placed in the inappropriate events; like laying on top of other pictures.

    HELP  and THANKS    I am in  iPhoto. I have 29,000 pictures.  I have about 1500 events.  I have dragged a very few if these pictures from the internet.  I have dragged one picture from Facebook,  I have received eMails with pictures that I have put in iPhoto library.  I have also brought pictures from the  iPhone into my iPhoto library.
    A problem has recently emerged.  Three of the pictures which I have dragged into my iPhoto library have superimposed themselves upon photos which were already in the library.  When I double click on any one of these three recently imported pictures to get an enlarged view of it, the picture that becomes enlarged is not the one that I just double clicked . . .it is a pre-existing photo in my library.  This phenomenon suggests to my mind that that the (recently imported) photo on which I just clicked has somehow superimposed itself over the pre-existing photo.  ?????   What a strange dilemma!   HELP.
    This is the problem and a recent problem.  I have three separate pictures that I have brought into the library that are causing a problem. One is from the Facebook, one is from an eMail, one is from a library file that I bought online. They have perpetuated, that is they have placed themselves on top of other pictures in many events.  The said pictures can be seen  and have been renamed the file into which they are going and going and going.  When I click on the said pictures up comes the original picture that has the event name.  I have tried to trash the picture and bring back the pictures only to find the returning problem.  Please someone please help.  The problem is that one picture is superimposed upon another picture.
    I took my computer to SimplyMac and they reloaded the thumbnails and said that would fix the probable. It didn't!  Now what! 
    Thanks again!

    If Larry's suggestion doesn't help the situation Try the following:
    1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your
         User/Home/Library/ Preferences folder.
    2 - delete iPhoto's cache file, Cache.db, that is located in your
    User/Home/Library/Caches/com.apple.iPhoto folder (Snow Leopard and Earlier).
    or with Lion, Mt. Lion or Mavericks delete the contents the User/Library/Containers/com.apple.iPhoto/
    Data/Library/Caches/com.apple.iPhoto folder.
    3 - reboot, launch iPhoto and try again.
    NOTE: In Lion and Mountain Lion the Home/Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and press the Return key - 10.7: Un-hide the User Library folder.
    If you're running Mavericks, 10.9,  go to your Home folder and use the View ➙ Show View Options menu to bring the this window:
    where you can check the Show Library Folder checkbox.
    OT

  • Cant put image on top of another image

    Hi,
    I'm using keynote 09 with the 'Blueprint' theme. I'm attempting to edit the master slides by putting a company logo in the corner of each slide. This works fine on slides without images, but on slides with images, keynote will not let me put my logo over the image placeholder. The placeholder image always blocks my logo, even when I choose 'Send backward' on the place holder.
    Is there a way around this?
    thanks

    Sorry, I was typing fast.
    The problem is that you cannot put images above media placeholders on master slides. One suggestion was to make my image (my logo comprised mostly of white text) a media placeholder as well, therefore I could edit the master slide and layer my new media placeholder (logo) above the default-already-existing placeholder (some architectural image in the blueprint theme).
    This works but has an additional problem.
    Since my logo is white text, I wanted for it to stand out from the picture beneath it. As I sometimes do, I thought I should place my white-text-logo on top of a small black rounded rectangle with transparency (like a cartouche).
    I like to do that because it makes my logo legible, while still showing the picture through the transparency. INdeed, this is easy to do if you are only dealing with pictures and shapes (and not the magical placeholder versions of them)
    You can make the shape a text placeholder, and you can make the image (logo) a media placeholder, but you can't group the two together as a unit. And if you group them first, then you cannot make your group (shape+image-logo) a placeholder at all, so you then cannot layer it on top of the default image place holders.
    I was saying that I'd have to open my logo in photoshop and put it on top of a 'cartouche' and then import that modified image, and THEN make it a media placeholder.
    But obviously it would be easier if keynote just let us properly layer elements as you would expect it to work.
    I mean, setting images aside, why can't I create a shape and put it in front of a media placeholder without making the shape a text placeholder?
    Of course I can edit my logo and add dropshadow or glow to make it stand out, but even then, I would need to make it a placeholder before keynote would let me layer on top of another placeholder. And if I'm going through the trouble of using photoshop to add shadows or glows, I might as well just put the image on top of a cartouche as originally desired.

  • Can I put buttons on top of a slideshow?

    My client has asked the latest cover of their magazine to have a slow crossfade of about 5 images as the background, with elements such as logos & links to articles over the top.
    I thought this would be easy since the Slideshow » Crossfade feature is simple to control, but I run into trouble as soon as I put anything on top of it—the slideshow appears on top of everything else in the preview, even if it's an interactive element.
    Am I missing a step somewhere? I feel like this should be a relatively simple thing to do—but it's been about 6 months since my last DPS project so I'm a little rusty, and a lot has been updated in the meantime.
    My other option would be to do the crossfade in Photoshop and import as an image sequence, but I suspect I'd run into the same problem (correct me if I'm wrong!).
    Or I could do the animation in Edge Animate and import as an HTML object. Would either of those options give me better results? They seem a little more complex for essentially the same end product.

    Yep, they're buttons.
    So far I've only added one button, for initial testing. It's the client's logo as a placed Illustrator file. In Buttons and Forms, it's type is a Button, I've named it and On Release or Tap it has a Go To URL action. It has no rollover or click states and it is not Hidden Until Triggered. I feel like I'm missing a step somewhere there...
    Putting the buttons into each state of the MSO works fine, but is less than ideal since they'll change many times before the final version. Updating 5 versions of the same thing each time will get a bit tedious! That's the only way I can get it to work for now though, so I'll keep going like that.
    Adding a text frame with scrollable content works fine - it appears on top of the slideshow.
    Adding another slideshow on top works as well... but my buttons don't!
    EDIT: And yes, I mean in Adobe Content Viewer. It displays the same on the desktop version and on my iPad.
    Message was edited by: Luke-CYB

  • Putting text on top of a custom shape

    If I put text on top of a custom shape I've added, the text doesn't show.   I know it's there because if I change the opacity of the "shape" I can see the text is in fact there.   How do I force the text to be on top of the customer shape?   I'm using the shape as a "thought bubble" so one would think this is a common thing to do.

    It's probably not because of the shape. First of all check your color square to be sure the text isn't the same color as the shape. Also, you may  need to make text very much larger in PSE than you normally would, because text size is dependent on the resolution of the image. A high resolution image can need really big text before you can easily see it. Don't be afraid to type in a much larger number than is available in the pulldown menu.

  • I'm using movie program how do get rid of background noise and put music over top of video

    I'm using movie program how do get rid of background noise and put music over top of video

    Niel,
    Thanks for your suggestion about using RCDefaultApp. I am hesitating to do this because it seems like I'd be installing still another piece of software to fix the original mistake---downloading Reader.
    About 20 years ago I maintained---with considerable handholding---UNIX systems of various sorts. Can you suggest how I might find the plist that seems to require changing?
    BTW, Preview is called whenever I open some random .pdf file. The problem appears when I want to get a file from the web. If the site permits a "download" I can get the file, but if I want to "view and print" the file, the evil dark-grey Adobe screen appears with the whirling black ball. Then Safari quits. I'm wondering if the reference to Reader is in a "cookie" sent from the website, when I first was installing Reader. Is this possible?

  • How do I put my desk top music library songs onto my i pod

    How do I put my desk top music library songs onto my i pod nano ?

    Import them to the iTunes library if they're not in it, click here, and follow the instructions.
    (101781)

  • When i call on my iphone the call keeps been put at the top of the phone as if i pressed the home botton ,how do i stop this

    every time i call someone or get called the call is put at the top in green as if i have pressed the home button ,i really hate it and want to stop it but am not sure how to do so please can someone tell me how.
    thanks

    every time i call someone or get called the call is put at the top in green as if i have pressed the home button ,i really hate it and want to stop it but am not sure how to do so please can someone tell me how.
    thanks

  • I am using chat-r wireless and facetime is not working but when i put rogers fido or any other carrier sim in it work. Anyone know what the problem?

    I am using chat-r wireless and facetime is not working but when i put rogers fido or any other carrier sim in it work. Anyone know what the problem?

    I'm guessing it's a compatibility problem similar to that that T-Mobile in the US has. I'm not familiar with chat-r wireless, but I'm guessing it's not a supported carrier for the iPhone. If they can't tell you how to fix it, I'm guessing it's just plain not going to work.

  • I bought music on my ipod touch. Why is it that I cannot put that music on my other ipod(s)?

    Hello,
    I bought music on my iPod touch. Why is it that I cannot put that music on my other Ipod(s)?
    I downloaded my IPodTouch to my computer with no problems. I tried to drag the music I bought on my IpodTouch to other playlists on my computer and it did not let me. It refuses to let me even try to drag it to my computer music Library. It shows on my IPodTouch, but like I said, it will not let me drag it to my other Ipod(s) or even to my Music Library on my computer. Please help me.

    Aurthorise / Deaurthorise About
    http://support.apple.com/kb/HT1420
    Apple ID FAQ
    http://support.apple.com/kb/HE37

  • I would like to put a video in an other video,but the video (if want to inscrust for example in an IPad screen on this video) will follow, in 3D  and automatically the moves of the IPad (here). I remember I found 2 months ago a plugins on the Internet but

    I would like to put a video in an other video,but the video (if want to inscrust for example in an IPad screen on this video) will follow, in 3D  and automatically the moves of the IPad (here). I remember I found 2 months ago a plugins on the Internet but I can not anymore find it. Who can help me? Thanks

    I think you might mean Slice X. I think it has a motion tracker.

  • .swf inside HtmlLoader appears on top of other air content

    When there is an HtmlLoader with a .swf wmode window the .swf file appears over top of everything!
    I understand that .swf should appear above everything inside the HtmlLoader, but I don't think it should appear over top of anything outside of the HtmlLoader.
    A simple example of this would be:
    <?xml version="1.0" encoding="utf-8"?>
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
       xmlns:s="library://ns.adobe.com/flex/spark"
       xmlns:mx="library://ns.adobe.com/flex/mx">
    <mx:HTML location="http://youtube.com" width="100%" height="100%" />
    <s:Button width="300" height="300" label="should be over all html content, .swf in html appears over it. click and watch a youtube video to see." />
    </s:WindowedApplication>
    I NEED a fix to this~!
    Even placing a second HtmlLoader with an .swf wmode window over top produces random results with the top .swf sometimes on top and other times below the lower .swf

    As you have discovered, two elements on the surface of a <div> cannot occupy the same space. The solution lies in getting one of the elements to "lie down," either by getting it totally off the surface and making it a background of it or by actually "levitating" one above the other.
    Apply a unique id to each div in which an image now lies.
    Place each image in the background of its div, defining it in your CSS.
    You will not then be able to use the image as a button, and you may want to add something else to click on.
    OR (this second way is probably better)
    Change the .FilmStill definition by adding position: relative;
    Change the .SlantedWritingFilms definition by adding position: absolute; and positioning attributes (left: 0; top: 0; for instance)
    Change each .SlantedWritingFilms <span> into a <div> within <div class="FilmStill">.
    Beth

  • IPhoto 6.0.5 Thumbnails pics over the top of other photos

    I have just returned to my Macbook Pro after a break and in viewing recent photos noticed some were distorted, squashed in shape , and even superimposed over the top of other pics. In other words when viewing in the Library source you see a thumbnail size pic which is not the photo that has been recently imported -
    dbl click on it and you get the grey square with an ! mark in the centre.
    2/. when selecting an album I get photos mixed with other photos that have no connection with the album. Some of those photos are equally squashed in shape. In fact I have just gone thru all my albums and see they have all been intermingled with photos from other albums.
    3/. The roll numbers have also jumped numerically from say 289, 290, 291, to numbers starting 816,817, etc.!!!
    Are my problems major in that I should move to trash and start again hopefully importing from my iPod or is there a simple!!! explanation and cure.
    All help will be appreciated.
    Alan

    To TD,
    Thanks for your helpful reply. I have now rebuilt my iPhoto library as you suggested.
    However, I have not found out why my film rolls are being numbered so inconsistently. As I mentioned they were going along fine in a numerical sequence when they started jumping from 3xxs to 8xxs for no apparent reason. In fact having removed some dud pics in the 8xxs range and re-importing from my digital camera (fortunately I hadn't removed them from the flash card) I see my film roll Nos. are going from the 3xxs and jumping to 12xxs & 13xxs !!
    Are there any answers to this problem? and can I re-number the rolls or is there some underlying danger in trying to do that?
    All help will be appreciated
    Alan
    5-11-06
    Imac G5 Macbook Pro   Mac OS X (10.4.8)  

Maybe you are looking for

  • Open a File in a JTextPane via Drag and Drop

    Hi,      I have a simple JTextPane in a Swing App on Windows XP. I would like to know if it is possible for me to be able to add the functionality such that I can drag a text file to the JTextPane and it would open the file inside the Pane. Is this p

  • Got an email the address says from iTunes secure

    The subject line says, "Been temporarily freeze your account to protect it please reactivate it". The body of the email just starts off Hello. It has a Verification link but I'm scared to click on it. It says that if I don't respond within 24 hours m

  • Download button does nothing

    I have the Adobe Creative Suite app installed (for CS6) and wish to upgrade to CC. When I go to the app center and try to download one of the software apps, pressing the Download button does nothing. I read here that someone said to delete Adobe Air

  • Click 40gb cannot restore at all

    Click wheel 40GB Windows XP iPod worked fine for ages until the first time I came to connect it to Kensington RDS FM Transmitter/Car Charger for iPod, eventually got it to work after a couple of mins – all seemed ok – did notice it skipping songs tha

  • How to modify strings by deleting non-essential portions?

    I am using a Labview driver for a linear stage.  To use this stage, I need for it to output the position which I can get.  However, it outputs the position in a string like the following: POSITION=-1.2754 >PRINT "POSITION="  POS How would I get rid o