Layout problem - screen not big enough!

Hi everyone,
I was wondering if anyone could think of a solution to my problem.
I currently have a jframe which has four tables on it, one table spans the upper row, while the other three tables below it are next to each other: -
| Upper Table |
| Table 1 | Table 2 | Table 3 |
I don't specify the dimensions of the tables or the jpanels that these tables will occupy so that they will fill the screen regardless of any different screen resolution that is used on the computer.
My problem is that the combined heights of these tables means than the Jframe is bigger than the dimensions of the screen, so I can't see that bottom of the jframe - which among other things means I can't manually click on the bottom right corner to re-size the window.
The reason I don't want to specify the exact dimensions of the tables or panels is because if I (for example) set the dimensions to fit into 800x600, and the person has a 1280x1024 resolution then when they maximize the window there'll be a big border around the tables. Like I said before, I want the tables to occupy the available space.
I've tried setting the size of the jframe at startup using the setSize and setBounds method but it has no effect. It's odd, because I can still resize the window using the top left or top right corner and click and dragging to resize the window. When I make the window smaller the layout of the tables is fine, so I don't understand why the setsize method won't work - it's not like I'm setting the size to below their minimum dimension or anything.....
I hope my explanation of the problem is clear :-)
Does anyone know how I might fix it?

oh, I think I might have fixed it. If I setpreferedsize on the panel that contains all of the tables, then it seems to work! :-D

Similar Messages

  • Numerator in Unit of Measure not big enough

    Hi,
    The numerator, field UMREZ, of the unit of measure has a maximun lenght of 5 digits ( maximum of  99999 ). But for certain conversion I need (in MM02-> aditional data->tab units of measure):
    120000 EA = 1 ROL
    How can I do this without entering something bigger than 99999?
    I have thought in three alternatives:
    1.- Modification of that data domain, so that it can be stored up to 999999.
    2.- Use decimals in the denominator , so that I have something like 12000 EA = 0,1 ROL.
    3.- With an auxiliar unit of measure EA2 ( created via CUNI, linked to EA): 10 EA2 = 1 EA :::::and then::::: 120000 EA2 = 1 ROL.
    I havent been able to complete the 2nd and the 3rd. ANd I want to avoid the first...
    Do you know if something like this can be done? if so, how????
    I have found post UOM conversion not big enough but I could not find any usefull answer in there ...
    Many thanks in advance.
    Aaron

    Hi,
    Yes, I had already read this note, thanks for the info anyways.
    They describe exactly my case:
    Example 3: Too large numerators and denominators
                           When 120000 CM3 = 0,2 tons (TO), you can no longer save numerator and denominator of conversion ratio 600000 CM3 = 1 TO as numerator and denominator may have maximally five digits.
                           Here, you must either select a larger volume unit or a smaller unit of weight: With DM3 the conversion ratio would be 600 DM3 = 1 TO, with KG the conversion ratio would be 600 CM3 = 1 KG.
                           Generally, the alternative units of measure and the base unit of measure should result in quantities that are in the same dimension since the conversion factors may not be larger than 99999/1 and not smaller than 1/99999.
    But I can not change the Basic Unit of Measure, because the Material has already movements, and I dont know how to create another unit of measure (let say EA2) linked to EA with a the value 1 EA2 = 10 EA. In this case I could use EA2 in the material with the conversion 12000 EA2 = 1 ROLL.
    Is this possible? How can I create this unit? in CUNI I can create a new UOM but I dont see how to link it with an existing one ( create a conversion between them ) .
    Thanks!!

  • UOM conversion not big enough

    Hey All,
            I have a strange requirement. The numerator field UMREZ for UOM conversion is of 5 digits, which means the max value can be 99999. We have a need to do a Alterante UOM conversion which is greater than 5 digits.
    Example: 1 PAL = 200000 EA.
    How do I acheive this?
    We are looking into all possible options.
    First is thru config to create an intermediate UOM so that we can do two UOM conversions and acheive our result, but this is also going to be a big change.
    Is there any other option through code to increase the length of this field, or any other alternative.
    I tried searching and looking for OSS notes, but no luck.
    Any input is highly appreciated.

    Thank you for your replies. For a moment I thought this might be an option, but the problem here is not that the quantity is too large. but that the conversion factor is too large.
    Let me explain again.
    I have one unit which has the following conversion.
    1 Pallet = 3000000 Eaches.
    Numerator = 3000000  "here is the problem, numerator field is only 5 digits
    Denominator = 1
    which means if i get say even 100 pallets as input it have to convert
    100 X 3000000/1 = 300000000.          "the problem is UMREZ (3000000) is too big for that field
    So here i cannot use any preconversion or post conversion.
    BUT if i do think in the same line i can try to use a multiplication factor for that particlar unit of measure which i can just multiply at the end. I can maybe look to incorporate this in an enhancement when the UOM conversion is done. But I still have to figure out how to display it in the material master. Let me investigate more into this option.
    Any other suggestion as welcome.
    Edited by: Aparna Shekhar on Aug 8, 2008 9:23 AM

  • SSD not big enough for re-install of Snow Leopard - now what

    I've installed an SSD in my MacPro - and it's great! Really fast, no problems. BUT, I can't upgrade the system to 10.6.6, because every time I try, I get a kernel panic on start-up. Apple have advised me to re-install SL from the original disc, but....there's not enough space on the SSD to do this. I have other hard drives that have enough space, but if I install SL there...how do I move it over to the SSD? I'm nervous of moving apps. off the SSD, as I'm not sure which have to be with the system, and which don't. I could leave everything well alone, and wait for Lion to arrive, but would have the same problem then.
    Any help would be appreciated.

    Did you erase first? no reason SL is too large but I have seen other posts that seem to suggest there are other problems with OS X 10.6 and SSDs.
    Mine is 90GB (83GB left for use) and I like to over provision, leave space for temp files and for wear and tear.
    10.6.6 combo update @ 1GB has to expand, write temp files, shuffle files around, and could use 7GB during the process.
    If you haven't, I'd download, read the pdf manual SuperDuper in the future for smart clone backups, and even put the system on a sparse disk image.
    http://www.shirt-pocket.com/SuperDuper/SuperDuperDescription.html
    I suspect the lack of space is from installing over an old system, no? why not include things like size of SSD. you may have chosen small drive and need to consider stripe a pair instead.

  • Vault not big enough

    My library is on an external 1TB drive, I have 2 other 1TB as backup via Aperture Vault. These drives are just for Aperture and the vault nothing else on them. As the main 1TB drive is getting full I decided to split the library and moved approx half the library to another 1TB drive. I can back this up without problem to another 1TB drive. The original library despite deleting nearly half the images has not shrunk by any signifiant volume and to make matters worse the vaults I have been backing up to will not backup, the error message being they are to small. I have viewed them from "Show package content" and removed the "deleted " images the vaults appear to store outside the library on the vault drive.
    So 2 questions, why are my samesize backup drives to small for the library, and why does deleting projects not free up disk space?
    I'm a bit stuck at the moment, as I can not safely back up my library.
    Thanks,
    Kevin.

    It gets more complicated, the new drive I thought was backing up ok did not. I got an error message this morning, stupidly I clicked it away before making an exact note of it's contents. I checked the contents of the new failed vault, everything looked to be there, but still well over 800gb of library, hardly any less. I'm really puzzled as to what is going on here, i have deleted the deleted files to trash. This is a big problem for me right now, I need to constantly back-up, if I can't split my library I will need drives of many TB each, as I back-up to two drives, each library that's x3 each library.
    I have split the library and deleted the files but the contents of the 2 drives add up to lots more than the original drive.
    Kevin.

  • Screen Not Tight Enough

    Hi guys, I've had an MBP for a year or so now - whenever I'm surfing in bed and I'm propping it up against my...
    ...lap
    ...The screen often falls forward so it could do with being a bit...
    ...stiffer...
    so I was wondering if anyone could please let me know if there is a way of tightening it up so it doesn't keep dropping forward. It's kind of a pain really and I'm not sure if it is a general problem with the MBP or if the screw-monkey in the factory had low blood sugar or something?
    Any advice would be greatly received... thanks

    i dont know if your still looking into this...but many are complaining of this problem...its hard to find the thread however...and of course after 6 years i've never had this problem with mine...

  • Solid state hard drive is not big enough

    I recently purchased a PC with a 4 TB hard drive.  There is also a 60G Solid State hard drive on which the operating system is loaded.  There is not enough room for CS5.5 and the operating system.  I would like to uninstall CS5.5 and install it to the 4 TB drive but I was told Adobe needs to be on the same drive as the operating system.  Any suggestions?

    I was told Adobe needs to be on the same drive as the operating system.
    That's nonsense. Adobe apps can be installed just fine to a secondary drive. However some components will always end up on your C: drive for practical reasons - the licensing system, PDF handling, some other shared components - as that's the only way they can be found and loaded reliably by all programs. that stuff is at most about 1 GB. The rest of the programs can go to the otehr drive. I would suggest, though, that you create a separate partition for this, not use the full 4TB partition.
    Mylenium

  • Exported form pdf boxes not big enough to see and edit in on

    how do I set the .pdf exported form to be able to expand the entry box so entrants can see the whole thing they've typed, and so when they print it, it shows the whole box... right now to make the form look small, and not just have big empty boxes, the spaces look smaller but have unlimited entry characters... but you can't see what you're doing with such small boxes that don't expand...is there a setting i'm missing?

    No, you are not missing anything. The PDF can't be relayed out to show all of the text in the boxes. Only workaround is to make the text boxes larger
    Randy

  • Same size drive not big enough?

    Hey all.
    I have a 750GB internal drive, and a 750GB external drive. I can't use time machine.
    The message is "This backup is too large for the backup volume. The backup requires 776.8GB but only 698.1GB are available" - really don't know what's going on. The internal drive has 50GB free, 647GB in use according to Finder. Finder also shows the internal and external as having a Capaicty of 698.32 GB - exactly the same (as they should be).
    Why won't this work, and how can I fix it? Do I really need to go buy a 1TB drive to image my 750GB one? I've never had a problem like this with other backup products.
    Thanks.

    sandcastle wrote:
    Hey all.
    I have a 750GB internal drive, and a 750GB external drive. I can't use time machine.
    The message is "This backup is too large for the backup volume. The backup requires 776.8GB but only 698.1GB are available" - really don't know what's going on. The internal drive has 50GB free, 647GB in use according to Finder. Finder also shows the internal and external as having a Capaicty of 698.32 GB - exactly the same (as they should be).
    Why won't this work, and how can I fix it? Do I really need to go buy a 1TB drive to image my 750GB one? I've never had a problem like this with other backup products.
    Thanks.
    Essentially you need a larger backup drive, yes. After the first backup, TM would most likely not be able to do a second backup and there would be nothing to delete.
    The recommendation for the TM drive is 2 to 3 times the size of your file system. That would be about 2 TB.
    If most of your files never change, back them up separately and exclude them from the TM database.

  • Y lap is not big enough!!! Help...

    Hello brains trust,
    As i am getting older my eyesight is not what it used to be, and I got sick and tired of working on my MBP15". Went out, bought a 22" Acer - gave it back to the shop - what a shocker!!! Parted with some hard cash and got myself a 23" cinema display - sweeeeet. What a great screen! Well worth paying for.
    Upon hooking it up to the MBP I found the first issue which sorta bugs me. The idea of a "integrated cable is great, but when hooking the screen to a laptop, the power cord (from the end of the "thick" cable to the power supply) is so short that it virtually has to sit on your lap. I can't find an extension cord on the Apple site.
    Anyone works with a laptop on their lap and the screen on the coffee table? How do you do it?
    Is there a DVI extension cable?
    Is there a model with the cable not "integrated"?
    TIA
    i.3d

    There are DVI extension cables, such as these
    <http://www.gefen.com/kvm/cables/dvicables.jsp#dvi>
    15 feet is the maximum (including the cable attached to the display) without a repeater, but you may need a repeater anyway, even at that length, because the length was for a single cable with no connectors in the middle.
    <http://www.gefen.com/kvm/product.jsp?prod_id=3008>
    If you also need the USB or FireWire ports, you can buy a combo cable kit
    <http://www.gefen.com/kvm/cables/applecombocable.jsp>
    If you just want to extend the power cable (understandable, after you look at the prices for the above parts) you will have to do it your self, or find somebody handy with a soldering iron to cut the power supply unit's cable and spice in an extension. Not good for the warrantee, though. Maybe you could find a matching plug and socket somewhere, to avoid cutting.

  • ICal - iPhone syncing with 2.1 - The BIG update is not BIG enough!

    iCal color sync bug still in 2.1 - How disappointing.
    I thought this bug was previously acknowledged here by apple, and had been around in 2.0.x firmwares too. I hear that the MobileMe service fixes this issue, however this is not an option for some users such as myself that find the MobileMe service useless for their needs.
    I find it very disappointing how what seems to be a very small issue still hasn't been fixed yet - while most people say "Oh yeah, pay $99/year and sync with mobile me."
    This BIG update isn't as BIG as it should be with this bug still present.
    Still had to use the workaround by syncing one calendar at time assigning colors in the current order: red, orange, blue, green, purple.

    Try this:
    http://discussions.apple.com/thread.jspa?threadID=1709891&tstart=0

  • Black title screen not large enough to cover video: see edges of underlying video

    Hello users,
    I am trying to use black title screens to display names of songs which are to appear for 5 seconds before fading and then showing the performer.
    I have the title screen on the track 2, above the video on track 1.
    I can see a very slight but noticable edge of the video all around the title screen. I see this on my Sony pro production monitor and on my Plasma TV.
    How can I eliminate that? I thiought I could just enlarge the title screen but I see no way to do that.
    Insights appreciated!
    I'm on CS 6.03 and Windows.
    wsmith

    I see now, the little window that pops when doing "new, title" let's you specify the title size. Why can't we just be able to change that in the properties at the right? What if you have already created a slew of titles?  

  • Time Machine Error - Time Capsule not big enough?

    I have a 500GB Time Capsule which I use solely to back up my Macbook. Time Machine is giving me an error message as below:
    This backup is too large for the backup disk. The backup requires 176.38 GB but only 121.14 GB are available.
    Looking on the Time Capsule, the current Sparsebundle is about 376GB - so I'm not sure why Time Machine is suddenly failing to just increment onto that?
    Am I missing something?

    pompeygreg wrote:
    I have a 500GB Time Capsule which I use solely to back up my Macbook. Time Machine is giving me an error message as below:
    This backup is too large for the backup disk. The backup requires 176.38 GB but only 121.14 GB are available.
    Looking on the Time Capsule, the current Sparsebundle is about 376GB - so I'm not sure why Time Machine is suddenly failing to just increment onto that?
    Do the math: 500 GB less 376 GB gives 124 GB, around the size that Time Machine says is available. It seems that Time Machine is trying to create an entirely new, complete backup of your computer. Did anything change with your computer recently, such as the disk drive or main logic board? Either of these can make Time Machine want to start over.

  • Transferring Library, iPod not big enough!

    I have a 4 gig ipod nano, but 6.50gig of music in the iTunes Library.
    Is there a way to put all of it onto my iPod. I'm reformatting my computer due to the many problems of Windows XP again, and I really can't afford to loose all of this music. None of it was purchased from the iTunes store...
    Anyone know how to transfer it?

    Invest in an external hard drive to back up your iTunes library and also to hold it while you are formatting the internal drive.
    Alternatively you can copy stuff onto CDRs or DVD blanks.
    Patrick

  • Partition not big enough to install bootcamp drivers (installed windows 7)

    I installed bootcamp, partitioned a drive to 6GB (thought it was 16GB)
    installed windows 7 pro and went to install the bootcamp drivers so I can switch back to Snow Leopard and it won't let me install the drivers because the partition is so low on space. I don't have any other application on the windows 7 partition as i just installed it. I even tried to create room by deleting the sample photos, music and videos, which got me to a point where i could start the installation then it stopped cause it got too full again.
    How do i get my mac back to snow leopard? OR how do i make my partition larger so I can install the bootcamp drivers?
    HELP!

    Use Boot Camp Assistant to remove the partition. Use Disk Utility to erase free space.
    For Win 7 and others you need to be considering a much larger partition size. I would recommend a minimum of 30-40GB. It depends on what you need Windows for. But my needs are such that several hundred GB are usual for my Boot Camp partitions.
    Remember that just like Mac OS X, Windows needs free space for paging files and behind the scenes workspace.

Maybe you are looking for

  • Repair status at the depot

    It's been a month since the repair depot received my laptop. Well after a week had passed I called the depot to ask about the laptop repair status, but was told that there was (probably) a delay on parts delivery. This was something  could have assum

  • DV devise not being read by computer

    I'm baffled by my issue. Two cameras (Optura 20, DVX100) not being read by my eMac. 1 Sony cam reads fine. Only recently, after 3 years of my Optura being used as a deck on my eMac, decides it doesn't want to communicate with my eMac, and another G5

  • Error while executing Transaction S_ALR_87012043

    Hi All, I am getting the following error while running the Transaction S_ALR_87012043 - G/L Account Balances. *Error Message: 'Variant SAP&001 of program RFSSLD00 is not the current version' the long text says* Variant SAP&001 of program RFSSLD00 is

  • I phone 4 IOS7.0.2 I Cloud Activation Error

    i have  i phone 4g with operating System 7.0.2. i have to face problems regrading activation. when i tried to activate it the error comes that this apple ID can not be used to activate this i phone. i can not find the previous ID through this I phone

  • Camera connector & Samsung TL220 ... not a good match

    So, I got my camera connection kit and only one half of it is useful. I have a Samsung TL220 and when I plug it into the camera connector the iPad says "Accessory unavailable. The attached accessory uses too much power." What?! Then I get "The attach