ComboBox and TextField eats up space it should not

Hi,
I have a panel to which I dynamically add buttons and other components. If I only add JButtons and JLabels, it works fine, but when it comes to adding a JComboBox or JTextField, it occupies all space (makes the containing panel extremely high), although there is neither size nor preferred size set for these elements. (I also tried to set size and preferred size without any result, it simply ignores it). The panel uses BoxLayout. Could you please help?
Thanks a lot,
Balint

You could always use a GridBagLayout which lets you total control over the sizing/resizing behavior of the components.

Similar Messages

  • Open orders should not update in MD04

    Hi, SD gurus,
    I have the below requirement,
    My business scenario is
    when  total open sales order quantity crosses a particular number(Ex:1000 Pcs) in a month, after that whatever the sales order we create it should not update in MD04.
    Our Business process,
    1. Creating a sales order
    2. Allocation run (here system will execute Credit check, availability check, and listing an Exclusion etc. here we need to enter sales order no, plant, allocation type)
    3. Creating a delivery
    4. Invoicing the customer
    Note:
    Usually when we de check MRP type and allocation in Scheduline category system should not update in MD04, but if we de check this as for our business process system should  not execute Allocation run
    Thanks in Advance
    Yuvaraj.

    Respected Lakshmipathiji,
    Thanks for your clarification but i have query here..
    ""if the users are ready to do this manually once a line item exceeds 1000 pcs a month, well and good""
    How users will check material wise?(suppose if sales order contains more than 100 line items and each line item will have its own requirement updates--will they do this material wise?)
    Is there any report which give the Status on Requirements for group of materials(MD04 status) in Standard SAP??
    Phanikumar

  • How can I delete my iCloud account when I have changed my Apple ID and cannot now sign out as do not have the original Apple ID and password.

    I am unable to delete my iCloud account from my device. This is because I recently changed my Apple ID email/ username which now means when I try to delete my iCloud account to log back in with my new Apple ID I am unable to as it requests my old Apple ID username and password which no longer exist. i am on IOS 8.1. Can someone help me find a solution to this?

    Make sure you are signed into iMessage and FaceTime with your current ID.  If they are signed into the old ID, go to Settings>Messages>Send & Receive and Settings>FaceTime, tap the ID, sign out, then sign back in with your current ID.
    Then temporarily recreate the old ID by going to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Click edit next to the primary email account, change it back to your old email address and save the change.  (You should not have to verify the old email account so it doesn’t matter if you no longer have access to it.)  Now go to Settings>iCloud, turn off Find My iPad and enter your current password when prompted (even though it prompts you for the password for your old ID).  Then save any photo stream photos that you wish to keep to your camera roll (unless using iCloud Photo Library).  When finished go to Settings>iCloud, tap Sign Out and choose Delete from My iPad when prompted (your iCloud data will still be in iCloud).  Next, go back to https://appleid.apple.com and change your primary email address back to the way it was.  Now you can go to Settings>iCloud and sign back in with your current iCloud ID and password (your data will download back to your device).

  • Song tracks are not downloaded properly from iTunes Store: they are not added to the playlists, and eat disk space

    Hi,
    Yesterday I wanted to upgrade my wife's iPhone (5, 16 GB) from iOS 7.0.6 to iOS 7.1.
    She had only 500 MB of free space, and 1.9 GB was needed, so I decided to temporarily remove a number of songs from her music library.
    After this operation there was 2 GB free, and the upgrade went successfully.  After the upgrade there was still 2 GB free.
    Then I wanted to download the songs again, and here something went wrong:
    I went to iTunes Store > More > Purchased > Music, and clicked on "Download all".
    When the download process was completed, there was about 500 MB free space, but I noticed that some of the tracks, and even a complete album, were actually not in the playlists; in another album only one of the 30 tracks or so was downloaded.  So I went again into iTunes Store > More > Purchased > Music, and indeed some of the tracks were still marked as "to download", with a little cloud in front of them.
    When I tried to click on one of these little clouds to download a given track, the track seemed to be downloaded, but as soon as the download was finished the little cloud reappeared again, and the track wasn't added to the playlists.
    I tried to repeat that process a few times, until I noticed that there was now only 90 MB of free space.
    I then tried to download one more track that was 10 MB large, and after this there was only 80 MB of free space.
    So it seems that the tracks are indeed downloaded (and downloaded again if I click again on the little cloud) in a place where they use disk space without being otherwise accessible.
    What can I do to:
    1. download the tracks correctly so that they appear in the playlists?
    2. clean up the space that was wasted?
    Many thanks in advance!

    Depending upon what country that you are in (music can't be re-downloaded in all countries) then try deleting the incomplete tracks from your iTunes library and redownload them via the Purchased link under Quick Links on the right-hand side of the iTunes store home page on your computer's iTunes : re-downloading.
    If you aren't in a country where you can re-download music or if they re-download in the same state then try the 'report a problem' link from your purchase history : log into your account on your computer's iTunes via Store > View My Account and you should then see a Purchase History section with a 'see all' link to the right of it ; click on that and you should see a list of your purchases ; find those tracks and use the 'Report a Problem' link and fill in details about the problem (iTunes support should reply within, I think, 24 to 48 hours).
    Some people have had a problem with the 'report a problem' link (it's been taking people to this site on a browser instead of showing a form in iTunes) - if it does that to you then try contacting iTunes support via this page : http://www.apple.com/support/itunes/contact/- click on Contact iTunes Store Support on the right-hand side of the page.

  • Can I delete a later backup and keep the latest one as to not eat up all my space?

    Can I delete a later backup and keep the latest one as to not eat up all my space?

    Are you talking about Time Machine backups on a Time Capsule?
    It is fine to delete the backup as long as you are sure there is nothing you want.. and do a new clean backup. That will be the least possible space usage for a working backup.. Never delete files out of an existing backup.. it is very hard to manually delete files in the backup.
    We do not recommend it.

  • I am using PS cs6 and lightroom and I am having a hard time know what color space to choose.  The lab that I am using told me that their color space is sRGB.  Do I need to have both PS and Lightroom set at sRGB or should I have PS set at adobe RGB and jus

    I am using PS cs6 and lightroom and I am having a hard time know what color space to choose.  The lab that I am using told me that their color space is sRGB.  Do I need to have both PS and Lightroom set at sRGB or should I have PS set at adobe RGB and just set my export from lightroom as sRGB?

    Please post in the Photoshop forum.
    http://forums.adobe.com/community/photoshop
    Bob

  • How do I get rid of the blank space after one paragraph and before the next paragraph startsin Pages '09?  I understand that I should not have a page break mid paragraph but that is what I want.

    How do I get rid of the blank space after one paragraph and before the next paragraph startsin Pages '09?  I understand that I should not have a page break mid paragraph but that is what I want.

    Hi stephanie,
    These are unrelated questions/statements.
    Space before and space after a paragraph are controled in the Text Inspector, as you've found out.
    Pages will create a page break whenever there is no room for another line on the page. That break can come anywhere in a paragraph.
    You may be thinking of Widow and Orphan prevention, and the other Pagination controls, found under the More button in the Text Inspector. (If that's what you found, then thanks for the refresher! I hadn't been to that pane for awhile, and had forgotten the variety of pagination controls available.
    Regards,
    Barry

  • Photoshop CS6 keeps crashing. I am using a brand new IMAC, I have 16GB RAM recently updated as it was running slow with 8GB and lots of hardrive space. When it crashes, i lose all my presents and it changes my preferences, it also fails to save or produce

    Photoshop CS6 keeps crashing. I am using a brand new IMAC, I have 16GB RAM recently updated as it was running slow with 8GB and lots of hardrive space. When it crashes, i lose all my presents and it changes my preferences, it also fails to save or produce a recovered file despite settings asking it to do so every 5 mins now. When i try to report the problem, it says it has found an issue and gives me a link to a solution....but wont let me click on the link.... PLEASE HELP! It's killing my productivity.

    If the crash started right after you added RAM, it could be a bad Ram dimm. You can try this - change the amount of RAM in Photoshop to 4G, this should stop Photoshop from using the higher ram. If it doesn't crash, it's probably the ram. Or run a diagnostic app. You don't say when it crashes, what you're doing when it crashes - it there a pattern? Did it ever work on this computer? Did it work on your previous computer? Without a lot of data, it could be related to the new computer... What OS version? Did you recently update it? Have you updated Photoshop to the most recent update?
    Do you have any plug-ins loaded? Try restarting Photoshop, and immediately press & hold the shfit key to turn off plug-ins.

  • Why does Premiere Pro CS5 eat up space on my C drive when it conforms video files?

    Hey everyone. I have Premiere Pro CS5 with the latest update installed. I am running Windows 7 64-bit on a 120GB Corsair SSD drive. I have set my scratch disk video and audio previews to a different hard drive (F: drive). I have three questions:
    1. Why does Premiere eat up space on my C drive whenever it conforms the video files I import into my project?
    2. Where on my C drive can I find the folder that holds all these conformed video files that are taking up space on my C drive?
    3. How do I prevent Premiere from eating up space on my hard drive when it conforms the video files I import into my project? Is there some way to move whatever folder is eating up space on my hard drive when Premiere conforms the video files and tell Premiere to conform the video files on another hard disk so I don't lose precious space on my C drive?
    Okay, that's four questions but, can some please help me on this? Thanks.
    Okay, that's five questions.

    hello,
    i think you need to relocate you media  cache files to a separate drive other than your c: drive.
    in the hardware forum, Harm has done a wonderful job at advising on HDD setup, i think it mentions relocation
    of swap file, media cache, etc.  all which are defaulted to your c: in your user profile
    after relocating to different physical drives (all without partitions) performance usually increases
    Generic Guideline for Disk Setup  by harm
    hope this helps til someone else answers more
    good luck...
    j

  • How to edit data using a LOV list AND textfield for one Field

    I am trying to edit the templated edit from HTMLDB template when I create a new table. I implemented most of the fields with LOV list like yes/no, joe/bob/john etc. But some fields as many probably have seen have a LOV called "Other" where a person types a different value than the ones available. Can someone tell me how I can accomplish that? Do I need to insert "Other" into LOV and have it be set as the value in the textfield? I am not sure how i can create both LOV list and textfield per category/field i.e. Name.
    Thanks

    Again, I urge you to use HTML DB nomenclature to describe what you've done. For example: "I ran the Form on a Table wizard to create a form" Rather than using the word "template" for everything you describe. "Template" has a specific meaning in HTML DB and it is not what you are referring to.
    You really should invest the time required to accurately phrase your problem. Just like answering questions on this forum requires time, so does formulating your question. It is time well spent and it is effort on your part that the experts on this forum deserve. If you don't put in this effort and instead just post a stream of consciousness, that means the readers of this forum will gloss over your question and ignore it. As a result, you have to ask the question again...and again.
    Having said that, if I understand your question correctly, you should use a popup LOV item. This will allow the user to select from a list but will also allow typing of a non existent option into a text field.
    Sergio

  • My Macbook Pro is out of storage space, what should I do?

    I take tons of pictures and that is what's sucking up all of my memory. I currently have a 2011 Macbook Pro OS X Lion Version 10.7.4. 4 GB memory 2 GHz processor. Now that I look at the "About This Mac" it says all of my storage is "Other" with 0 KB in everything else like photos and apps which I know is false. Anyway, what should I do? Should I go to best buy and get a bigger memory? its currently 500 GB & 499.25 of that is filled up... What could I delete to free up space? Should I partition my photos onto an external hard drive? I have no idea how to do that but someone please help!

    Silly question but have you emptied the Trash lately?
    If it turns out the problem is really just too many photos and you are using iPhoto for your pictures, check out this article on how to use iPhoto with an external hard drive.
    Best of luck.

  • Bad File Descriptor in /dev/fd/3, and 94Gb of disk space missing

    I noticed a few days ago, possibly as the result of a recent kernel panic, that I have a large chunk of hard drive space missing. The Finder reports that I have approximately 89Gb of free space, but using "df" reports that there is approximately 178Gb free. Using "du" doesn't report any unexpected huge files, so I tried running GrandPerspective. In addition to the usual file usage and free space, this shows a single 94Gb block of "miscellaneous used space".
    I then booted into Single User mode to run fsck on the startup drive. This reported several errors, and took 3 passes to repair the directory structure, but didn't recover the missing space. I have subsequently run TechTool Pro and DiskWarrior on the startup drive (both of which found various minor errors), but the 94Gb still refuses to show itself.
    I then tried using "find" to look for single large files, using "sudo find / -size +94371840" (anything larger than 90Gb), and I get the following errors:
    find: /dev/fd/3: Bad file descriptor
    find: /dev/fd/4: Not a directory
    find: /dev/fd/5: Not a directory
    After searching Google, a "Bad file descriptor" error points to an inode issue, that fsck cannot fix, but I don't know enough (read: anything) about inodes to risk running the clri command to zero the problem inode.
    Short of blanking the startup disk and installing from scratch (not an attractive option), is there anything I can do to fix the broken inode and recover the missing space?
    Any help appreciated.

    Drawing Business wrote:
    I then tried using "find" to look for single large files, using "sudo find / -size +94371840" (anything larger than 90Gb), and I get the following errors:
    find: /dev/fd/3: Bad file descriptor
    find: /dev/fd/4: Not a directory
    find: /dev/fd/5: Not a directory
    This is not an error and always happens with find unless you exclude the /dev hierarchy from the search. (Interestingly this seems to have gone away with 10.5??)
    To locate your missing space, try WhatSize. Another alternative which I have not used personally is Disk Inventory X.
    As an additional point, with 10.4 it is actually better to use Disk Utility, since it does more than fsck: Resolve startup issues and perform disk maintenance with Disk Utility and fsck, quote:
    Note: If you're using Mac OS X 10.4 or later, you should use Disk Utility instead of fsck, whenever possible.

  • Whenever i try to sync my iphone it always says backing up and it jus freezez there what should i do

    whenever i try to sync my iphone it always says backing up and it jus freezez there what should i do

    Look at the status bar and the bottom of the summary page, what is taking up space?
    Then manage the content on the device.

  • How do i split a line in a csv file and populate a combobox and a textbox with the parts

    What I'm trying to do is split the line and fill a combobox and with the selecteditem and the textbox with the value of the combobox selecteditem which is the second part of the line split.
    Thanks in advance for the help or suggestions.

    Then you should create a class to represent the items in the ComboBox:
    Public Class MyItem
    Public Property PartA As String
    Public Property PartB As String
    End Class
    ...and add instances of this class to the ComboBox:
    Try
    Dim mydocpath1 As String = Environment.GetFolderPath(Environment.SpecialFolder.Desktop)
    Dim mylines() As String = File.ReadAllLines(mydocpath1 + "\TextFile1.txt")
    For Each line In mylines
    Dim parts() As String = line.Split(","c)
    Dim item As MyItem = New MyItem With {.PartA = parts(0), .PartB = parts(1)}
    cmb1.Items.Add(item)
    Next line
    cmb1.SelectedItem = cmb1.Items(1) 'select second item
    Catch ex As Exception
    MsgBox(ex.Message)
    End Try
    Then you set the DisplayMemberPath of the ComboBox to the name of one property and bind the Text property of the TextBlock to the other one:
    <ComboBox Name="cmb1" DisplayMemberPath="PartA" />
    <TextBlock Text="{Binding ElementName=cmb1, Path=SelectedItem.PartB}" />
    That should solve your issue.
    Once again, please remember to mark helpful posts as answer to close your threads and remember that a new thread deserves a new question.

  • TS1702 how do i delete from the startup disk? I am trying to get Mountain Lion from the App store and it says that the purchase was not complete because i need 4.06 GB space to download OS x 10.8. and to remove items from my startup disk to increase space

    how do i delete from the startup disk? I am trying to get Mountain Lion from the App store and it says that the purchase was not complete because i need 4.06 GB space to download OS x 10.8. and to remove items from my startup disk to increase space. How?
    Thanks

    You can use iCloud with 10.7.5. You do not need to upgrade to Yosemite. You should provide a minimum of 15 GBs of free space or 10% of the hard drive's capacity, whichever is greater.
    Freeing Up Space on The Hard Drive
      1. See Lion/Mountain Lion/Mavericks' Storage Display.
      2. You can remove data from your Home folder except for the /Home/Library/ folder.
      3. Visit The XLab FAQs and read the FAQ on freeing up space on your hard drive.
      4. Also see Freeing space on your Mac OS X startup disk.
      5. See Where did my Disk Space go?.
      6. See The Storage Display.
    You must Empty the Trash in order to recover the space they occupied on the hard drive.
    You should consider replacing the drive with a larger one. Check out OWC for drives, tutorials, and toolkits.
    Try using OmniDiskSweeper 1.8 or GrandPerspective to search your drive for large files and where they are located.

Maybe you are looking for