JTabbedpane strange behavoir-ghost textfields

Hi have a Jtabbedpane with two tabs , on each tab there are some textfields but when i display them i can see the textfields of the lower tab on the first tab , is there a way so solve this problem
tia Sven

hi, here is my code , after the init ,
i'll run below function to check wich tabb to show
void showTab (String ana)
jTabbedPane1.removeAll();
if (ana.compareTo("VREX")==0)
jTabbedPane1.add(vrexpanel, recources.getString("VREX"));
jTabbedPane1.setIconAt(0,new ImageIcon(images.getString("EXPL")));
else
if (ana.compareTo("UAS")==0)
jTabbedPane1.add(jScrollPane1, recources.getString("UAS"));
jScrollPane1.getViewport().add(uaspanel, null);
jTabbedPane1.setIconAt(0,new ImageIcon(images.getString("UAS")));
else
if (ana.compareTo("CHRONO")==0)
jTabbedPane1.add(chronopanel, recources.getString("CHRONO"));
jTabbedPane1.setIconAt(0,new ImageIcon(images.getString("CHRONO")));
jTabbedPane1.add(startstoppanel, recources.getString("CHRONO"));
}

Similar Messages

  • Strange behavoir of JSF in JDeveloper

    Hi all.
    I'm having a problem with a JSF project thats running in a jdeveloper 9.03 ide. When i send to run a page, the browser shows that page not found. looking in the oc4j-app.log it shows
    javax.servlet.ServletException: Error initializing servlet
    The rare behavoir is that if i donload the proyect from our CVS in other machine it run fine, if i erase the proyect in my machine, download a new one from CVS it don't work and continues with the problem.
    others modules of our proyect work fine, so itsn't the jsf configuration, but even a simple html page fails in the problematic project.
    Does anayone had a similar situation, any suggest to look for?
    tks. group.
    John Cortes

    JDeveloper 9 has problem with JSF u must delete some jar files. U can find this example on oracle.com. So, I suggest u to u install Oragcle JDeveloper 10g and u will not have probles again.

  • Strange behavoir : characterset conversion

    there is a strange behavior related to character set conversion under windows. Please take a look at the example below and give me you comment :
    -- Under Windows 2000 box
    SQL> @.[%NLS_LANG%]
    SP2-0310: impossible d'ouvrir le fichier ".[French_France.US7ASCII]"
    SQL> desc test_nls
    Nom NULL ? Type
    C1 VARCHAR2(5)
    SQL> select * from nls_database_parameters where parameter='NLS_CHARACTERSET';
    PARAMETER VALUE
    NLS_CHARACTERSET WE8ISO8859P1
    SQL> insert into test_nls values('éàèôï');
    1 ligne créée.
    SQL> commit;
    Validation effectuée.
    SQL> col dmp for a40
    SQL> select C1, dump(C1) dmp from test_nls;
    C1 DMP
    éàèôï Typ=1 Len=5: 233,224,232,244,239
    -- Under Unix box
    SQL> ! echo $NLS_LANG
    French_France.US7ASCII
    SQL> desc test_nls
    Name Null? Type
    C1 VARCHAR2(5)
    SQL> select * from test_nls;
    C1
    eaeoi
    SQL> é
    SQL> col dmp for a40
    select C1, dump(C1) dmp from test_nls;SQL>
    C1 DMP
    eaeoi Typ=1 Len=5: 233,224,232,244,239
    SQL> ! export NLS_LANG=French_France.WE8ISO8859P1
    SQL> ! echo $NLS_LANG
    French_France.US7ASCII
    SQL> select * from nls_database_parameters where parameter='NLS_CHARACTERSET';
    PARAMETER VALUE
    NLS_CHARACTERSET WE8ISO8859P1
    SQL> insert into test_nls values('éàèôï');
    1 row created.
    SQL> commit;
    Commit complete.
    SQL> col dmp for a40
    select C1, dump(C1) dmp from test_nls;SQL>
    C1 DMP
    eaeoi Typ=1 Len=5: 233,224,232,244,239
    i`hto Typ=1 Len=5: 105,96,104,116,111
    Under MS-Dos (windows cmd CLI)
    SQL> host echo %NLS_LANG%
    French_France.US7ASCII
    SQL> select dump(convert('é','WE8ISO8859P1','US7ASCII')) from dual;
    DUMP(CONVERT('☻','WE8ISO8859P1
    Typ=1 Len=1: 2
    SQL>
    --- Under Unix (Aix 5.2)
    SQL> ! echo $NLS_LANG
    French_France.US7ASCII
    SQL> select dump(convert('é','WE8ISO8859P1','US7ASCII')) from dual;
    DUMP(CONVERT('I','WE8ISO8859P1
    Typ=1 Len=1: 105

    This does seem like strange behaviour, are your windows and Unix clients perhaps of different versions? All I can do is echo Barry's comments, if your database is WE8MSWIN1252 and you want to provide WE8MSWIN1252 data from the client, NLS_LANG must be set to French_France.WE8MSWIN1252.
    Note that this must occur before you start SQL*Plus otherwise the setting will not take effect.

  • Strange problem: Ghost Time Capsule!

    Hi all.
    After ten years of good function, I am experiencing some internet issues these days with both my Airport Express.
    What I noticed in Airport Utility is the presence of a Time Capsule which actually I don't have.
    What can this "ghost" be? Can this be related to my problem?
    Thank you,
    Giuseppe

    this has come up and I am not 100% sure of the solution.
    https://discussions.apple.com/message/12936803#12936803
    Are you using ethernet? Are you using Mountain Lion .. rather than Lion in your profile.. the issue is more a ML one.
    Plug in by ethernet if you are not already.. do a full factory reset.. and change all names to SMB standard. That includes TC name.. TC is good. Wireless name TC24ghz and set different name for 5ghz.. TC5ghz.. and make sure the hard disk name is also data or the like.. not Time Capsule.
    Once you do this.. delete all the ghosts in the Mac.. you probably will need to restart it..
    Do a reset of TM. A4. http://pondini.org/TM/Troubleshooting.html
    If the old name still shows up in finder.. you might have to search how to get rid of old network names.. but I would do a relaunch of finder.. and make sure the new named version is showing up.

  • Strange behavoir of ComboBox

    First, sorry my english.
    I have master-detail form (Swing, ADF), both blocks including JTable.
    When row in first block changed second there is requery on second block by some WHERE condition.
    ComboBox (builder by wizard) on second block shows IDs instead of Names (in each row!) after requery occurs and only after double click on it (or pressing F2-Esc) it become shows Names.
    There is xml page def
    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel" version="10.1.3.36.73" id="MeasureScaleMPanelPageDef" Package="forms.pageDefs">
      <parameters/>
      <executables>
        <iterator RangeSize="-1" Binds="AppModuleDataControl.IapMeasureTypesAndBase1" DataControl="AppModuleDataControl" id="IapMeasureTypesAndBase1Iter"/>
        <iterator id="IapScaleFactorsView1Iter" RangeSize="10" Binds="IapScaleFactorsView1" DataControl="AppModuleDataControl">
          <sortCriteria>
            <sort attribute="Name" ascending="true"/>
          </sortCriteria>
        </iterator>
        <iterator id="IapMeasureUnitsView1Iter" RangeSize="10" Binds="IapMeasureUnitsView1" DataControl="AppModuleDataControl">
          <sortCriteria>
            <sort attribute="Name" ascending="true"/>
          </sortCriteria>
        </iterator>
      </executables>
      <bindings>
        <table ColumnSort="entireCollection" id="IapMeasureTypesAndBase1" IterBinding="IapMeasureTypesAndBase1Iter" xmlns="http://xmlns.oracle.com/adfm/jcuimodel">
          <AttrNames xmlns="http://xmlns.oracle.com/adfm/uimodel">
            <Item Value="MutCode"/>
            <Item Value="MutName"/>
            <Item Value="MuName"/>
          </AttrNames>
        </table>
        <table ColumnSort="entireCollection" id="IapScaleFactorsView1" IterBinding="IapScaleFactorsView1Iter" xmlns="http://xmlns.oracle.com/adfm/jcuimodel">
          <AttrNames xmlns="http://xmlns.oracle.com/adfm/uimodel">
            <Item Value="MeutId"/>
            <Item Value="Scale"/>
          </AttrNames>
          <AttrProp name="MeutId">
            <EditorDef RTClass="oracle.jbo.uicli.jui.JULOVEditorPropDef" DTClass="oracle.adf.dt.objects.jui.JUDTLOVEditorProp" Name="ComboBox" binding="meutList"/>
          </AttrProp>
        </table>
        <combobox id="meutList" xmlns="http://xmlns.oracle.com/adfm/jcuimodel" StaticList="false" ListOperMode="0" IterBinding="IapScaleFactorsView1Iter" ListIter="IapMeasureUnitsView1Iter">
          <AttrNames xmlns="http://xmlns.oracle.com/adfm/uimodel">
            <Item Value="MeutId"/>
          </AttrNames>
          <ListAttrNames xmlns="http://xmlns.oracle.com/adfm/uimodel">
            <Item Value="Id"/>
          </ListAttrNames>
          <ListDisplayAttrNames xmlns="http://xmlns.oracle.com/adfm/uimodel">
            <Item Value="Name"/>
          </ListDisplayAttrNames>
        </combobox>
      </bindings>
    </pageDefinition>

    Hi,
    I just repeated
    "I have master-detail form (Swing, ADF), both blocks including JTable. When row in first block changed second there is requery on second block by some WHERE condition. ComboBox (builder by wizard) on second block shows IDs instead of Names (in each row!) after requery occurs and only after double click on it (or pressing F2-Esc) it become shows Names."
    based on the HR demo schema (using Departments with a comboboc for locations and Employees with a combobox for departmentId) and it works for me. Can you try and reproduce this issue based on the HR schema ?
    Frank

  • Strange font ghosting in iBooks

    This happens when I export a FL EPUB from InDesign CC and open it in iBooks:
    Font Issues
    The weird thing is that it doesn't always happen on the same letters if I export it again. Every export has some issues on the same page, though. So it's not that random.
    I thought it was an issue with the pixel fractions InDesign uses to position every word. So I rounded all the numbers... but the issue persists.
    Any idea what could be causing this?
    Thanks a lot!

    Ideas about what? Initial troubleshooting steps for misbehavior in the iPad or installed apps can be found on and around p. 170 of your User's Guide. Once you've worked through those without success, it's probably time to talk to Apple or the developers.

  • Help, Drop Shadow filter with strange glares in CS4

    Hi,
    I've made a symbol for a logo design in Ai CS4 in wich I applyed some Drop Shadows to some elements (white arrows).
    The problem is, when I enlarge the symbol (approximately 110 x110 mm), strange glares/"ghosts" appear around the elements that have the Drop Shadow applied to.
    There are no Pantones in this, just CMYK colors.
    See the image please: http://www.grabup.com/uploads/01773c95e72416002699e3d3e4800428.png
    (the strange glares/ghosts are the ones pointed by the red arrows, the Drop Shadow dialog box, corresponds to the red highlighted white arrow on the left with the blue drop shadow.)
    When I turn to Outline mode there are no vector paths there, so it only shows this glares/ghosts in normal/preview mode.
    This only happens when I enlarge this elements, and the Blur (in the drop shadow) begins to have a large number applied to it (example: blur: 9 mm).whn I Rasterize or Expand Appearance the elements with this drop shadows, the rasterized image maintains the strange glares/ghosts.
    The glare/ghosts completely disappear when:
    - I reduce the size of the logo/symbol;
    - In the Drop Shadow dialog box: Instead of the Color, I choose Darkness (but I need this to have a blue color in shadows not grey/black).
    - In the Drop Shadow dialog box: I reduce the size of the Drop Shadow Blur (with 5mm or less of Blur, the glare/ghosts vanish)
    Is this a Illustrator bug?
    The only solution for this is to reduce the amount of Blur aplyed to the drop shadows elements?
    If so, what happens when I have to enlarge this logo to a bigger size, say... an Outdoor?
    thank you!
    (sorry for my english)

    Hi Bob,
    Thanks for your reply (very prompt!)
    Yes I read that article and thankfully was already exporting using Acrobat 5 (PDF 1.4) so that wasn't an issue.
    So now I'm waiting on the printer's reply as I've emailed him a link to that article!
    :) Carmel

  • Strange phenomena with the internal NIC

    Hi!,
    maybe there is someone with an idea or suggestion. I've got a PowerBook with a strange behavoir of the internal Onboard-NIC. Suddenly the connection to the internal Network stopped working.
    But some things still work oO! If i plug in the Cable, the DHCP assigning works flawless, and i can ping all the interna, interaces without any Problems (AirPort, NIC, loopback). If i try to ping for example the router (from wich the PB gets the IP via DHCP) he says the Host is down.
    Ok i've tried to manually change Link-Speed and switched between Half and Fullduplex mode, without any succes. The Book was resinstalled several times with Panther and Tiger and the connection via Airport works great. I cannot believe, that the NIC is completly damaged, because of great working DHCP... maybe some Problems in some OSI-Layers? Or because DHCP is not a layer3 proto?.... strange isn't it?
    I've got the problem for a long time (a year or more) but i don't want to miss a 100Mbit conneciton because of Filetransfers to other PCs. Last year there wasn't one Ehternet PC-Card available that works with panther oder tiger Can someone give me a suggestion for a card that works with 10.3 or greater and is available in germany?
    thanks a lot
    --edit ---
    find another strange behavoir... if i disable all other interfaces, and trying to get the arp table for en0, there is no listing! The ARP "Hangs", can only CTRL-C to come back to console... "sudo arp -a".. (if i wait very long, the entries will show up (about 30sec for each entry)....
    When do the same with only Airport enabled, sudo arp -a gives me all the information i need!
    strange?
    I've added a permanent ARP-Entry for the router.. wihtout success...

    Well, I can't offer any suggestions, but I also see the same behavior on my PowerBook. I have no idea what has changed, or where to find clues, but earlier this evening I came back to my computer (already running and awake) to find this odd behavior. I spent more than an hour trying different things, and all I could get was a new ip from the dhcp server (although I couldn't ping it from Terminal window!).
    The behavior for Airport and Ethernet was the same - obtain an ip address from the dhcp server, but no network traffic was possible. And yes, I verified that the network was working fine (other computers were online no problems).
    After much fiddling around, I restarted my PoweBook, and whaddya know, everything is normal again.
    Are there others who are experiencing this problem?
    15" PowerBook G4 1.67 and G5 1.8   Mac OS X (10.4.7)  

  • Strange Vertical lines and pixelation issues with my Powerbook screen...Hel

    I have got a problem with mt LCD screen which now permanently displays lines of "dead" pixels, but they can't be dead because they chaneg all the time. If I move a window, I get lots more, which are created by the edge of the window, like a ghosting? Does that make sense?
    I have taken a screen grab, but not sure how to feature it in these forums. Anyone got any ideas or know about this problem?
    I have had a similar problem with this and other laptops, but it has always been a temporary thing before, when I had overloaded the system or something, and I got 'ghosting' from the trailing edge of a window, but this is permanently there?

    I have now attached a monitor to the PB, and it happens on the monitor too...maybe suggesting something wrong with the graphics card or logic board, rather than the screen itself. When I type this message, I get strange red 'ghosting' lines where the cursor moves across the page.It reminds me of the 'Etch-o-sketch' game, where you draw lines, and then wipe them off. I can move a window from left to right and get these ghosting lines. When I move the window back right to left, they erase the lines to the left of the window, but I get more to the trailing right edge of the window...i.e. on the right of the screen.
    Scrolling also removes these pixels, but creates new ones elsewhere.
    Any ideas?

  • Strange behavior of Native Extension on Android

    I have a strange behavoir working with a native extension (jar) on my app.
    Lanuncing with debug or run from Flash Builder everything works fine, But when i try to install from the release build i have these errors:
    08-19 17:37:58.311: W/System.err(14317): java.lang.NullPointerException
    08-19 17:37:58.311: W/System.err(14317):     at java.io.File.fixSlashes(File.java:185)
    08-19 17:37:58.311: W/System.err(14317):     at java.io.File.<init>(File.java:134)
    08-19 17:37:58.311: W/System.err(14317):     at com.adobe.air.JavaTrustStoreHelper.getX509TrustManagerFactory(JavaTrustStoreHelper.java:8 1)
    08-19 17:37:58.321: W/System.err(14317):     at com.adobe.air.JavaTrustStoreHelper.getX509TrustManager(JavaTrustStoreHelper.java:110)
    08-19 17:37:58.321: W/System.err(14317):     at com.adobe.air.JavaTrustStoreHelper.enumerateRootCAs(JavaTrustStoreHelper.java:195)
    08-19 17:37:58.331: W/System.err(14317):     at dalvik.system.NativeStart.run(Native Method)
    but only when i invoke a method of my extension the others methods works.
    Thank you

    Yes, all phones are 111, all faxes are 222 and all mobiles are 333
    Please see these images:
    Test-Database in Excel:
    Export from Excel:
    Import into Adress Book:
    The result(s) (see the aligning of "Andere" (=phone), Fax and Mobile):

  • Weird: Character in View cut out.

    I have a very strange behavoir in Crystal Reports. Somehow I feel that there is a simple cause for this.
    OK.
    I have a field in Crystal Reports containing the STATIC string "2-û". The String is displayed correctly in the designer.
    When i save the report and display it through the .net Crystal Reports viewer the - char disappears. It only displays "2û".
    You can test this behavoir easily. It seems to be only the combination of the to characters -û which cause this. The reason why I need this, is that I am displaying barcode, which miracously couldn't be read anymore when the calculated checksum was this - character the û is the stop character of the certain font.
    Does anyone have an idea?
    Thank You!

    I have found an related article:
    [Likely Bug: Chr(173) not printing in CR Basic 2008|Re: Likely Bug: Chr(173) not printing in CR Basic 2008]

  • [T410] discrete gfx - Problem with Video Card and Windows Aero -anyone using 4Gb memory modules?

    [3/3/2010 Update]
    There's a issue of using 4Gb sticks on T410 currently that results in video output artifacts and aero interface problems when using Lenovo supplied drivers v8.16.11.8825. I think I can call it confirmed (Three people including me face this issue).
    Possible workaround is to install modified EliteBook 8440p video driver (read along this thread) comes with a BIG drawback of not being able to change brightness level within Windows 7. To sweeten it a little bit - you can set luminance level at POST screen, when computer boots up.
    [Original Message]
    Encountered strange behavoir of my T410.
    I have a T410 with 256Mb of Video Memory and 1440x900 display, a T61 with 128Mb of Video Memory and 1400x1050 dsplay and external monitor HP w2338h with 1920x1080 resolution.
    If I connect external monitor to my T410 and launch Visual Studio 2010 Beta 2 - image blinks and comes back with Aero disabled. Looking through event logs reveals the lack of memory. Entry information can be found further.
    Now If I do the same with my old Thinkpad T61, connect the same monitor using the same cable - I can open as many Visual Studio 2010 Beta 2 instances I like (tried 5) and nothing blinks and Aero stays enabled.
    Actually I find ridiculous, a notebook with more VRAM cannot archive the same performance as notebooks with less.
    Does anyone know what path should I pursue to solve this issue?
    UPDATE: Simply running multiple instances of Visual Studio 2010 Beta 2 without external monitor causes Aero disabled as well.
    Log Name:      Application
    Source:        Desktop Window Manager
    Date:          2/4/2010 7:32:21 PM
    Event ID:      9020
    Task Category: None
    Level:         Error
    Keywords:      Classic
    User:          N/A
    Computer:     
    Description:
    The Desktop Window Manager has encountered a fatal error (0x8007000e)
    Error 2/4/2010 7:32:21 PM Desktop Window Manager 9020 None
    Solved!
    Go to Solution.

    mat3y wrote:
    I have the same problem with T410 and aero disabled.  I am not using VS and I get this error anyway.
    The Desktop Window Manager has encountered a fatal error (0x8007000e).
    This must be buggy drivers, on Lenovo download site is just the one and the only initial driver for T410 graphics card.
    What software were you actively using when this error occured?
    Thinkpad T500-2081 CTO | T9400 2.53GHz | 8 GB RAM | ATI HD3650 + Intel GM45 | 15.4" LED WXGA+ | Windows 8 | ATI Catalyst 13.1 (non-switchable)
    Thinkpad 390x | PII 333 | 256mb ram | NeoMagic 256AV | SVGA LCD | OS/2 v4.52

  • Disabling auto scroll in Flex Navigator

    Hi.
    How do I disable the vertical autoscroll, when I use the Flex Navigator.
    When I click a file in the Flex Navigator, it centers the file vertically in the Flex Navigator, byt when I go up or down the "tree" it autoscrolls left and right, depending on where my mouse cursor is. It is really a big issue for me, so I would like to disable that part, so it just works as all other tree navigation in windows.
    This was never a problem, when I used Win XP, but now i use Windows 7, but it is only in Flex Builder(3) i get this strange behavoir.
    Kind regards
    Kasper

    after loading the file you should be able to use:
    textComponent.setCaretPosition(0);

  • Multipanel and/or Multiple GUI DLL

    Hello,
    I am in the process of writing an application that will use some CVI GUI DLL's   The thought is each DLL is associated with an instrument and will have an instrument specific user interface that can be accessed through an exported function (RUNUI).   The inital problem I ran into was that each RUNUI function would call RunUserInterface() and each DLL had a callback with a QuitUserInterface() which resulted in strange behavoir ( the calling application was also written in CVI)  After searching the forums i realized that I should be running each DLL's user interfaces in seperate threads each with it's own RunUserInterface() and QuitUserInterface() so i had modified my code according to what I thought would be the correct solution:
    Each DLL has the following three functions along with some exported functions like init read and close and other associted callbacks for the GUI:
    int __stdcall Photo1980A_RunUI (void)
         int threadFunctionId1 = 0;
        CmtScheduleThreadPoolFunction (DEFAULT_THREAD_POOL_HANDLE, ThreadFunctionPhoto, NULL,  &threadFunctionId1);
        CmtWaitForThreadPoolFunctionCompletion (DEFAULT_THREAD_POOL_HANDLE, threadFunctionId1, OPT_TP_PROCESS_EVENTS_WHILE_WAITING);
        CmtReleaseThreadPoolFunctionID (DEFAULT_THREAD_POOL_HANDLE, threadFunctionId1);
            return 1;  
    static int CVICALLBACK ThreadFunctionPhoto (void *functionData)
        int DLLpanel;
        if ((DLLpanel = LoadPanelEx (0, "1980APhotomGUI.uir", PANEL1980A, __CVIUserHInst)) < 0) return 0;
        SetPanelPos (DLLpanel, 200, 200);
        DisplayPanel (DLLpanel);
        SetSleepPolicy (VAL_SLEEP_MORE);
        RunUserInterface ();
         /* Free resources for the UI and return success */
        DiscardPanel (DLLpanel);
        return 1;
    int CVICALLBACK quitCB (int panel, int control, int event, void *callbackData, int eventData1, int eventData2)
        switch (event)
            case EVENT_COMMIT:
                HidePanel (panel);
                QuitUserInterface (0);
                break;
        return 0;
    My Main application has two buttons (one for each of the two DLL's) and pressing a button calls associated RUNUI function.
    So the application works fine as long as I don't try and have two DLL GUI's up at the same time. (open one and as long as it gets closed before calling the other no problems, all the callbacks work etc.)
    As soon as I try and call the second RUNUI function from the main application it partially displays the panel and then goes off in the weeds and I have to abort everything. It seems to hang in the DisplayPanel() function (ie never get's to the RunUserInterface() when i'm single stepping).   So my question is if I'm approaching this the wrong way?
    Other info CVI2010 Windows7 64bit
    Another item is that I have seen the Multipanel example but when I try and run it I get similar behavor (ie when I select the Schedule Function button the panel pops but everything seems to lockup and I dont' see the start button ever fully display)
    Any help would be much appreciated.
    Regards,

    Thanks for the response.  I didn't include my code for the process attach and dettach but it looks very similar (right out of the example).
    int __stdcall DllMain (HINSTANCE hinstDLL, DWORD fdwReason,
                           LPVOID lpvReserved)
        if (fdwReason == DLL_PROCESS_ATTACH)
             /* Place any initialization which needs to be done when the DLL */
            /* is loaded here. */
            if (InitCVIRTE (hinstDLL, 0, 0) == 0)
                return 0;
        else if (fdwReason == DLL_PROCESS_DETACH)
            /* Place any clean-up which needs to be done when the DLL */
            /* is unloaded here. */
            if (!CVIRTEHasBeenDetached ())
                CloseCVIRTE (); 
        /* Return 0 to abort if initialization fails */
        return 1;
    How does your DLL handle GUI callbacks and process events if you aren't running the RunUserInterface?  If you call this from something other than a CVI application does it still work?
    Regards,

  • MouseEvent not firing on DisplayObject click in AS only project in Flash Builder 4

    Hello,
    I'm having difficulty getting MouseEvents to fire in an ActionScript only project. It doesn't make any sense to me. My code is below and this object is the top most object on the stage.
    var click:Sprite = new Sprite();
    click.name = 'clickLayer';
    click.mouseEnabled = true;
    click.addEventListener(MouseEvent.CLICK, mouseClickHandler);
    addChild(click);
    function mouseClickHandler(e:MouseEvent):void{
    trace('click');
    var url:String = loaderInfo.parameters.clickTag;
    navigateToURL(new URLRequest(url), '_blank');
    My class extends Sprite.
    Everything else works fine. Something I found strange is that TextFields will fire MouseEvents when clicked if I add the EventListener, but not DisplayObjects.
    Thanks for your help.

    I just made the width & height the width & height of the container (Sprite), but still nothing.
    I also tried adding a "container" sprite to the main stage, and adding everything to that sprite - but that sprite won't instantiate and doesn't show on the stage, meaning anything added to that sprite doesn't show either.\
    Also: I've tried adding MouseEvent listeners to every display object I add to the stage and nothing will fire MouseEvents except TextFields.

Maybe you are looking for