Not displaying new components

I have a form containing many standard form components: text fields, combo boxes, labels, etc. When a user clicks the submit button the form elements are all removed by this.remove(x). Then, a new set of form elements are added with this.add(y). The trouble is, they don't show up until the applet viewer is refreshed by hiding it behind another window then bringing it to the front or maximizing it out of the taskbar etc. I've tried adding this.repaint() and just repaint() in all sorts of places but it isn't doing it.
What's wrong?

I started learning Java through applets and wrote a lot of custom components and layouts. The Graphic Java series of books was very useful.
FYI: When a component changes (or the layout of a container etc.) it calls invalidate(). This gets passed up the component hierarchy until it reaches the top. The top component then needs to decide what to do. It can calculate its layout again, postpone laying things out for later or do nothing at all.
When you want to calculate the layout again you call validate() which calculates the layout on all child components, positions them accordingly and will probably repaint them.
If you want to know more then just ask!

Similar Messages

  • Safari will not display new domain endings on iPad

    Safari will not display new domain endings, instead goes to google, other browsers have no issue with this just safari. My domain per example ends in .photo rather than .com etc....  This is only an issue on the iPad or mobile app of safari.

    You need to check that website again, after clearing the cookies from browser. If it still unable to connect with the website having new domain names then message to Safari forum about the problem or inform them via feedback option available in browser. Hopefully they would troubleshoot this problem.

  • USF on iTunes U collections such as Sustainability and iteach Initiative are not displaying new items even days after they are uploaded to the collections. The items show in the Preview of the collections but not Live view. not displaying

    USF on iTunes U collections such as Sustainability and iteach Initiative are not displaying new items even days after they are uploaded to the collections. The items show in the Preview of the collections but not Live view. not displaying

    Greetings;
    This seems to an ongoing issue (see related discussion link).  We've been experiencing the same update lag since last Friday.  The new additions to the Collection appear and are accessible in both the iPad and iPhone applications, but even though they additions appear in "Quick View", the material doesn't appear in the Collection itself.  Apple is aware of the issue and is investigating.  All the best...
    Syd Rodocker
    Tennessee State Department of Education
    https://discussions.apple.com/message/15461971#15461971

  • Why do IMAP accounts not display new messages in viewer?

    I have been having persistent problems with Mail not displaying new IMAP messages in the viewer. I know the messages are on the server because I can see them on my iPhone. Sometimes they will appear if I quit Mail, then relaunch it. Other times it is necessary to restart to make them appear. I have deleted and recreated the accounts (MobileMe and Gmail), reinstalled the 10.5.7 update and applied the latest Java update.
    The Console messages make it seem like in might be a conflict with Safari 4.02. Upon starting Mail I get messages like this:
    07/27/2009 3:01:35 PM Mail[302] WebKit Threading Violation - NSData* -[WebArchive data](WebArchive*, objc_selector*) called from secondary thread.
    I've seen similar complaints elsewhere in forums, but have found no solutions. Is there one?

    Can you refrain from viewing the messages on the iPhone, and only check via webmail to see if new ones are then failing to be noted?
    Btw, in Mail Preferences/Accounts/Advanced is use IDLE selected for either account -- I select it for MobileMe, but not for Gmail? When selected for MobileMe, the mail is "pushed" to eligible devices, and in Mail, results in the new message chime not sounding for that one account.
    Ernie

  • Text not displaying on components

    I have one swf file where im using the default textInput and
    button components. Just so the user can enter a zip code and click
    submit. When i publish that swf, everything looks fine. The problem
    is that i am loading that swf into a master swf and when i view it
    through the master swf, it displays the components without text.
    The submit button is blank, it should say 'submit' on it, and no
    characters display when you type into the textInput component. I am
    able to type characters and submit the form, but i can't see what
    im typing. I've tried messing with embedding fonts in the child swf
    as well as the master to no avail. If anyone has any suggestions,
    they would be greatly appreciated.

    Here's how to talk to your dynamic text box. Where you put
    this bit depends
    on how you are building the preloader, but since you say the
    progress bar
    works fine, I'll assume you know what you're doing there and
    will be able to
    get this in the right spot.
    // variable that calculates a number for the percent loaded
    preloaded = Math.floor((loadedBytes/totalBytes)*100);
    // this line is talking to a dynamic text box named
    "percentage_txt" that is
    inside a movieClip named "preloader_mc" on the root timeline
    // depending on your setup the path may be different, but
    make sure
    everything on the way to the text box is named
    _root.preloader_mc.percentage_txt.text = preloaded + "%";
    // You've probably left out the ".text = " bit. Just a guess,
    but that's
    the bit I always find
    // I've left out when I'm having trouble with dynamic text.
    // Also make sure your text color is not set to the same
    color as your
    background. Duh.
    Good luck.
    --KB
    "patbegg" <[email protected]> wrote in
    message
    news:ejuu12$bmd$[email protected]..
    > Hi,
    > Cheeky little problem. I cannot get the dynamix text to
    show on the
    > preloader
    > of a loaded movie. I am calling in a .swf which has a
    preloader in it, the
    > progress bar is fine but the text showing the percent
    will not display.
    >
    > I have tried the _lockroot method, but no joy. Any ideas
    anyone?
    >
    > Any help appreciated guys.
    >
    > Cheers,
    > Pat
    >

  • Versioing: CVS Status not displaying new repository files

    I did some quick searches and did not find this in the forum. Hopefully it is not a duplicate. If so, please point me to the original thread.
    We have a multi-developer project underway with Creator. We are using CVS for the shared source repository. When one developer checks in a new file and other developer's use the CVS Status option, the new files do not display as 'Needs Checkout'. Of course, any files the user already has checked out display with the appropriate status but new repository files are missing.
    Since we use CVS extensively, right now the developers communicate the new files and then check them out via command line CVS. We have the IDE set in 'expert' mode, etc.
    Is this a know bug or is there some setting for the IDE to get it to display files with status 'Needs Checkout' from the cvs repository?

    As per the documentation at:
    http://ximbiot.com/cvs/manual/cvs-1.11.22/cvs_10.html
    Based on what operations you have performed on a checked out file, and what operations others have performed to that file in the repository, one can classify a file in a number of states. The states, as reported by the status command, are:
    Needs Checkout
        Someone else has committed a newer revision to the repository. The name is slightly misleading; you will ordinarily use update rather than checkout to get that newer revision.
    ...Thus the 'cvs status' command works only on local files and 'Needs Checkout', from cvs documentation itself, is a misnomer and is really more like 'Needs Update'.
    In Creator (and NetBeans), the nodes on the cvs explorer actually map to physical files and thus do not display nodes for files that may only be in the server. But you do raise an interesting question though; creator could display virtual nodes for files not in local workspace thereby providing a preview before actual checkout...

  • Why not displayed new member in dimension sap bpc?

    Good day guys
    I have the following problem:
    Add new members to a dimension but not displayed.
    example: DIMENSION(inputcurrency) added MEMBER: MXN (Mexican Pesos); when I excel interface I can not see the new member, before this process the dimension and active AppSet.
    that could be?
    Use SAP BPC 7.5 SP8

    Hi Bish,
    Without processing a dimension the data should no go to the database. If you modify the the dimension and you want those new members in report you have to process that dimension. And if you save that dimension after modification its save the members in application sever. while retrieving the data it pick up from the database layer not from application layer, So the on fly calculation are  stored in application layer( Like conversion files, Transformation files, script logics and Member formulas). So if you want the new members in report you have to process. Its by SAP design it self.
    After modification of dimension no need to logoff and login every time. In order to avoid that option we have a anothe solution that is  Activate Metadata Cache option.
    In order to use that go to EPM--> User OPtions---> Activate metadata Option
    You can clear the metadata cache. When the cache is cleared, the structure of the data source you are connected to is synchronized with the structure copied locally; which means that the members of dimensions that have been added, modified or deleted in the data source are loaded.
    For more details related to  Metadata option go to the EPM 10 Office Addin User Guide document which is available in google free of cost
    Regards,
    Saida Reddy G

  • Admin Console not displaying new Users and Groups from LDAP

    We created a new Realm in WebLogic, which specifies the location of the Netscape
    LDAP server. Our Weblogic application, called TGSLC, is able to find the ldap
    server to use for authentication. My problem is this- the Admin Console is not
    displaying the new users and groups from the LDAP server. Shouldn't the WebLogic
    Admin Console display any users and groups specified in the ldap server, which
    is referenced in the customized Realm?

    Hi Andy,
    I am not sure why you are unable to see the users and groups through the
    console., you should be able to. Can you post the config.xml?
    thanks,
    -satya
    Andy Levy <[email protected]> wrote in message
    news:3b700c36$[email protected]..
    >
    We're running WLS 6.0 Sp2 on Windows 2000 Professional.
    "Satya Ghattu" <[email protected]> wrote:
    Andy,
    Could you please tell us what Version of Weblogic you are running?
    thanks,
    -satya
    Andy Levy <[email protected]> wrote in message
    news:[email protected]..
    We created a new Realm in WebLogic, which specifies the location ofthe
    Netscape
    LDAP server. Our Weblogic application, called TGSLC, is able to findthe
    ldap
    server to use for authentication. My problem is this- the Admin
    Console
    is not
    displaying the new users and groups from the LDAP server. Shouldn'tthe
    WebLogic
    Admin Console display any users and groups specified in the ldap
    server,
    which
    is referenced in the customized Realm?

  • Stocks app not displaying news since update

    Since updating iphone 5 32GB to ios 8 the stocks app has stopped displaying news for any of the stock symbols. Price graph and stats are still displayed. I found this to be a very useful feature and long to have it back.

    What happens if you click the arrow next to 9 Updates Available?
    Could these 9 updates not be available until you first upgrade to Mavericks?
    Since you are running a legacy version of OS X, it is difficult for those of us running current versions to assist you. I am requesting the the ASC Hosts move your topic to the OS X 10.6 forum where folks also running this legacy version frequent and are more likely able to assist in figuring out what you are encountering.
    In my experience, the answer to your question is no, Apple has not become a control freak with updates.
    BTW, you can't be running 10.6.5 as there is no Mac App Store available for the old version of OS X.

  • Crystal Reports 13 VS2010 Report does not display new data

    The project is written in VS2010 connecting to an Access 2007 DB.  It is running on a local network.  All reports work fine from the standpoint that data is displayed on the reports HOWEVER, if a data table is updated the newley entered records do not show up on the report yet when I examine the database the records have been added to the table.
    I hit refresh and the new records still do not appear.  I've closed out the session and re-started the software and the records do not appear.  It's almost as if the DB is 'frozen'.  Suggestions?

    Hey Ludek,
    Problem with that sample is it hits the MDB directly and not the ODBC DSN. The Jet engine is being deprecated by MS so the solution is to use ODBC or OLE DB to any version of Access.
    I've posted this multiple times but here it is again:
    Try using the replace connection method to update the location of the DSN:
    private void ReplaceConnection_Click(object sender, EventArgs e)
    CrystalDecisions.CrystalReports.Engine.ReportDocument rpt = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
    ISCDReportClientDocument rcd;
    rcd = rptClientDoc;
    rptClientDoc.DatabaseController.LogonEx("dwcb12003", "xtreme", "sb", "pw");
    //Create the logon propertybag for the connection we wish to use
    CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag logonDetails = new CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag();
    logonDetails.Add("Auto Translate", -1);
    logonDetails.Add("Connect Timeout", 15);
    logonDetails.Add("Data Source", "dwcb12003");
    logonDetails.Add("General Timeout", 0);
    logonDetails.Add("Initial Catalog", "Orders");
    logonDetails.Add("Integrated Security", "True");
    logonDetails.Add("Locale Identifier", 1033);
    logonDetails.Add("OLE DB Services", -5);
    logonDetails.Add("Provider", "SQLOLEDB");
    logonDetails.Add("Use Encryption for Data", 0);
    logonDetails.Add("Owner", "dbo"); // schema
    //Create the QE (query engine) propertybag with the provider details and logon property bag.
    CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag QE_Details = new CrystalDecisions.ReportAppServer.DataDefModel.PropertyBag();
    QE_Details.Add("Database DLL", "crdb_ado.dll");
    QE_Details.Add("QE_DatabaseName", "Orders");
    QE_Details.Add("QE_DatabaseType", "OLE DB (ADO)");
    QE_Details.Add("QE_LogonProperties", logonDetails);
    QE_Details.Add("QE_ServerDescription", "dwcb12003");
    QE_Details.Add("QE_SQLDB", "True");
    QE_Details.Add("SSO Enabled", "False");
    QE_Details.Add("Owner", "dbo");
    CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo newConnInfo = new CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo();
    CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfo oldConnInfo;
    CrystalDecisions.ReportAppServer.DataDefModel.ConnectionInfos oldConnInfos;
    oldConnInfos = rcd.DatabaseController.GetConnectionInfos(null);
    for (int I = 0; I < oldConnInfos.Count; I++)
    oldConnInfo = oldConnInfos;
    newConnInfo.Attributes = QE_Details;
    newConnInfo.Kind = CrystalDecisions.ReportAppServer.DataDefModel.CrConnectionInfoKindEnum.crConnectionInfoKindCRQE;
    rcd.DatabaseController.ReplaceConnection(oldConnInfo, newConnInfo, null, CrystalDecisions.ReportAppServer.DataDefModel.CrDBOptionsEnum.crDBOptionDoNotVerifyDB);
    See if that works for you. You'll have to change the info to ODBC from OLE DB. You can get the info from an app also, Ludek has a link to it, it will generate code to use RAS to set log on info...
    Don

  • IPod playlists do not display new songs added alphabetically

    I find that if I add new songs to my iTunes and then add them to an existing playlist in my iPod, the new songs are displayed alphabetically by artist in iTunes (the way I prefer it), but when I disconnect the iPod and explore the playlist on the iPod the new songs have been added at the end of the listed songs in the playlist - not alphabetically... this is driving me crazy. To play a new song I then have to scroll not to the artist where he/she is listed alphabetically in the playlist, but all the way to the end, where a random collection of songs have by now accumulated. (I know most people create their playlists to play songs in a specific order, not by artist, but I have my iPod permanently on shuffle, so I prefer being able to find a song/artist easily)
    The only solution I have found is to restore the iPod to factory settings, deleting everything in the process, and then adding all the content to the iPod from scratch, after which both the old and the new songs are listed alphabetically by artist. This is just way too cumbersome - I'm sure there is probably a very simple setting somewhere ("sort playlist by artist"?), I just can't find it. I have tried sorting the playlist by artist on the iPod itself while connected to iTunes and then syncing - no use.
    I have read the iPod nano user guide, but found no help...
    Message was edited by: Frances1462

    Thanks for the link - it didn't help for my specific problem, but I learned some other useful things! After I read it I tried everything I had tried previously, and this time it actually worked. This is probably a part of the Great Continued Computer Mystery... why something functions one day and doesn't the next.

  • N73 - not displaying new messages

    I upgraded my n73's firmware about a month ago and i am on Vodafone. On Saturday my phone stopped displaying and vibrating when i received a new text message, it also doesn't display the little mail picture under the the operator name. However i've noticed that when the screen saver comes on it displays that there is a new message and its not only when i keep checking my inbox that i will know.
    Please help me out!!

    I hv the same problem after upgraded my Nokia N73ME. from ver 3.0638 to ver 3.0705.1.0.31.
    Before that all my sms was store in SD card memory. after upgraded it I cant read the sms message in the SD memory card. Even a new sms came in i just can see the sms subject but not able to open it.
    Anybody facing this problem? but if i switch the sms storage selection to memory phone, I am able to view the message.
    Please help

  • Not displaying new messages

    Before when I checked my email, the number of new messages would be displayed on the email icon on my screen.  Now it doesnt show up, even tho there are new, unopen messages in my mailbox.  I've tried powering off & Hard reset.  Anyone else had this problem?

    Try deleting, then re-adding the mail account.

  • OS X Snow Leopard Update Software not displaying new updates

    Hello Guys,
    Sorry in advance for any spelling or grammar errors, English is not my native language, and I am only 14 as well.
    So my problem is, Is that I recently lost my HDD due to a laptop fall and I have replaced it with a SSD. But the problems didn't arise until I reinstalled iLife '11. I use iLife A LOT, Mainly GarageBand for important music production,
    Now, Since iLife doesn't come with most of the instruments, I used ASU (Apple Software Update) And it said no updates, so I went into GarageBand, and tapped update from there, and I got the same thing. So I later went into Airport Utility, It said I needed a update, it took me to software update, and I got the same "No new updates" message.
    Not sure if it helps, probably makes matters worse, but in System Settings > Software Updates > Installed Software, there is "iLife Support" and 'iLife '11"
    The computer I am on:
    MacBook Pro Early 2006 15-inch
    Mac OS X 10.6.8 Snow Leopard
    1.83GHz Intel Core Duo
    2GB RAM
    Radeon X1600M
    128GB Sandisk SSD

    Try installing the 10.6.8 Combo update which contains all the latest updates for that OS.  Be aware that there appears to be no further support for Snow Leopard.
    https://support.apple.com/kb/DL1399?locale=en_US
    If you have done it before it will do no harm.  Indeed it is known to repair some minor blemishes in your system.

  • States not displaying in Components

    Hello all
    I just created a main page - in which I created three views like this...
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:views="com.views.*">
         <views:Login />
         <views:Member />
    </mx:Application>
    Now in my LoginScreen I created a state like this...
    <mx:Box xmlns:mx="http://www.adobe.com/2006/mxml">
         <mx:Panel title="login" width="100%">
              <mx:VBox id="formContainer">
                   <mx:Form id="loginForm">
                        <!-- login form here -->
                   </mx:Form>
              </mx:VBox>
              <mx:Button label="Check State" click="currentState='error';" />
         </mx:Panel>
         <mx:states>
              <mx:State name="error">
                   <mx:AddChild relativeTo="{formContainer}">
                        <mx:VBox>
                             <mx:Label text="error occurred" />
                        </mx:VBox>
                   </mx:AddChild>
              </mx:State>
         </mx:states>
    </mx:Box>
    Upon pressing the "Check state" nothing gets displayed, even though in Flex Builder design view I can see the state.
    What am I doing wrong? Can somebody help me out here?
    Thanks and Regards
    ShiVik

    Ok I have figured it out. I was doing like this...
    <mx:Box xmlns:mx="http://www.adobe.com/2006/mxml">
         <mx:Panel title="login" width="100%">
              <mx:VBox id="formContainer">
                   <mx:Form id="loginForm">
                        <!-- login form here -->
                   </mx:Form>
              </mx:VBox>
              <mx:Button label="Check State" click="currentState='error';" />
         </mx:Panel>
         <mx:states>
              <mx:State name="error">
                   <mx:AddChild relativeTo="{formContainer}"><mx:Spacer height="10" />
                        <mx:VBox>
                             <mx:Label text="error occurred" />
                        </mx:VBox>
                   </mx:AddChild>
              </mx:State>
         </mx:states>
    </mx:Box>
    I removed the spacer tag and it worked. SIlly me.

Maybe you are looking for