JComboBox doesn't show data...help please

I have created a JComboBox. I place an array of strings in that jcombobox. I'm sure the data is there, however, it is not shown.
I traced the problem back to light/heavy weight problems.
When i use a lightweight JComboBox it doesn't drop down at all.
This is probably because there's a JLabel under it.
However, when i mean it an heavyweight object
(by calling PopupMenu.setLightWeightPopupEnabled(false) )
the dropdown shows up but it is empty.
Has anyone had the same problem or something similar?
help would be appreciated...
thanx.

Well here's a code snippet:
JPopupMenu.setDefaultLightWeightPopupEnabled(false);
Calendar cal = Calendar.getInstance();
Integer[] years = new Integer[21];
Integer[] months = new Integer[13];
Integer[] days = new Integer[32];
for(int i = 0; i < 20; i++)
years[i] = new Integer(cal.get(Calendar.YEAR) + i);
startDateYear = new JComboBox(years);
startDateYear.setMaximumRowCount(3);
Now here you see how i fillup the JComboBoxes, i've already verified that there actually are objects in the JComboBox so that's not the problem.
the first line of code is to make the JComboBoxes make a popupmenu that's heavyweight.
so it should be in front of other lightweighted components (namely a JLabel underneath the JComboBox ) .
Now i see it drop down, however it shows absolutely no data. It doesn't even show a scrollbar, you can just see gray space outline of where the dropdown menu of the JComboBox should be.
does this help?

Similar Messages

  • HT5312 The option to reset security information tab isn't showing up for me, is there I way that I can make it show up. I have a rescue email address and it still doesn't show up. Please help!

    The option to reset my security information tab is not available for me, I have a rescue email address in place and it still doesn't show up. Please help!

    You need to ask Apple to reset your security questions; ways of doing so include clicking here and picking a method for your country, and filling out and submitting this form.
    (96335)

  • I changed the name of my apple id and now I can't use the app store on my phone correctly because it's using my apple id's old name. I signed out and in on itunes and synced my iphone. Still doesn't work. Help please?

    I changed the name of my apple id and now I can't use the app store on my phone correctly because it's using my apple id's old name. I signed out and in on itunes and synced my iphone. Still doesn't work. Help please?

    Settings>Store...tap the ID shown...sign out...sign back in with the ID you want to use.
    Note: Apps are forever tied to the Apple ID used to originally obtain them. They cannot be updated using any other Apple ID other than the one they were originally obtained with.

  • I-photo. When I click to go full screen  it goes fuzzy. Doesnt happen in film show. Help Please!

    I photo . When trying to go to full screen it goes fuzzy, Does not happen in film show. Help Please!

    Thanks for your help.I  have about  3,500 photos in I-photo. None will expand to full screen with out going fuzzy.I also have 400 in Kodac easy share and  these are not affected.
    About the same time that this happened the icons in the dock lost some of their colour and the system preferences vanished. We managed to reinstate this. Any ideas?
    Thanks Ron

  • It's 18th of September and my ipad4 says iOS 6.1.3 up to date, help please?

    Hi it's 18th of September and I want to download iOS 7 on my ipad 4, but it says iOS 6.1.3 up to date help please.

    Supposedly the rollout starts at 12:01 am ET.
    Apple will be "pulsing" the release of iOS 7 to users in staggered waves according to their time zone. Thus evenly distributing the server load and ensuring that everyone that wants it can get it in a reasonable amount of time.

  • TS5181 My iTunes Radio doesn't show song name please help

    My iTunes Radio doesn't show  song name what can I do

    I suspect that the encoding of the Korean in the stream is not Unicode, which is what iTunes requires. iTunes cannot fix such things by itself.

  • CCP doesn't show ip helper-address

    I am running CCP 2.1 on both a Vista and Server 2008 machine. I am connected to an 1841 router. If I telnet into router, and show run, it says I have an ip helper-address. If I open CCP and view that same interface, it doesn't show an ip helper-address. If I then click OK, it wants to send a command to the router to remove the ip helper-address. Any ideas would be appreciated.

    Hi Joe,
      Please pickup the latest CCP version (v2.5 posted on 29th June 2011). Let me know if the problem is resolved. CCP supports configuration of single helper address. If multiple addresses are configured, then they are read in, but shall not be editable.
    Thanks,
    Chaitra

  • Profit Center Report doesn't show data

    Dear Experts,
    I've posted some data thru FB50 in FI, with different cost center assignment 1201 and 1202.  Both cost centers are assigned to profit centers, YB110 and YB120 respectively in master data.
    Then, I tried to run a profit center report, S_ALR_87013326 from Profit Center Accounting (PCA) module but doesn't show any data.
    Do I need to do any period-end processing in order to get the data out from PCA report?
    By the way, the selection required for plan version, I just keyed in '0'.  Not sure of the number, where to find the plan version as I didn't create any plan before this.
    regards,
    Abraham

    Hi
    If you see the screen shot I attached, it has the text "(new)" against the Folder name...
    All new gl reports are under such a folder to differentiate... You cant deactivate any reports from the Standard Menu... You can just control it by authrization....
    You can also ask your BASIS guy to display only the authorized trans on the user screen so that they are not able to see the std set of transactions
    Br, Ajay M

  • Ipad 2 screen is black . when i press the power button it takes a screen shot but i have no functionality . tried holding the home and power button together but the screen just flicker and stay black . no apple icon shows up. help please

    ipad 2 screen is black . when i press the power button it takes a screen shot but i have no functionality . tried holding the home and power button together but the screen just flicker and stay black . no apple icon shows up. help please

    Make sure it is charged for about 10min using the adapter, then connect in recovery mode, explained in this article:
    If you can't update or restore your iOS device

  • Bridge Thumbnail Metadata doesn't show dates consistently

    I tried changing my Thumbnail preferences in Bridge to add Additional Lines of Thumbnail Metadata.
    I checked show Date Modified.
    However, not all pictures were giving the same data.
    I.e. some show Jan 13 and others 1-1-2013.
    How can I change this so it's just Jan 13 or 1-1-2013 and not both?

    When you set up the download you can specify what style of date you want.  Not sure how you change once in system.

  • I lost my password on Mac (I cannot play youtube) and I tried many things...it doesn't work. Help please

    I lost my password on Mac (I cannot play youtube) and I tried many things...it doesn't work. Help please

    Did you restore a backup after you restored to factory settings? If you restored a backup, you should try restoring as new, but if hope that support already told you this.
    Have you tried using another WiFi networK? Do you have a computer running iTunes? If so, can you download apps or music on the computer?

  • IPOD DOESN'T SHOW MUSIC! PLEASE HELP!

    I have no idea what happened. At first I saw a white screen and then I reset it. Finally the menu showed up as normal, but when I go to music, it does not list anything even though I listened to it just yesterday afternoon and it was fine. It's fully charged. I plugged it into my Windows computer, and it connects fine, my computer recognizes it but then even in iTunes it shows the amount of used/free space accurately except that the files on it that are music and account for 3.73 GB are shown as "other" in orange. So obviously the songs didn't disappear, but I really don't understand... Please help me!! Thanks!

    Restore the iPod.

  • I just downloaded the new version of iTunes, but I haven't been able to put new album artwork on my albums. Every time I try, the picture I put doesn't show up. Please help!

    Usually, when I put album artwork, I go to get info for the whole album and copy and paste an image I get off the Internet. But every time I do this, all that shows up is the color black! I have no idea what to do. Please help.

    It's a bug with iTunes 10.4.0.80. If you copy and paste from some web browsers or an image editor then iTunes pastes in a transparent image of the same dimensions. This shows up black in the artwork panel at the bottom left or white in the get info art viewer.
    If you work with an image file stored on your computer you will get better results. Use the artwork box on the Info tab of the Get Info. dialog for multiple tracks to replace all existing images. With a single track you will need to delete the existing corrupt images from the Artwork tab first.
    tt2

  • I have hv30 canon, Final Cut Pro X connecting to my Macbook Pro. doesn't show anything. Please help!

    Hey anyone who can help me!
    I have a new canon hv30 vixia. I have fianl cut pro X. I have the newest macbook pro. I have gone cords after cord trying to figure out what is the right one because everytimee i conect it nothing at ALL shows up. WHAT CABLE DO I NEED PLEASE!? I bought a fireWire 400 to 800 adapter and then i pluged the fire wire into that since there is no DV cable slot on the macbook pro. THANK YOU IN ADVANCE, IM STRESSING OUT!!

    My HV20, which is mechanically identical to the HV30, works perfectly with FCP X.
    Have you tried trashing the preferences?
    Many weird things happen as a result of corrupt preferences which can create a vast range of different symptoms, so whenever FCP X stops working properly in any way, trashing the preferences should be the first thing you do using this free app.
    http://www.digitalrebellion.com/prefman/
    Shut down FCP X, open PreferenceManager and in the window that appears:-
    1. Ensure that only  FCP X  is selected.
    2. Click Trash
    The job is done instantly and you can re-open FCP X.

  • ITunes 10.5 and Win7 64bit: Airplay button doesn't show up. Please help!

    I am running Win7 and recently installed iTunes 10.5.
    Before I was using an older version of iTunes which allowed me to stream my music via airplay to my airport express, but I could not access iTunes-store with the old version of iTunes.
    Since I've updated, I can access the iTunes-store, but the the airplay button in iTunes has vanished. This is very disappointing.
    Does anyone know how to solve this problem?
    Thanks a lot!

    It's a bug with iTunes 10.4.0.80. If you copy and paste from some web browsers or an image editor then iTunes pastes in a transparent image of the same dimensions. This shows up black in the artwork panel at the bottom left or white in the get info art viewer.
    If you work with an image file stored on your computer you will get better results. Use the artwork box on the Info tab of the Get Info. dialog for multiple tracks to replace all existing images. With a single track you will need to delete the existing corrupt images from the Artwork tab first.
    tt2

Maybe you are looking for

  • How to clean the Notification iView items

    Hi, I´m trying to cleen the notification iView Items and there is a clear link but I click on it and it is not working, is thera a way for doing this? Thanx in Advanced! Kind Regsrds, Gerardo J

  • Help me! new ipod but it wont load new songs and itunes freezes!

    i recently had to trade in my old ipod as it was faulty and between losing the old one and getting my new one i reformatted my computer, i downloaded itunes and re loaded all my cds back up plug in my ipod and itunes freezes instantly, give it a few

  • Delete Workflow items from workflow inbox.

    Hello All, We are using workflow in MSS for Compensation Management. As part of this an email will be sent to the managers when a compensation needs an approval. There are some workflow items under workflow inbox ( SBWP ) . How can I delete emails wh

  • Looking for a person familar with Livecycle 8 webservices

    These forums are great but I have gotten over my head and instead of posting question after question, I would rather like to hire someone already familar with this subject. I am looking for a person familar with Livecycle webservices to assist with m

  • Email mapping seems to be messed up?

    Within the last week or so i have noticed that my emails occasionally say they are from someone but when opened it is an old email from someone completely different that was already in my mail box. only in the Inbox email title line does it show who