Applet refresh problem..argent...

hi all
i have two classes ...
appletclass and panelclass
my applet init method contains two textboxes and one button which are displayed when i start my applet...
my panelclass is extended from panel and contains 5 static texts and 5 textboxes....
when i click on button in applet i want to remove two textboxes and button on applet and want to add panelclass object so that those five static texts and textboxes in panelclass should be displayed in browser...
but when i do this in appletviewer, i can see those components only when i resize my applet window...
but in ie browser only original components in applet are removed and applet window shows blank screen....
what could be the problem ...
pls help ...
thanks in advance

perform a refresh on the highest component of your applet:
java.awt.Component.update(Graphics) (e.g. c.update(c.getGraphics());)

Similar Messages

  • IE applet refresh problem

    I have a menu applet whose items are generated from a database query. The problem I'm having is that the applet will not refresh when the page is reloaded or the refresh button in ie is selected. Instead of the applet I just get the gray box. The java console is not displaying any errors or exceptions. The applet works perfectly in Netscape. I'm using IE 5.5. Does anyone know if there is a problem with the Mircrosoft VM (I know, leading question) that would cause this? This is a third party applet so unfortunately I can't modify the source.
    Thanks,
    Ed

    Unfortunately this is a third-party applet and so I can't modify the source code. I've tried explicitly calling the init() method from a javascript onLoad() function, but that doesn't seem to help (I've also tried calling the repaint() method).
    If the applet works in Netscape, I can only assume the discrepancy is in the Microsoft VM.

  • Applet refresh problem in Ajax appln

    I have a drag and drop applet in an Ajax application.
    The drag and drop applet comes in a dialog box when user clicks on one button from the ajax page.
    From the applet user can do drag and drop files ,and click on ok the file names will be transferred to the ajax page .
    The problem is when user clicks the dialog box for selecting different files ,then the previously selected files will be there in the applet. If we do a refresh (f5) of the web page then the problem is not there. But since it�s a ajax application we are not doing any refresh or reload in the processing,only when the application start for the frist time the page gets reloaded.Other wise only resetting the form values in each transaction
    Is there any way to do an automatic refresh of applet each time user selects the dialog box for file selection.?
    Please do help in solving the issue
    Thanks

    Hi
    i would start of by searching the forums "refresh applet". This question has been answered many times.
    HTH

  • Applet Refresh Problem

    I have an applet running within a web page. It has various swing components within it. All are working perfectly except one swing component.
    When I hit the refresh button all the JLabels on my JToolBar are replicated one line below the original label. The only way I see around this problem is to close the browser and re-open it.
    Is there a bug in Java. Or is there somthing I should know??
    As far as I am aware the refresh button causes the applet to reload right? I know by holding down CTRL as I refresh (in IE) is a way round but this is not a practical solution...
    Any ideas?
    Andrew.

    I am using this HTML content and able to reload the applet successfully in Internet Explorer by just opening java console and type a key 'x' which says jvm to reload the class, but don't forget to include param cache with value false.
    I think this address many cache issues of dev's
    <html>
    <body>
    <applet  CODE = "HelloWorld.class" WIDTH = "100" HEIGHT = "100">
         <PARAM NAME="cache" value="false">
    </applet>
    </body>
    </html>Message was edited by: Venkateswara Rao Desu
    [email protected]

  • Swing applet refresh problem in JRE1.6

    Now , i met a problean in java swing project which troubled me for a long time, that i want to ask for some suggestions, I really very very thank you.
    The problean is :
    we use the swing in the applet , and run it with JRE 1.6, we find that the interface often disappear and appears blank when refresh the page , but when we use the mouse to over the control which in the interface ,then this control will appear . Then we try to reduce some not used codes/packets in this project , then we find that this phenomenon will appear less often.
    This defect will not appear in JRE 1.4 and JRE 1.5. And also it will not appear when just run it as a desktop program.
    I don't know if it is a bug in JRE 1.6 or it is due to our program. Can you give me some suggestions ? Thank you!
    More information like following document :
    =================================================================================================
    2, Problem happen condition :
         Applet with swing;
         Run in JRE1.6 environment;
         Open or refresh the applet web page;
         IE, Netscape, Mozilla , almost all explorers.
    3, Problean describe :
         Open the Start.html page and click the �Pre-Provisioning Tool� button to open the PPT.html page. There is a configuration applet which uses swing in the PPT page. When we open or refresh this page , the applet often disappear and show blank. And when we move the mouse over the position of the control which in the applet , these controls then will appear again. But if we use the buttons which in the applet to open and back to the applet tab page, it will not show blank.
         At last we find that this problem is a very common problem when run applet in JRE1.6. It may happen whenever you run the applet which uses swing controls in JRE1.6.
         And I find that we use �Ctrl + Alt + Del� to lock the computer and then login in again when the page is blank, then the page will turn ok and the applet will appear.
         This prolem just happen in JRE1.6 environment . If in JRE1.4 or 1.5 it performes good.
    4, What cause this issue :
         Until now , we have no successful and perfect solution to solve this problem completely. And we still don�t know the real reasons that causes this issue.. We find that there are some people in internet also met this issue and has no solution.
         But we can give some options to try to find the real reasons. And we also have been try some time :
    It may a bug for JRE1.6. We can sure that it is not a bug for explorers, because it happens the same in all explorers. If it�s a JRE bug , I think we can only to waite the newer version JRE to solve this issue.
    It due to our program. If this is true, I think we may modify the program to solve this sssue. But I�m afraid that it may need us to modify too much.
    5, What works we have been try :
    5.2 For our program : We try such ways :
         1) If the project too big and too much to download : We remove the not needed modules that in TCOTool project. .
         Result : This problem happened less often
         2) If some methods are not compatible between JRE 1.4/1.5 and JRE1.6 : I try to modify these method to fit JRE1.6 and compile the project by jDK1.6. (Methed such as show() to setVisible(true), hidden() to setVisible(false) )
         result : This problem happened less often but it�s also will happen.
         3) If operator too much when open PPT/SUT : such as load xml file too much times and so on.
    6, About our project :
    6.1 The applet web page :
    <OBJECT
    classid = "clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
    codebase = "application/x-java-applet;version=1.6"
    width="860" height="640">
    <PARAM NAME = CODE VALUE = "com.installApplet" >
    <PARAM NAME = CODEBASE VALUE = "./jar/" >
    <PARAM NAME = ARCHIVE VALUE = "TCOTools.jar" >
    <PARAM NAME = MAYSCRIPT VALUE = true >
    <PARAM NAME = "type" VALUE = "application/x-java-applet;version=1.6">
    <PARAM NAME = "scriptable" VALUE = "false">
    <PARAM NAME = "java.security.manager" VALUE>
    <PARAM NAME = "java.security.policy" VALUE="java.policy" />
    <PARAM NAME = "func" VALUE="1" />
    <COMMENT>
         <EMBED
    type = "application/x-java-applet;version=1.6" \
    CODE = "com.installApplet" \
    JAVA_CODEBASE = "./jar/" \
    ARCHIVE = "TCOTools.jar" \
    WIDTH = "100px" height="30px" \
    MAYSCRIPT = true \
    java.security.manager = \
    java.security.policy ="java.policy" / \
    func="1" \
         scriptable = false \
         pluginspage = "application/x-java-applet;version=1.6">
         <NOEMBED>
    </NOEMBED>
         </EMBED>
    </COMMENT>
    </OBJECT>
    6.2 The TCOTools.jar is almost 15Mb totally. So it need sometime to download this file. But we just test it in local.
    =======================================================================================================
    Welcome you to send mail to [email protected]

    I will start by stating that I really have no idea what the problem could be. I will add to that by stating that I am going way out on a limb here.
    That said - have you checked all your browser settings, cleared your cache and all the other things one usually does when an Applet acts quirky?
    Also, have you tried the Applet tag instead of Object just for a test?
    Sorry I can't do better than that, but w/o seeing the code, it's going to be difficult for anyone to help I think unless they have had a similar problem.

  • Applet refreshing problem

    Hi all,
    I have one jar and 2 HTML files which are referring to this jar.
    I opened Internet Explorer 6.0 and used first HTML. Jar got invoked successfully. Then closed application which I opened using Jar and
    tried to invoke second HTML which refers to same jar. My IE got hanged.
    I am not able to invoke my application.
    Can anybosy tell me what is the solution for this?

    Hi All
    Problem solved.
    Moved all code from init() to paint().
    Thanks
    Mandan

  • Animated gif and page refresh problem

    Animated gif and page refresh problem
    Hi There,
    I'm trying to build a simple "Please wait......" screen using jsp and javascript.
    So far all is going well except that my animatate gif keeps refreshing everything the page is refresh.
    Is there a way the i can prevent the body of the page from refreshing?
    below is my sample code:
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <jsp:useBean id="StatusBean" class="com1.CandidateRelease" scope="session"/>
    <html>
    <script LANGUAGE="JavaScript">
    function refresh()
    <% if (StatusBean.isRunning()) { %>     
         //setTimeout("refresh()", 1000);
         setTimeout("location='status.jsf'", 1000);
    <% }else{%>
         window.location= "busStopAdmin.jsf";
    <%} %>
    </script>
    <head>
         <script LANGUAGE="JavaScript">     
              refresh();
         </script>     
    </head>
    <body>
         <img id="myImage" src="../img/ojp_wait.gif" alt="" width="151" height="36">
    </body>
    </html>

    Animated gif and page refresh problem
    Hi There,
    I'm trying to build a simple "Please wait......" screen using jsp and javascript.
    So far all is going well except that my animatate gif keeps refreshing everything the page is refresh.
    Is there a way the i can prevent the body of the page from refreshing?
    below is my sample code:
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <jsp:useBean id="StatusBean" class="com1.CandidateRelease" scope="session"/>
    <html>
    <script LANGUAGE="JavaScript">
    function refresh()
    <% if (StatusBean.isRunning()) { %>     
         //setTimeout("refresh()", 1000);
         setTimeout("location='status.jsf'", 1000);
    <% }else{%>
         window.location= "busStopAdmin.jsf";
    <%} %>
    </script>
    <head>
         <script LANGUAGE="JavaScript">     
              refresh();
         </script>     
    </head>
    <body>
         <img id="myImage" src="../img/ojp_wait.gif" alt="" width="151" height="36">
    </body>
    </html>

  • Smartview 11.1.2.1.102 Refresh problems

    I have multiple users experiencing severe refresh problems after upgrading to smartview version 11.1.2.1.102.
    Users state Refresh is taking 10-15mins+ when in old version 9x it only takes 1-2mins. In addition users have rebuilt the excel files (copy in new workbook) then all is working fine but when saved/the next day the refresh goes very slow again!
    Please can any help?

    1. Deleting the Sheet Info fixes the problem for the moment - but the problem soon returns. Do you know what causes the problem, so we can cut the repeating cycle? Is this strictly a multi-user issue? We do have several users that may use the file. Some have version 11.1.2.1.000 (not 103). Oracle's tips doc (http://www.oracle.com/technetwork/middleware/bi-foundation/epm-tips-issues-73-102-1612164.pdf) mentions uncompressed metadata stored in the worksheet.
    2. Is there a specific version that allows the Sheet Info fix? Oracle's tip sheet says they need Some have version 11.1.2.1.103, but the users we have seen so far can use this workaround on Some have version 11.1.2.1.000. I'd like to know when at what version this fix starts so I can push other users to update. It would be good to know at which version this issue starts.
    Thank you - great information in the thread!
    P.S. for reference:
    From http://www.oracle.com/technetwork/middleware/bi-foundation/epm-tips-issues-73-102-1612164.pdf
    In EPM System Release 11.1.2.1, I am opening .xls files with Smart View functions in Excel 2010, but it’s very slow or seems to freeze Excel. How can I fix this?
    This is most likely due to an issue with uncompressed metadata stored in the workbook. In most cases, the issue can be found in the first sheet in hidden shapes. Note that the file will open but it may take a very long time, and in some cases the file will open fine with Smart View disabled. In other cases it will not matter. To solve this problem, save a copy of the file and follow the steps below for the version of Smart View you have.
    If you are using Smart View 11.1.2.1.103 or above, follow these steps:
    1 Open the file (this may take a while) with Smart View enabled.
    2 From the Smart View Ribbon, select Sheet Info.
    3 Select Delete Smart View Info.
    4 Select Workbook and all Sheet Info.
    174 Miscellaneous and Product-Specific Tips
    5 Click OK.
    6 Save the modified workbook.
    7 Reopen the workbook.
    If you are not using Smart View 11.1.2.1.103 or above, follow these steps:
    1 Open the file (this may take a while).
    2 Right-click on the tab of the first worksheet and select Select All Sheets.
    3 Right-click on the tab of the first worksheet and select Move or Copy.
    4 In the drop-down box, select (new book) and check Create a Copy.
    5 Save the workbook.
    6 Open the new workbook.
    7 Refresh the data.

  • Screen refresh problem where data is entered and the screen doesn't refresh

    Many people in the company are experiencing the odd screen refresh problem where data is entered and the screen doesn't refresh to show the updated result in corresponding cell formulas.
    Microsoft have issued a hotfix to fix the issue for Excel 2003 as shown. Microsoft released a hotfix for this problem (<a href="advisory?ID=978908">KB978908</a>). Display memory tends to pick up data from hidden sheets and pastes it
    into the active screen. No impact on the file. This occurs when protecting and unprotecting worksheets in VBA. I also suspect that enabling and disabling screen refresh contributes to this problem. In any case there is a fix, albeit with the following disclaimer:
    As of yet I have not been able to find a fix for this for office 2010 and 2013, Any suggestions would be great.

    Hi,
    Based on your description, Excel does not show the text strings when you typing. It may be caused by the cell format, if we set the cell format as ";;;" in custom format, it will not display the text that you typed. 
    And the issue may be caused by the third-party input method, there are some compatibility issue between them.
    If the issue still exits, please try the following methods
    Verify/install the latest updates
    Repair your Office program
    Regards,
    George Zhao
    TechNet Community Support

  • Container (JPanel) refresh problem

    Hello,
    In fact i have a panel (mainPanel) with a button OK, a another panel which display a specific MyJTable and combo box.
    In fact, when I clic OK Button, i want to charge my MyJTable with data depends on comboBox.
    First, i display a empty white panel and when i clic Ok i want to display my MyJTable.
    JPanel mainPanel = new JPanel();
    JPanel emptyPanel = new JPanel();
    JPanel combo = new JComboBox();
    JButton okButton = new JButton();
    MyJTable myJTable;
    mainPanel.add(emptyPanel);
    mainPanel.add(combo);
    mainPanel.add(okButton);I have a refresh problem, i try mainPanel.remove(emptyPanel) and thus mainPanel.add(myJTable), the remove works but the add no :(
    In ActionPerformed method when okButton:
    myJTable = new myJTable(combo);
    mainPanel.remove(emptyPanel);
    mainPanel.add(myJTable);
    mainPanel.repaint();Thanks for yu help!!

    Hi,
    have you tried playing with
    mainPanel.revalidate();
    mainPanel.revalidate();??
    Might help
    Phil

  • Screen refresh problem with Windows 7

    Hello all,
    I've recently begun testing Oracle with Windows 7 on a new HP 2540p notebook computer. I've encountered a very strange issue so far. After logging into Oracle, and Windows switches to Windows Basic theme, I should be taken to the main Navigator screen. But instead, the screen is simply white. If I drag (or nudge) the title bar just a bit, the screen refreshes and I can see the menu items. Then if I click on something (or even use hotkeys - ALT+F to get the file menu, for example), I don't see anything happen. But if I move the window just a bit, the screen refreshes and I can see that it did actually take my input, it just didn't re-draw the screen. I'm wondering if this may be a graphics driver issue (I do have the latest driver for the Intel Graphics Media Accelerator HD adapter), or if someone could point me toward a resolution to this problem. Any help is much appreciated.

    Dear All,
    Same problem of REFRESH PROBLEM also faced by but only a single and specific Windows 7 client.
    if you have resolved the issue , so please share with us.
    Thanks
    Eidy

  • Datagrid refresh problem?

    fileListArray.refresh();
    dg_curtainmanager.invalidateList();
    dg_curtainmanager.invalidateDisplayList();
    <mx:DataGrid id="dg_curtainmanager" showHeaders="true"  editable="true"  includeInLayout="false" dataProvider="{fileListArray}"  creationComplete=""  variableRowHeight="true"   wordWrap="true"  rowCount="{fileListArray.length}"  width="100%"  >
    <mx:DataGridColumn  headerText="Parent Folder"  sortable="true"  editable="false"   width="250" minWidth="65" wordWrap="true" >
                            <mx:itemRenderer>
                                <fx:Component>
                                    <mx:HBox width="100%"
                                             horizontalAlign="left" verticalAlign="middle">
                              <mx:Image source="@Embed(source='images/edit_16.gif')"  toolTip="Select Starting Folder" buttonMode="true" click="outerDocument.parentfolderimagclick()" />
                                        <mx:Label text="{data.document_folder_name}" color="black" />   
                                    </mx:HBox>
                                </fx:Component>
                            </mx:itemRenderer>
                            </mx:DataGridColumn>
    </mx:DataGrid>

    @welcomecan,
    What refresh problem you are facing.. in DataGrid? When you change your DataProvider for your grid the values are not being changed or somethingelse..??
    Please always be clear in explaining your problem in order to get it resolved..
    Thanks,
    Bhasker

  • Applet socket problem in client-server, urgent!

    Dear All:
    I have implemented a client server teamwork environment. I have managered to get the server running fine. The server is responsible for passing messages between clients and accessing Oracle database using JDBC. The client is a Java Applet. The code is like the following. The problem is when I try to register the client, the socket connection get java.security.AccessControlException: access denied(java.net.SocketPermission mugca.its.monash.edu.
    au resolve)
    However, I have written a Java application with the same socket connection method to connect to the same server, it connects to the server without any problem. Is it because of the applet security problem? How should I solve it? Very appreciate for any ideas.
    public class User extends java.applet.Applet implements ActionListener, ItemListener
    public void init()
    Authentication auth = new Authentication((Frame)anchorpoint);
    if(auth.getConnectionStreams() != null) {
    ConnectionStreams server_conn = auth.getConnectionStreams();
    // Authenticates the user and establishes a connection to the server
    class Authentication extends Dialog implements ActionListener, KeyListener {
    // Object holding information relevant to the server connection
    ConnectionStreams server_conn;
    final static int port = 6012;
    // Authenticates the user and establishes connection to the server
    public Authentication(Frame parent) {
    // call the class Dialog's constructor
    super(parent, "User Authentication", true);
    setLocation(parent.getSize().width/3, parent.getSize().height/2);
    setupDialog();
    // sets up the components of the dialog box
    private void setupDialog() {
    // create and set the layout manager
    //Create a username text field here
    //Create a password text field here
    //Create a OK button here
    public void actionPerformed(ActionEvent e) {
    authenticateUser();
    dispose();
    // returns the ConnectionStreams object
    public ConnectionStreams getConnectionStreams() {
    return(server_conn);
    // authenticates the user
    private void authenticateUser() {
    Socket socket;
    InetAddress address;
    try {
    // open socket to server
    System.out.println("Ready to connect to server on: " + port);
    socket = new Socket("mugca.its.monash.edu.au", port);
    address = socket.getInetAddress();
    System.out.println("The hostname,address,hostaddress,localhost is:" + address.getHostName() + ";\n" +
    address.getAddress() + ";\n" +
    address.getHostAddress() + ";\n" +
    address.getLocalHost());
    catch(Exception e) {
    displayMessage("Error occured. See console");
    System.err.println(e);
                                  e.printStackTrace();
    }

    Hi, there:
    Thanks for the help. But I don't have to configure the security policy. Instead, inspired by a message in this forum, I simply upload the applet to the HTTP server (mugca.its.monash.edu.au) where my won server is running. Then the applet is download from the server and running fine in my local machine.
    Dengsheng

  • Forms Refresh Problem on The Web??

    i have a form coded in 6i. in this form i have around 20 buttons one below another and each of the button has a stacked view associated with it. whenever i click on a button i am opening the relative stacked view on th content canvas and repositioning the rest of the bottons and views by moving them down.
    Now the problem is it works fine in client-server, but when i run it on the web, when i try to open any of the buttons the screen scrolls automatically to the top. I also noticed that if i wait for a few seconds(or sometimes minutes) the form takes me to the correct position. i think there is some refresh problem. i tried Syncronize also but to no use.
    i would appreciate If someone can help me out on this ASAP. (thanks for the patience in reading this long mail!!)

    Try to instal the latest version of Jinitiator. I have similar problems, but my case is not so bad. Jinitiator develops very quickly and as i have heard it works now fine.

  • G5 quad gf6600 refresh problems

    I have refresh problems (never had it with 2.5 bipro)
    in photoshop the layers do weird things and leaves traces.
    in lightwave if i select a point op poligon, nothing seems to happen, only when i resize the view it refreshes.
    lightwave is freshly installed, ph is a port from the old mac

    upgraded programs

Maybe you are looking for

  • Final Cut Pro 5 on Snow Leopard

    Hello, I'm really not sure if this has been answered by others, but so far, everywhere I look I'm either not seeing the answer I want, or it's a different platform. I have a MacBook (Aluminum, Late 2008) Model. It originally came with 10.5 (Leopard).

  • Can I encrypt a string with RSA encryption using DBMS_CRYPTO?

    We have an web application that does a redirect thru a database package to a 3rd party site. They would like us to encrypt the querystring that is passed using RSA encryption. The example that they've given us (below) uses the RSA cryptographic servi

  • Retrieving absence quota data from payroll

    Hi, is there a way of fetching ABWKONTI data from payroll schema without using wages in the ZL table? I need to access infty 2006 from payroll schema. Thanks Tom I

  • Can I add multiple birthdays?

    I'd like to add more than one birthday on a few of my address cards, so I can add them to a birthday calendar. I'd like to because many of my friends are married couple with kids, and I don't want to have a separate address card for each person just

  • Linux Installation

    I have RedHat Linus Fedora Core 4. I 'm trying to install Oracle 9i. I downloaded the 3 files from the site. I did gunzip and cpio them. now they are in 3 directories DISK1, DISK2 and DISK3. From the File Browser, when i click on the file runinstalle