The order of the JFrames

Hi,
I have started my application with JFrame (aFrame) and later on need to start another JFrame (bFrame). I always get the bFrame behind aFrame.
Question is what should I do in order to get first frame(aFrame) behind bFrame?
It looks like
Class Y extends X
public Y()
  super(aFrame);
  bFrame = new JFrame();
bframe.pack();
//aFrame.toBack(); or bFrame.toFront();
//or     bFrame.setLocationRelativeTo(aFrame); - brings nothing
bFrame.show();
} Could you advise me anything?
Regards, Ondt

No, the aFrame already exists, when I want to create
bframeSounds like something is setting focus to aFrame (maybe the default focus manager). Try using requestFocus() for some component on bFrame. Also try it using SwinUtilities.invokeLater().

Similar Messages

  • I copied a smart playlist to a regular playlist in order to change the order of the individual selections.  I then burned the regular playlist to a cd, but the cd burned it in alphabetical order as it appears on the smart playlist.

    I changed the order, then burned a cd but the cd copied the songs in the order of the smart playlist, which was alphabetical.  What am i doing wrong in this scenario, and is there a way to change the song order in a smart playlist?  I am a new MAC user.  Is this unique to the MAC format?

    I'm trying to figure out a way to make a playlist of songs I generally like from a very large library to fit on my iPod. The songs aren't rated, and I don't want to have a totally random selection chosen by a smart playlist.
    I usually make two playlists.
    One playlist with favorites I do want on the iPod and another smart playlist to fill the rest of the iPod. Just limit the size to th esize of the iPod minus wthe size of my iPod selection playlist.

  • How do I change the order of the fields in my pdf form?

    I am using pdf. form I made in Acrobat and distributing with Adobe FormsCentral.  We use a table format for our teachers to fill out their field trip schedules and therefore use many different fields.
    How can I change the order of the fields (not for tabbing, we figured that out)...so that when we receive our notification email, I can see the inforamtion in a specific order (Date, Time, School, Program, etc).
    We would also like this same order to appear in the "View Responses" table.  I know you can drag and drop the order in the table but we have over 100 fields and that is going to take a really long time.
    Please help???
    DATE
    TIME
    To start/finish
    Name of Program  
    TEACHER’S
    NAME
    TEACHER’S EMAIL
    # OF
    STUDENTS
    Setup in
    Room #
    03-21-14
    Solids vs. Liquids
    03-21-14
    Solids vs. Liquids
    03-21-14
    Solids vs. Liquids
    04-11-14
    Solids vs. Liquids
    04-11-14
    Solids vs. Liquids
    04-11-14
    Solids vs. Liquids

    What do you mean by the "order they appear in the pdf structure"?  What is the "Pdf structure"? 
    thank you for your help... this is really upsetting, as I thought we finally found a solution with Adobe Forms : (
    We really need the fields to report back in a specific order and wouldn't have time to rearrange over 100 fields with every form that is submitted. We receive about 10-20 different forms a day (same form layout, just some of the fields will have to be prefilled depending on school/teacher reservation... so we have to name each form a different name, for each school).
    Thank you again and maybe one day they will change that.  Is there anyway to set it up in the web verison of Adobe FormsCentral to look similar to the table we have created?
    DATE
    TIME
    To start/finish
    Name of Program  
    TEACHER’S
    NAME
    TEACHER’S EMAIL
    # OF
    STUDENTS
    Setup in
    Room #
    03-21-14
    Solids vs. Liquids
    03-21-14
    Solids vs. Liquids
    03-21-14
    Solids vs. Liquids
    04-11-14
    Solids vs. Liquids
    04-11-14
    Solids vs. Liquids
    04-11-14
    Solids vs. Liquids

  • You changed the order of the menu for "Open in a new window" or "Open in new Tab", How can I change it back? Or how can I omit any reference to tabs? I do not use them at all.

    You changed the order of the menu for "Open in a new window" or "Open in new Tab", How can I change it back? Or how can I omit any reference to tabs? I do not use them at all.

    You can use the Menu Editor add-on to rearrange or remove menu items - https://addons.mozilla.org/firefox/addon/menu-editor

  • How can I change the order of thumbnails so it affects the order in the lightbox when using the composition widget - lightbox display?

    Hi, I'm making my portfolio in Muse, and I'm using the composition widget - lightbox display. I imported all the images and then I wanted to reorganize the thumbnails - and when I do that, the order in the lightbox doesn't change and so it's not the same as the order of the thumbnails (after rearranging them). Please let me know if there is a way to fix this quickly, or do I have to do it all one more time

    The order the items display in a composition widget is the front to back order of the items. You can rearrange the stacking order of the thumbnails/triggers using the Layers panel and/or the Object > Bring To Front, Send To Back, etc. menu items to adjust the order they're displayed during auto play or when clicking the next/previous buttons.

  • Sometimes when I play songs in Itunes by double clicking on them, Itunes will place the song as the first one on the album.  It will chnage the order of the songs on the album, and I can not switch them back to the correct order.

    Sometimes when I play songs in Itunes by double clicking on them, Itunes will place the song as the first one on the album.  It will chnage the order of the songs on the album, and I can not switch them back to the correct order.  This onloy seems to happen when I double-click on the song to play it in itunes.  If I just hit play, this doesnt happen.  As a result, I have several albums now in which the songs are in the wrong order.  Its very frustrating, as this error then transfers over to my ipod every time I sync it.  When I choose the info. for the songs, it has them correctly listed (i.e., it lists the songs as being #1 of 19 on the CD, for example).  But then the song will have placed by Itunes as #5 of 19 for whatever reason.  Itunes does not do this every time, but does it with enough frequency to be maddening.  Any thoughts?

    The problem of tracks becoming de-linked between iTunes and the music files in your iTunes music folder happens for different reasons - this seems to come up fairly commonly in this forum.
    The solution can be to locate each song in the iTunes library, as you mentioned - or, but wait, before I get to that...
    trouble finding the original track in your iTunes music folder? maybe look for it under compilations, or if not using the 'group compilations preference' then look in the folder under the songs artist name, but what song artist name iTunes uses depends on what you have in the metedata tag spot for album artist or song artist. Any varyation in artist name spelling, in the menu item 'get info' metadata for any selected individual track will cause iTunes to create that as a separate artist folder in the library, even names like 'various' or any difference at all (even the word 'the' can change where in your iTunes music folder a track gets placed by iTunes). You can try to use the finder function of find file (finder munu item outside of iTunes) to locate hard to find items.
    Back to how to re-link any de-linked tracks .
    There may be scripts that can help re-link de-linked music files - or, at least provide you a list of such files, Scripts are easy to install and use...
    at Dougs Scripts, there is one called iTunes Track CPR that might work
    http://dougscripts.com/itunes/scripts/ss.php?sp=itunestrackcpr
    or, if you just want a list of de-linked tracks, go to
    http://dougscripts.com/itunes/
    and find the script called List MIA's, this will create a text file listing all de-linked tracks
    if you review the thread at
    https://discussions.apple.com/thread/3633708
    also the thread at
    https://discussions.apple.com/message/17513078#17513078
    you may find more insight into dealing with this kind of issue there, although some of that thread may not apply to your case, aspects of it might help.
    Good luck.

  • How can i copy a playlist from itunes to a mp4 player without loosing the order of the tracks in the playlist?

    Hello again,
    I'm having problems transfering the playlists i've created from itunes to a mp4 player. It's not an ipod, and everytime i try to do this operation, the songs show up not by the order in the playlist but by alphabetical order. Is there any way to copy the playlist without loosing the order of the songs and directly, - i mean, without having to copy song by song to a folder in the mp4 player -, like it happens with the ipod? If so, how?
    Thank you for your time.

    I would consult the documentation of the mp4 player then. 
    B-rock

  • How do I synch photos from my PC to Ipad2 without a change in the order of the photos?

    I am not able to synch photos from my PC to Ipad2 without a change in the order of the photos. I ordered them by date so thought there would be no problem. What can I do to solve this problem?

    A better solution in windows is set up folders and organize your pictures that way.  That will be similar to events that iPhoto uses. That way the pictures will stay in an organized fashion for you.
    I use a mac and iPhoto and the pictures are organized by events.
    Good luck.

  • Is it possible to change the order of the fields in the int table?

    Hello
    Is it possible to change the order of the fields in the int table?
    Lets say itab has the following fields :
    F1, F2, F3
    I would like to see it as F2 F3 F1
    Thanks

    >
    Comandante Che Guevara wrote:
    > Lets say itab has the following fields : F1, F2, F3
    >
    > I would like to see it as F2 F3 F1
    What do you mean by "like to see" ? You can WRITE the fields in any order you want. If you want to display the internal table in an ALV you can manipulate the fieldcatalog.
    If you want something else other than display the field, you have to explain your req. in detail.
    BR,
    Suhas

  • ITunes 10.6.3 keeps generating incomplete downloads AND it rearranges the order of the playlist when I burn a playlist to an mp3 cd

    iTunes 10.6.3 keeps generating incomplete downloads AND it rearranges the order of the playlist when I burn a playlist to an mp3 cd.
    I purchased an album on iTues from my MAC book Pro & the song downloads were incomplete. The song length shows correctly in the column, but they cut off between 1/4 & 1/2 way through the songs. Now, I dwonloaded it on my iPhone 4 through my itunes account after the purchase & the songs play fine. This happened with the very next song I purchased, as well.
    I got around this issue, then created mp3 versions of all the songs, put them in their own playlist, then "Burned an mp3 disc." When it completed, the songs were in a different order.
    Are there any fixes for either of these problems/bugs?

    iTunes: How to set the play order of songs on an MP3 CD - http://support.apple.com/kb/HT2455

  • To set an error while saving the order when the item categor changed in CRM

    Hello SAP Gurus,
    As per our current system set up, whenever the order created in CRM once replicated to ERP should not change the item category in CRM .If the item category is changed( allows the system) and saved, it gives an error as u201CItem category should not be changedu201D. We have been encountering  this type of issue since long back
    To avoid this type of issue, an error should through while saving the order when the user changes the item category in CRM.
    Can someone help me to achieve this.
    Thanks in advance.
    Cheers
    Sreedhar

    Sreedhar,
    Can't you control it by Item Category determination?
    JD

  • Problem with the order of the columns of a ALV

    I have a problem with a ALV, variants we keep this ALV does not record the order of the columns
    Thank you

    I suppose you want to change the sequence of columns of a ALV. If you can change it by clicking 'settings' of right-top corner of ALV. After done you can save the new settings into a new. If you find some abnormal behaviour, please check the settings by WDA component "wd_analyze_config_user".
    FYI.
    [http://help.sap.com/saphelp_nw70/helpdata/en/32/f26f73d81e11d1a26f0000e8a5a614/frameset.htm]

  • HT1660 My itunes library has automatically started to list my songs alphabetically.  I do not want this.  How do I change it so that when albums come up, the songs are listed in the order of the imported album, NOT alphabetically.

    My itunes library has automatically started to list my songs alphabetically.  I do not want this.  How do I change it so that when albums come up, the songs are listed in the order of the imported album, NOT alphabetically.

    For the missing Artists on your iPod, make sure their tracks in iTunes are not marked as "Part of a compilation" in iTunes. You can do this by highlighting the track, right->clicking on them and choosing "Get Info" from the shortcut menu. When the window pops up, head over to the Info tab and make sure there is NO tick mark next to this option in the lower right hand corner. Lastly, sync the updated changes to your iPod.
    B-rock

  • How do I change the order of the icons on the top right hand corner?

    Hi,
    I was wondering how to change the order for the icons at the top of the screen. I selected the option of not showing the battery status bar in the energy saver section. However, when I decided to add it back to the top, the order changed. This may sound strange but is there any way to get it back in the correct order.
    Thanks

    1) Hold down the command key and drag them around.
    2) Open System Preferences/Accounts Login Items and change the order they load.

  • How do I change the order of the profiles in profile manager?

    I have several profiles and I know that I can use profile manager to delete the profile without deleting the files, then add the profile back, but it is a very clunky way to change the order they are in. Is there any quicker way to change the order of the profiles?

    Thank you both. My problem was that I was looking in the wrong place for the profiles.ini file. I'm not sure now where it was I was looking, but I found it quickly with the links cor-el gave. I didn't want to use command line option (though it is a good suggestion) because that would increase the clutter from icons and I was attempting to reduce clutter.
    Again thank you both for the quick response.

  • I created an album in iPhoto and every time I click on slideshow it plays the pictures backwards from the order in the album. How do I change that?

    I created an album in iPhoto and every time I click on slideshow it plays the pictures backwards from the order in the album. How do I change that?

    When running a slideshow from an album it will not run properly if the photos are sorted manually.  Sort them by any of the other options, title, date, rating, etc. and it will play correctly.
    Send a report of the problem to Apple via http://www.apple.com/feedback/iphoto.html.
    If you must sort them manually create the slideshow in the slideshow mode in iPhoto, not from an album.
    OT

Maybe you are looking for