How can I make my JPanels appear overlapped on each other?

Hi there
In my program i have say 3 JPanels inside a one big JPanel (container), and I want those 3 JPanels inside, appear in an overlapped fashion. Obviously the layout of the container jpanel does not allow me to that. Is there a work around to that?
I am aware of the JLayeredPane, but as far as i know i cannot add a JPanel into it. Or can I?
Any help appreciated.

You can add JPanels to a container in an overlapped fashion, when you switch off the layout manger of the container by:
bigPanel.setLayout(null);then you have to layout the container yourself by calling the
setBounds(x,y,width,height) method on the 3 panels.
But I don't know how to control the z-order of the panels.
I think using JLayeredPane is the better solution.
JLayerdPane definitely works with JPanels.

Similar Messages

  • How can I make my albums appear alphabetical on itunes?

    how can I make my albums appear alphabetical on itunes

    You can add JPanels to a container in an overlapped fashion, when you switch off the layout manger of the container by:
    bigPanel.setLayout(null);then you have to layout the container yourself by calling the
    setBounds(x,y,width,height) method on the 3 panels.
    But I don't know how to control the z-order of the panels.
    I think using JLayeredPane is the better solution.
    JLayerdPane definitely works with JPanels.

  • I have created a spreadsheet on numbers for ipad with a list of customers as a drop down menu. How can i make their address appear underneath when i select the customer?

    I have created a spreadsheet on numbers for ipad with a list of customers as a drop down menu. How can i make their address appear underneath when I select the customer?
    iselect the customer?

    Hi bazza,
    We won't be able to put the address from a formula into the same cell that you enter the customer's name. We can put the address in the cell under the customers name.
    First let's take James advice and concatenate the address in the address table.
    Here is the formula in G2
    =CONCATENATE(B2&"
    ",C2&"
    ",D2&"
    ",E2)
    It shows this way because after I clicked on B2 and typed [&"] (no brackets) I typed option-return
    This gives you your new line. Then I typed the closing ". I repeated this for the rest of the address.
    Next we want to bring this to your order sheet. I prefer using the two formulas OFFSET and MATCH instead of VLOOKUP.
    base tells OFFSETwhere to start counting from. Click A1.
    row-offset is for the row. we will use MATCH() -1 to give us the row.
    What MATCH does is give you the row number where something is found and you can specify an exact match. I usually construct the MATCH formula first and then cut and paste it into OFFSET. MATCH looks like this: MATCH(A2,Table 1::A,0). A2 is what we are looking for, Table 1A::A is where we are looking (the entire column A), and 0 means we want an exact match. Can you see it inside the OFFSET formula? Notice that we had to subtract 1 from its result.
    column-offset tells OFFSET which column A=0 so we want 6.
    we ignore "rows", "colomns" we don't need them.
    If this seems like too much, just break it down into small pieces.
    quinn

  • How can I make an image appear partially in front and partially behind another layer in Adobe Illustrator?

    How can I make an image appear partially in front and partially behind another layer in Adobe Illustrator?

    Put the image behind the layer (at the back of it or on a layer below). With it still selected, Copy.
    Now Paste in Front (Ctrl+F). Depending on your Paste Remembers Layers setting, you may have to bring the newly pasted copy to the front, or to the upper layer.
    Draw a shape over the image to define the portion of it you want to appear "in front."
    With the shape and the image selected, clip the image using the shape. (Object > Clipping Mask > Make)

  • How can i make my object appear as a mesh?

    How can I make an object appear as a mesh? I dont want anything as complicated as a coloured gradient I just want a flat object to appear like a net. Is there an easy way to do this?
    Thanks
    J

    Jules,
    Depending on the shape, and upon the appearance (varying width and/or knotting or whatever), it may be anything from a Rectangular/Polar Grid (bundled with the Line Segment Tool) to something intricate and difficult.

  • TS1702 I am trying to install an app, I'm asked to enter my password, but my keyboard won't pop up, only the option to paste, but when I choose paste, nothing fills in (which makes sense as I have not copied anything). How can I make my keyboard appear?

    I am trying to install an app, I'm asked to enter my password, but my keyboard won't pop up, only the option to paste, but when I choose paste, nothing fills in (which makes sense as I have not copied anything). How can I make my keyboard appear?

    Are you tapping on the field you want to enter data into? That opens the soft keyboard. If you touch the field and hold it, the paste option will appear.
    Barry

  • HT204023 How can I make my hotspot appear on my iPhone 4s

    How can I make my hotspot appear on my iPhone 4s

    have you signed up for it with your carrier? if so go to settings, general, cellular and find the personal hotspot button.

  • How can I make the playback buttons of YouTube and other plug-ins bigger since they are so tiny?

    How can I make the playback buttons of YouTube and other plug-ins bigger since they are so tiny in Firefox? I tried some suggestions that dealt with entering "about:config" in a fresh browser, but to no avail. I also downloaded an add-on called "Theme Font & Size Changer", but that didn't work either. So, I am reaching out here as that was a suggestion that another user here offered.

    Ah, yes- that is an ultra high DPI (dots per inch) display. This is a known issue in Flash Player, which Adobe is working on fixing.
    In the mean time, you can get some videos to have normal-sized controls by switching Youtube to the HTML5 video player:
    In Firefox, go to https://www.youtube.com/html5 and click the "Request the HTML5 player" button.

  • How can I make my apple ID valid for purchases other then the Canadian iTunes Store?

    How can I make my apple ID valid for purchases other then the Canadian iTunes Store? I wanted to download the "Wath abc family" app and it said it had to switch me to the american store because the app isnt available in Canada yet. Once it switched me I put in my apple ID and password and thats when it said that my apple ID is only valid in the canadian store and it switched me back. 
    1)
    2)
    3)

    To make purchases in the Mac App Store/iTunes Store for any particular country, you must be a legal resident of that country and supply a credit card issued by a bank in that country with a verifiable billing address in that country. Do you also make those qualifications in the US?
    But as a side note, as one who has that app, you can only watch both ABC and ABC Family shows if you have an account with a US cable or satelite TV company with which to sign into the app. Otherwise you don't qualify to watch shows with it.

  • How can I make row labels appear on the right

    I am creating a timeline for a web development project in numbers
    I have changed the content scale to get it to fit on two pages (it's illegible on one page) but the tasks are overlaid on the grey column containing row labels
    How can I make the row labels appear on the right side instead of the left side?

    Thanks Badunit - that was a big help
    The counterintuitive part of this whole exercise is that to get the timeline printed as I want, I've got to leave the column representing Week 8 blank
    Print View:
    Normal View:
    Numbers has got Excel beat in so many ways, but there are some baffling bits to it!

  • How can i make Distiller autoname file ( when exprting from other application?)

    hello everyone,
    i have been searching for a solution for a long time please help me >
    we have more than 100.000 docuents saved as pic on our network at work by using ( Laser Fiche). I wanted to save all files by using acrobat distiller but when i try to print a file i was prompted to enter a file name! but i don't want to... i want the distiller create a file name automatially.
    in the preferencesd i unchecked ( ask for PDF .. ) but the problem is that all files saved were overwritten because distiller was imporing the file name from Laser Fich!
    how can I make distiller ( autoname files like 0001 0002 0003 and so on) ?
    forgot to tell you that i am using acrobat version 5 ( and windows xp + laser fiche at work )
    thanks in advance

    thanks Bill@VT -
    it didn't work
    I opened the properiteis of the distiller and uncheck the ( prompt for the PDF file name) so that the distiller can save files automatically . it did but by overwriting the files because the original files in the LASER FICHE have same names so the distiller saved one file only by overwriting ....that's why i want to make distiller to name files when saving them ( the distiller are imorting the files from Laser fiche only but i want it to autoname them )
    i also opened distiller properites and unchecked the ( ask to replace existing PDF filename ) the distiller was always asking me to replace file ! and I can't do it this way because I have more than 100.000 docuents!
    sorry , I know this is a very difficult question
    but I would very happy if you can help me
    hank you
    Al

  • How can I make my Logo appear after 10 seconds of loading the background?

    Hi,
    I have an animation Logo flash movie which I want to appear after 10 seconds of loading the background image (Panel_mc)?
    I am using Actionscript 3 to load the Logo.swf movie. The following is the whole code that I have on my action script page:
    stop();
    import fl.transitions.Tween;
    import fl.transitions.easing.*;
    var PanelTween:Tween = new Tween(Panel_mc, "y", Elastic.easeOut, -400, 20, 5, true);
    var l:Loader=new Loader();
    addChild(l);
    l.load(new URLRequest("Logo.swf"));
    l.x = -20;
    l.y = -20;
    l.contentLoaderInfo.addEventListener(Event.INIT, growLoader);
    function growLoader(evt:Event):void {
         l.width = 320;
         l.height = 185;
    Note: I need it because first the background will animate so no one can pay attention to my Logo. Once the background stops animation, My logo needs to be start (animation)?
    How can I do it using Actionscript 3.
    Hope somebody will help me.
    Thanks.

    If you look into the few code elements I mentioned, either in the help documentation or using Google, you will find examples that you can use/modify for your current project.  You'll learn more by doing some work yourself rather than having solutions handed to you. We are all learners... yes, it can be hard, but it gets easier when you work at it.

  • How Can I Make Title Cards Appear with Flicker Behind Them?

    Hello professionals,
    I have a question for you, guys:  I am editing a short film now which is a throwback to some old 1930's films.  I keep creating the title cards but the font always looks to modern.  How can I create the title cards in Final Cut Pro so they have that old, 1930's feel flicker to it?  An example of this would be the opening credits in this film:
    http://www.youtube.com/watch?v=NvXtjWq-k78
    I'd like to do something similar.  Thank you so much in advance.
    Matthew

    While it won't be exactly the same you can easily create something similar. Go to the GENERATORS BROWSER and select TEXTURES and the PAPER and drag that to the timeline. Then in TITLES drag the BASIC TITLE on top of your paper and select the font you want while changing the colour to black, etc. in the INSPECTOR.
    Select the title and paper on your timeline and right-click and select NEW COMPOUND CLIP.
    In the EFFECTS select VIGNETTE and drop that on your clip. Then you could add FILM GRAIN, SIDELIGHTS, or perhaps PROJECTOR and in the INSPECTOR adjust the parameters.
    Not sure if that's what you're looking for but it's a possibility.

  • How can I make my number appear on my facetime and imessage

    Can someone help me with my facetime and iMessage. I can't use them at all. And how can I put my number on facetime and iMessage? I want both mynumber and email on both.

    The Settings App. It has a greay icon with gears.

  • How can I 'force' my Macs to look for each other on the network?

    OK, I have an iMac with a wired connection to a router, and a MacBook Pro with a wireless connection to the same router. Most of the time, they can 'see' one another on the network, no problem. But, every so often, even after both have been on for a while, I will click the Network icon and the other computer will not appear as available - this happens even when the target computer can see the computer I'm using to try to access it.
    So, here's my question: how can I 'force' my Macs to look for (and find) one another on the network?
    Thanks... if you need further information, just ask... - beck

    If you are using Tiger, go to
    Finder menu -> Go -> Connect to Server
    Enter the specific IP address of the other Mac where is says +Server Address+. You can find the IP address by running System Profiler or looking at System Preferences Network pane (on the other Mac).
    Once you have mounted the volume you to access, make an alias for it and place it in the Dock or on your Desktop. The next time you want to connect to that server, use the alias.

Maybe you are looking for

  • Syncing my iPhone immediately crashes iTunes in Leopard

    I installed Leopard last weekend, and before that I never had any problems syncing my iPhone. But now that I've installed it, whenever I connect my iPhone to its dock, iTunes gives me the spinning beach ball until I force quit out of it. It doesn't s

  • How do I make multiple plain text links active (clickable) at once?

    I'm running Number 3.5.2 and I deal with a lot of documents that have long lists of URLs. Anytime I open a xls or numbers doc that already has the URLs pasted in, they're listed in plain text and not clickable. Is there a way that I can select all of

  • Goods Receipt Label

    Hi, I am using the following for printing the label. I am using output type wee1 Program SAPM07DR FORM routine ENTRY_ETIE Form RM07ETIKETT I am generating the output using MBO2. The output is being generated but i am not getting the print out. Please

  • ThinkPad X201 - Hard Drive1 Password - no reset possible

    Hello outside, this post is going to be longish but I need to give as much information as possible to get your help. We bought a bunch of lenovo X201 notebooks plus additional FDE drives (Hitachi, model name is HTS723225L9SA61, delivered through leno

  • SAP R/3 and DSXI tool   (Data Services)

    Can we find any documentation in sap help or service.sap on how to integrate SAP R/3 and DSXI. Basically our requirement is when ever a customer master is created with out GEOCODE value (ZIP+4 value), that customer record need to be picked by DSXI an