StackPane don't fill free space in the window

Hi all!
I'm facing an issue when trying to resize (even just filling) the extra space on a window with a "frameworked" node.
Explaining:
I'm using this framework to manage multiple scenes: https://blogs.oracle.com/acaicedo/entry/managing_multiple_screens_in_javafx1
It works fine, but I'm not able to se the "inner" node to expand to fill all the window. I'm able to set min Width and Height to reach the window boundaries, but I'd like to set a "fullscreen" mode to the node and let the JavaFX do the trick. Is this possible?
I'm attaching an image to help the explanation. Basically what I want is fill the green area (Controlled Screene that extends StackPane) with the blue/pink (Gridpane with bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0") node.
I already tried to extend the framework class to the Anchorpane node but didn't works.
Please follow this link to the image:
https://dl.dropboxusercontent.com/u/25373134/screen.png
Tks in advance!
André Castro

Looking at the blog post you linked, it has the following code:
Group root = new Group();
root.getChildren().addAll(mainContainer);
Scene scene = new Scene(root); This is likely the cause of your issue.
A Group is not a resizable pane, so it does not expand to fit it's surrounding area.
Try making the root a StackPane instead and see if it works.
StackPane root = new StackPane();
root.getChildren().addAll(mainContainer);
Scene scene = new Scene(root); If this does not fix your issue, please post the complete contents of the FXML file you are using and a test harness application which you use to display it.

Similar Messages

  • Does the "Fill free space with music" not work like it did before?

    Before updating my iphone 4 to iOS5, the fill free space with music seemed to rotate in and out music and also provided space to add more pictures, podcasts, etc.  Now it just seems to fill the phone to the max on the first sync and just leave what it put on there in place.  If I try to add something like a folder of pictures it will only add a few of the pictures because there is no room.  Before I think it freed up room by deleting some of the "free space" music.  I'd like to go back to that.  I really don't want have to had select every song I put on the iPhone when I have more music than my phone will hold.

    Also, how does it decide what to add to the iPhone?

  • I have a 64GB iPad2 and selected to "Automatically fill free space with songs".... will it have to download that 60GB of music to my ipad everytime I sync?  It took about 8 hours to sync the music to it

    I have a 64GB iPad2 and selected to "Automatically fill free space with songs".... will it have to download that 60GB of music to my ipad everytime I sync?  It took about 8 hours to sync the music to it.
    I did this last night at 10pm thinking it would take 30 minutes to sync these 10,000 songs or so to my ipad to take up the 64 GB.  I went to bed because it was taking so long and woke up at 6am and it was just about to finish.  It finished around 630am.  So it took a good 8 hours to sync.
    I unhooked it and used it for an hour or so and then hooked it backup so that I could update a few apps on it.  When i did that it acted like it was re-adding all of those songs again and it took about 8 hours again to sync all the music.  Was that just a fluke because I made changes to the ipad?  or will it always calculate and then re-sync alllllllllllllllllll of those 10,000 songs?
    Thanks so much for any help!!!
    -Michael

    Anyone?

  • Does "Automatically fill free space with songs" refill the iPhone regularly

    I have a bit of music I'd like to have it shuffle, and having it essentially use the autofill command every time I sync my iPhone would be a bonus.
    So when you choose "Automatically fill free space with songs" in Sync Music, does it refill the iPhone's music regularly, or do you need to uncheck, sync, and check again in order to keep the autofilled music from stagnating on the phone?

    Also, how does it decide what to add to the iPhone?

  • Setting aside photo space w/ using music option to fill free space

    I have a 32gb iPhone and I'm am looking for way to utilize the 'fill free space' option with music while at the same time setting aside a few gigs of free space for music and video.  Whenever I use the 'fill free space' option, I am being limited  to the amount of pictures or videos that I can take before I get 'out of space' warnings with the camera.  I would like to set aside 2 or 3gb, dedicated for photos, then fill the rest with music.
    Has anyone found an easy way to do this?  The only way I can think of to work around this might be to dump a lot of photos on the phone when syncing such that they take up an extra amount of space, then manually delete them from the phone interface once I get done.  This seems a little over cumbersome though... I would think there is more eloquent way to do this with through either iTunes or the iPhone.
    Thoughts?

    AC Adam wrote:
    The only way I can think of to work around this might be to dump a lot of photos on the phone when syncing such that they take up an extra amount of space, then manually delete them from the phone interface once I get done. 
    That or add an App or Apps to take up the space.
    I would think there is more eloquent way to do this with through either iTunes or the iPhone.
    Nope.

  • ASE - Started filling free space info for database

    Hi All
    I have an ASE db that is in a RECOVERY state.
    This the last communication in the log: Started filling free space info for database 'BWP'
    Does anyone know what this means?
    There is a SAP BW running on ASE 15.7.
    I am an SAP consultant working onsite at a client and the environment is down due to the DB being in this state.
    Any ideas?
    00:0002:00000:00014:2014/07/03 10:27:18.04 server  Recovering database 'BWP'.
    00:0002:00000:00014:2014/07/03 10:27:18.05 server  Started estimating recovery log boundaries for database 'BWP'.
    00:0002:00000:00014:2014/07/03 10:27:18.07 server  Database 'BWP', checkpoint=(249429512, 203), first=(249429512, 203), last=(249429513, 46).
    00:0002:00000:00014:2014/07/03 10:27:18.07 server  Completed estimating recovery log boundaries for database 'BWP'.
    00:0002:00000:00014:2014/07/03 10:27:18.07 server  Started ANALYSIS pass for database 'BWP'.
    00:0002:00000:00014:2014/07/03 10:27:18.07 server  Completed ANALYSIS pass for database 'BWP'.
    00:0002:00000:00014:2014/07/03 10:27:18.07 server  Log contains all committed transactions until 2014/07/03 10:19:12.65 for database BWP.
    00:0002:00000:00014:2014/07/03 10:27:18.07 server  Started REDO pass for database 'BWP'. The total number of log records to process is 81.
    00:0002:00000:00014:2014/07/03 10:27:18.14 server  Completed REDO pass for database 'BWP'.
    00:0002:00000:00014:2014/07/03 10:27:18.14 server  Timestamp for database 'BWP' is (0x0004, 0xd609797b).
    00:0002:00000:00014:2014/07/03 10:27:18.14 server  Recovery of database 'BWP' will undo incomplete nested top actions.
    00:0002:00000:00014:2014/07/03 10:27:18.14 server  Started recovery checkpoint for database 'BWP'.
    00:0002:00000:00014:2014/07/03 10:27:18.14 server  Completed recovery checkpoint for database 'BWP'.
    00:0002:00000:00014:2014/07/03 10:27:18.14 server  Started filling free space info for database 'BWP'.
    ASE VERSION:
    Adaptive Server Enterprise/15.7/EBF 22779 SMP SP122 /P/x86_64/Enterprise Linux/ase157sp12x/3662/64-bit/FBO/Sat Apr 19 05:48:19 2014
    Any suggestions on what to do?
    J

    ASE tracks the free space available on each segment in memory.
    If the server is shut down politely, ASE can store the current values on disk and retrieve them at startup.  However, if the server is shutdown abruptly (shutdown with nowait, crash, power failure, kill -9, etc.) the free space figures don't get written out.  In that case ASE has to recalculate the free space values by reading all the allocation pages or OAM pages in the database.  On a big database, that can take time.
    Your main choices are to
    1) wait it out
    2) set the "no freespace accounting" database option and reboot
    Disabling free-space accounting for data segments
    While recovery will be much faster with freespace accounting turned off, there are side effects such as unexpected 1105 errors (no free space...) and thresholds not firing as expected.  In general I'd advise waiting it out and trying to avoid the use of "shutdown with nowait" going forward (which may or may not be what brought the server down, but it is the main cause you can control).
    -bret

  • Tmpfs free space versus the "free" command

    I've always thought this possible, so today I tried it:
    I have 2 gigs of physical RAM, and no swap partitions, so my memory limit is a hard 2 gigs.
    I made 2 1-gig tmpfs mounts; nothing complained.
    I filled them up one at a time, and kept checking both free memory (with free) and free space on the tmpfs mounts -- as I started to get near the limit of my system's RAM, free still showed plenty of RAM free in the +/- row.
    Neither free nor df gave me any indication that the system was dangerously low on memory. (I assume from a bit of Googling  that "free" considers the size of tmpfs's to be part of the "cached" column, as nothing else was big enough to contain them.)
    Anyhow, I added a few more files to the tmpfs and the system locked up for a while... After about 3 minutes of hard drive thrashing (which was a bit distressing, but since my files look OK I guess it was desperately running sync again and again to try to free RAM for the tmpfs), a couple programs died and everything went back to normal.
    So, in an effort to have that not happen again (since I use tmpfs heavily; it's a nice way to screw around with big files without waiting on hard drives), I wrote this little shell script:
    #!/bin/bash
    #prints worst-case free memory, from /proc/meminfo
    total=`grep MemTotal /proc/meminfo | gawk '{print $2}'`
    used=`grep Committed_AS /proc/meminfo | gawk '{print $2}'`
    echo "Free RAM in the worst case: " $(($total - $used)) "kB"
    and put this in my .bashrc:
    alias free='free; wcfree'
    alias df='df; wcfree'
    ~Felix.
    PS: If it's not possible to make stuff crash with only a single tmpfs, please let me know -- that would be good knowledge, and make me feel silly for writing this :P

    The advice I got was to shrink the database and reexpand it. And reindex all tables because of defragmentation.
    I don't know if it works, and I would be hesitant to try it, because I believe there is an issue with DBCC SHRINKFILE being awfully slow when there is LOB data.
    I like to believe that your odds would be better if you used varbinary(MAX), and given how easier varbinary(MAX) is to work with your life would be happier two. But I don't know how that would work with your merge-replication scheme. And if you use READ/WRITE/UPDATETEXT
    you need to change that code.
    You say you cannot create a new table and copy data over because of merge replication. Would it be possible to create a new column, copy data over, drop the old column and rename? I have no experience with merge replication myself, so I don't know of
    the repercussions. If you do this, you need to run DBCC CLEANTABLE to get rid of the space.
    For that matter you could try DBCC CLEANTABLE in the state you have now. Not that it should help from you have told me, but you never know...
    Erland Sommarskog, SQL Server MVP, [email protected]

  • Insufficient free space in the database during upgrademodule General checks

    we are upgrading SAP R/3 Enterprise 470 110 to ECC6 on Oracle/Windows.
    During PREPARE module: General checks the file CHECKS.LOG show the following information:
       #====================================================#
    Requests and information for module General checks #
       #====================================================#
    INFO> The following values may be preliminary because of
          free space consumption during productive operation and
          additional free space requests derived in a later stage.
          Conversions of modified tables can require additional space.
          Please use the largest free space request printed,
          which are the values at the very end of this file.
    ERROR> Insufficient free space in the database as follows:
    Create TABLESPACE PSAPDIMD             with 102 MB
    Create TABLESPACE PSAPDIMI             with 102 MB
    Create TABLESPACE PSAPODSD             with 112 MB
    Create TABLESPACE PSAPODSI             with 112 MB
    Create TABLESPACE PSAPFACTD            with 102 MB
    Create TABLESPACE PSAPFACTI            with 102 MB
    INFO> To adjust the size of your tablespaces, you may use the commands
          in file 'C:\usr\sap\put\log\ORATBSXT.LST' using the 'brspace' utility.
          Please copy the file before making changes, as it may be
          overwritten in subsequent upgrade phases.
    INFO> During the upgrade, the new SAP kernel
          will be installed. All files and subdirectories
          in directory C:\usr\sap\CTD\SYS\exe\run which are not used
          in Release 700 will be removed.
          The files from "dbclient.lst" in the kernel directory are kept.
          Files and subdirectories can be protected from deletion
          if they appear in a file "protect.lst" in the same directory
          (each protected name in a separate line).
          For security reasons, directory C:\usr\sap\CTD\SYS\exe\run
          should be saved in a backup.
    INFO> You already installed kernel extensions.
          Please unpack the archive(s)
          RFC.CAR
          after the upgrade has finished.
          You can find these archives on the CD "Presentation".
          Do  n o t  unpack the archives now, the software
          is only compatible with the new SAP kernel.
    INFO> It is possible to upgrade the frontend software before
          you start SAPup!
       #===========================================================#
    PREPARE module General checks finished with status failed #
       #===========================================================#
    #====================================================
    Execution of all selected PREPARE modules finished.
    #====================================================
    Now, we have the new tablespace layout and as says the upgrade general note: Note 819655 - Add. info.: Upgrade to SAP NW 2004s ABAP ORACLE we do not have to create tablespaces as saied in PREPARE; so I have adjusted tables DDART,    TAORA, IAORA: with the entry
    DDIM     STD     Dimension Tables in BW
    DFACT     STD     Facts Table in BW
    DODS     STD     ODS Tables in BW
    Then J have repeated the module: GENERAL CHECK but in the file CHECKS.LOG I noted always the same error.
    Any HELPS?????
    Edited by: Raffaele Pezone on Dec 1, 2009 4:25 PM
    Edited by: Raffaele Pezone on Dec 1, 2009 4:34 PM

    As mentioned in sap note: Note 541542 - Upgrade phase INIT_CNTRANS: Container inconsistency
    we don't have standard layout:
    Standard layout: TABART: TAORA-TABSPACE, IAORA-TABSPACE
    SSDEF:  PSAPES<rel>D,   PSAPES<rel>I
    SSEXC:  PSAPES<rel>D,   PSAPES<rel>I
    SLDEF:  PSAPEL<rel>D,   PSAPEL<rel>I
    SLEXC:  PSAPEL<rel>D,   PSAPEL<rel>I
    APPL0:  PSAPSTABD,      PSAPSTABI
    USER :  PSAPUSER1D,     PSAPUSER1I
    <...>:  PSAP<.....>D,   PSAP<.....>I
    but
    MCOD Layout (new layout)
    SSDEF:  PSAP<sid><rel>, PSAP<sid><rel>
    SSEXC:  PSAP<sid><rel>, PSAP<sid><rel>
    SLDEF:  PSAP<sid><rel>, PSAP<sid><rel>
    SLEXC:  PSAP<sid><rel>, PSAP<sid><rel>
    APPL0:  PSAP<sid>USR,   PSAP<sid>USR
    USER :  PSAP<sid>USR,   PSAP<sid>USR
    <...>:  PSAP<sid>, PSAP<sid>
    but we don't use Multiple component in one Database. We have only one instance in one DB.
    in fact we have following tablespaces:
    PSAPSID   
    PSAPSID620
    PSAPSID700
    PSAPSIDUSR
    PSAPTEMP  
    PSAPUNDO  
    SYSAUX    
    SYSTEM
    I have just created PSAPSID700 as  PREPARE says.

  • ITunes 10 Auto Fill Free Space Results in "Over Capacity" Warning.

    In iTunes 9 when i had "Automatically fill free space with songs" checked, it would fill my iPhone to about 100MB or so short of full. Very full, but enough space left to be able to download some apps or maybe some music directly to my phone.
    In iTunes 10, clicking the very same option results in iTunes telling me that my phone will now be 0.34GB Over Capacity. I tried to do things like unsync large video files, but nothing seems to work. If i unclick "Auto fill" I have 9GB empty, but as soon as i put it back on it jumps over the limit.
    Anyone else having this problem?

    Hi, had similar problem on iPad.
    Overcame this by setting manual sync on the summary page as mentioned by John Ruffel previously.
    then created a smart play list (File menu or ctrl Alt N) with the following rule:
    'Size' 'is greater than' '1' MB
    Limit to (check box) 12 GB selected by random   Note change to suit your device capacity
    Save
    Give the smart play list a sensible name.
    Select it to check there is some music in it.
    If you are happy then drag it to your device, which should then sync automatically.
    It worked for me, good luck.
    Alan

  • Automatically fill free space with songs

    When I am syncing music to my iphone, and I check the box that says "Automatically fill free space with songs," how does itunes determine which songs it puts on my phone? Can I prevent it from placing unchecked songs in my library on my phone?

    Ah, it looks like the solution is here:
    http://discussions.apple.com/thread.jspa?messageID=12209799&#12209799
    And involves going to the summary tab, selecting "manually sync music" then deleting all of my songs and resyncing. That shouldn't take more than 45 minutes. I'll report back if it works.

  • "Automatically fill free space with songs" omits half my music

    This is a bizarre bug that I can't figure out. The "Automatically fill free space with songs" option on both my iPods and my iPhone will only select from songs that were in my iTunes library as of November 2009, about 7 months ago. I know this because I began importing a large portion of my CD library at about that time, and have been expecting to be hearing some new material (like the entire Beatles box set). Instead, I'm getting replays again and again of songs that I know were in there from before 11-09.
    Newer songs can definitely be imported as members of a synced playlist.
    I tried a complete rebuild of the iTunes library files -- all that did was screw up my Smart Playlists and reset my "Date Added" field for all songs.
    Does anyone have any clue on this?

    Ah, it looks like the solution is here:
    http://discussions.apple.com/thread.jspa?messageID=12209799&#12209799
    And involves going to the summary tab, selecting "manually sync music" then deleting all of my songs and resyncing. That shouldn't take more than 45 minutes. I'll report back if it works.

  • ITunes bug using "Automatically fill free space with songs"

    Using iTunes 10.1.0.54 on Windows 7 I've encountered an issue when using the "Automatically fill free space with songs" option with any of my iPod devices.
    The first time I synchronized my iPod using this option everything worked as expected - all the music from my selected playlists was transfered to the device as well as "random" music to fill the remaining space.
    However once I changed the content of the selected playlists and tried to synchronize the device again I got an over capacity warning since the selected music list was now larger than before.
    The only way to properly get my iPod to sync again was to deselect the "Automatically fill free space with songs" option, sync (removing all the extra songs), then re-enable the auto fill option and sync again.
    From a usability point of view this shouldn't be the expected behaviour. When the selected music set grows iTunes should randomly deselect music from the "auto fill" list on the iPod to allow the user to successfully sync their device.
    Is this really the intended behaviour from Apple or is this a bug in iTunes?

    you can report bugs to Apple via this site.
    JGG

  • "Automatically fill free space" & Selected Artists

    When syncing my iPod, I have the "Selected playlists, artists..." radio button checked so I'll be sure to get my favorite music.  I also have the "Automatically fill free space with songs" box checked so my iPod will be full...however, I just added a new artist to my library, selected that artist to be synced, and iTunes told me there was not enough space to transfer a couple of that artist's songs.  So my question is this: why doesn't iTunes delete a couple of the songs I haven't specifically told it to sync, so I can get my favorite new artist?  Is there an option I'm missing, or is this just iTunes just being iTunes?  I guess for now I'll uncheck the "Automatically fill..." box, sync, then re-check it and sync again, but that is frustrating since I'll have to re-sync about 70GB of music to do so...
    Thanks for any suggestions.

    Hi sawpaw,
    One of the new features of iOS 7 is the ability to show all of your purchases in your Music Library.
    Click on the link below to see page 62 of the iPhone User Guide for iOS 7
    http://manuals.info.apple.com/MANUALS/1000/MA1565/en_US/iphone_user_guide.pdf
    You can change the Settings > iTunes & App Store to turn this feature off for Music
    Cheers,
    - Judy

  • What actually happens @Completed filling free space info for database

    Hello,
    i see some strange thing with my 15.7 Ase server
    Earlier for a very big db of around 1TB the recovery time would be around 15Mins( i mean for the 1TB db to come online).
    Now its taking only seconds to come up.
    so wanted to check what actually happens in this stage.
    Started filling free space info for database 'xxx'
    Completed filling free space info for database 'xxx'
    The difference is that we have created new server and bcpd the data into it.
    Please can someone explain.
    Thanks

    ASE keeps counters in memory of the amount of free space available on devices and segments.  When ASE is shutdown cleanly (aka "politely"), these values are flushed to disk and used to initialize the in-memory counters on reboot.  If ASE is shutdown abruptly, the values have to be recalculated, a process which involves either reading every OAM page in the database or every Allocation page.

  • How do you display the capacity/free space for the hard drive......

    How do you display the capacity/free space for the hard drive on the desktop, under the hard drive icon.... I have seen this done, but I am not seeing any options to do so.... thanks.

    View, Show View Options…, Show item info checkbox.

Maybe you are looking for

  • How can I get an MDB to connect using a non-guest account?

    This is a complete newbie question, but after scouring the SJSMQ 4.1 Admin & Dev guides I still can't find the answer. How do I set up a message-driven bean to connect to the broker using any account other than guest? I tried setting the appropriate

  • Adding Site Search in Menu Bar

    Hi there guys, if someone could point me to a tutorial on how to add a site search function to the menu bar (see pic) - that would be awesome... I understand I can use a tag to display the results. Thanks in advance!!! Cheers

  • Help AAA Servers Database Replication

    Hi Guys, I have 2 AAA Servers Acting as Prim/Backup. Recently we were facing some issues with Backup Server, so upgraded the windows to Windows 2008 Server, and reinstalled ACS 4.2 Now when i try to Replicate every thing from Primary to Secondary. it

  • NoSuchMethodError migrated jclient calling JUIteratorBinding.getApplication

    I migrated a JClient from jdev 9.0.32 to 9.0.4 then to 10.1.2 and when I run the application from within jdev I get the following error: java.lang.NoSuchMethodError: oracle.jbo.uicli.binding.JUIteratorBinding.getApplication()Loracle/jbo/uicli/binding

  • OBIEE 10.1.3.3 BETA and BIP Integration

    Hi there, The online BETA demo does not seem to be able to connect to and read OBIEE Answers queries. The SQL data source works where I can connect to and read the repository tables, but the Answers tree does not appear. Please advise as to whether t