Problem on Applet - Reloading with eixsting Components

Hi All,
I have developed one application for chatting purpose.. I have embeted with JSP. that application contains Login/logout based.. suppose if i try to login two windows in sample browser am getting previouse window applet components with current applet window.
plz give me some tips..
Thanks and regards

hi
Actually in my application it has 3 buttons.. if am try to login in same application in same browser. it will show 3x2 = 6 buttons.. how to remove the existing components.. am using single tone pattern..

Similar Messages

  • Problems with Logical Components

    Hi All,
    I am having problems with Logical Components with our project. We are implemeents SAP HCM and we have defined a logical component Z_ERP for the ECC server. now when you look at the transaction from SOLAR02 it seems they also have a logical Component SAP Learning Solution that is assigned to them. what could be the cause of this???

    Hi Trevor,
    If you brought them in from the Business Process Repository, the logical component is going to be the default one. If you want to use your own, you need to replace the default one with yours.
    You can do this in SOLAR_PROJECT_ADMIN by going to the System Landscape tab > Systems tab > highlight the SAP Learning Solution logical component row > press F4 > replace it with Z_ERP.
    If for some reason SAP Learning Solution isn't listed as a logical component you may have to add it, you can also just go to SOLAR02 > Edit > Replace Log. Comp > Enter SAP Learning Solution in the top box and Z_ERP in the bottom one > click Save.
    regards,
    Jason

  • Problem downloading applet in W2K with SP4.

    Hi,
    We are using a Security Applet in our web application for validation purposes. We were using W2K Professional / W2K Server with SP3 and Sun JRE 1.3.x. The application was working as expected.
    We are now testing with W2K Server with SP4 (to upgrade to SP4). The current testing environment is W2K Server with SP4 and Sun JRE1.3.x. Now with the setup, we are facing a problem in downloading the applet (Security Applet). The downloading applet fails and the subsequent loading as well.
    Please advice. Does it requires any particular settings to be done at Client?
    The specs are
    Windows 2000 Server, SP4
    IE 6 SP1
    Sun Jre 1.3.x
    Problem:Downloading applet fails.
    PS: When we test with SP3, we can see the applet downloaded (CAB File), with SP4 it was not found.
    Thanks in Advance,
    Prakash

    Does the w2k sp4 server host your pages and applet?
    If yes then why install the SUN JRE 1.3 on the server, doesn't the client need this?
    Is the cab format supported by SUN jre or is it meant for msjvm and if so why is the client trying to open
    the cab with sun jre?
    http://java.sun.com/j2se/1.4.2/docs/guide/deployment/deployment-guide/upgrade-guide/article-02.html
    What's on the server doesn't have anything to do with the applet. The server is
    just serving it. Forcing the client/consumer of the html page with the applet is trying to open an applet
    with sun jre while the applet is ment for msjvm causes the error.
    The client can fix this by opening IE and check under tools -> internet options -> advanced -> UNCHECK
    the use sun jre ... for <applet tag. For the XP machine you might have a problem. Some of the don't have
    the msjvm at all so there is nothing to run the <applet, I tried to download it at microsoft but was unable
    to find it.

  • Not getting swing components when the applet reloads

    I am facing one problem that is related to reloading of swing components. I Have a JPanel inside JApplet which contains some swing components and a button to launch the same JPanel again in the JApplet. When I click on the button the JPanel should get added in the JApplet once again below the upper JPanel. But new JPanel is not getting displayed although the reference of the new JPanel is created.

    My guess is that you haven't added your swing components to the right place. Are you adding them to the contentpane?

  • Applet with JFC Components

    Hello
    i have created an applet which contain Swing Components. But when i run the applet in browser it gives the mesaage class not found, plz tell me do i need to do some special setting for enaling such applets
    Regards

    You need to include the Swing classes in a jar file, but that will take some time to download when the browser is loading your applet. Netscape 6, and the latest version of Opera has support for Java 2. You can use the Java Plug-in to enable your browser for Swing.
    Right now your problem is that your are using classes that the different browsers do not support.
    //Anders ;-D

  • Problem in Applet while communicating with Javascript

    Hi,
    I’m facing a problem with applet. Applet calls JavaScript methods and vice versa. Applet works fine with JRE 5 to JRE 6 up to build no 1.6.0._7 but it fails with build no 1.6.0_10.
    The problem description is given below:
    After embedding applet in my HTML page using <OBJECT> tag, I’ve to check either any problem during applet’s execution, I want to get the error reason by calling my defined method getErrorReason() in applet that returns the error reason, I call the getErrorReason() against the applet’s object in JavaScript immediately after embed applet code in my HTML page, a JavaScript errors occurs and my applet fails to perform its execution.
    JavaScript error: Object does not support this property.
    The error points to the HTML page area where I’m calling getErrorReason() against applet object.
    The above JavaScript error occurs after the successful completion of Applet’s init(). I’m facing this problem only in JRE 6 build 1.6.0_10-b33.
    Please suggest me any solution.
    Thanks in advance.
    Regards,
    Israr Ahmed

    Hi Bharath,
    Even i got similar error and i tried deleting the below(Attaching the stack trace is always better way.)
    1) delete the folder ‘workspace’ or rename(including all files and subfolders) in the path D:\Documents and Settings\lzcr8r\Documents\SAP\workspace
    2) delete all .dtr/.dtc/.metadata directories in your personal folder (e.g. C:\Documents and Settings\lzcr8r).
    Restart the IDE once you are done with the above steps.
    Second part to increase the virtual mem
    1) RtClick on the Shortcut of NWDS -->Properties and in the Target put the below
    "C:\Program Files\SAP\IDE\IDE70\eclipse\SapIde.exe" -vmargs -Xms512m -Xmx1536m  "C:\j2sdk1.4.2_08\bin\javaw.exe"
    2) You can also try  Creating a bat file with the complete path of your IDE and start your ide from the bat
       content in the bat eg: "C:\Program Files\netbeans-4.1\bin\netbeans.exe" -vmargs -Xms512m -Xmx1536m
    Here -Xms512m is the min JVM size and -Xmx1024m is the max JVM size.
    You can place this batch file anywhere and double click the batch file.
    It will automatically start your IDE
    3) if you are using Tomcat you can try creating an env variable and assign Value
    Variable Name:  CATALINA_OPTS
    Variable Value:  -server -Xmx800m
    please award points if usefull.
    Regards
    Souza
    Edited by: Souza Aluri on Apr 9, 2008 9:46 AM

  • Problem loading Applets from Jar files on 64 bit machine

    I am developing an applet (extends Applet but uses swing components) using JDK 1.6 (Though these problems still happen in JDK 1.7) and I am unable to get the applet to load on a 64 bit machine in most cases. The web server(s) are running on localhost and I am connecting on the same machine using a local network ip address (such as 192.168.*.*)
    Below are all of my test results. Can someone provide a suggestion for repairing this? The Windows Server machine is a clients computer I access to it via remote desktop but I can't do much with it though I do have administrator rights. The Windows 7 machine is my development platform so I have been able to do extensive testing on it.
    This problem is presenting in the following environments when trying to load an applet from JAR files in a HTML document using the Applet or Object tag.
    Windows Server 2008 (Intel Chipset)
    Tested Browsers:
    Internet Explorer 9 (32 bit) - Shows it is blocked by default then simply shows an x when loaded from a web page, same result when loading from local drive.
    Windows 7 Home Premium (AMD Chipset)
    Tested Browsers:
    Firefox 6.0.1 (32 bit) - Java logo shows with spinner, after a few minutes there is finally an error that a class in the jar was not found
    Internet Explorer 9 (32 bit) - Java logo shows with spinner, after a few minutes there is finally an error that a class in the jar was not found
    Internet Explorer 9 (64 bit) - Java logo shows with spinner and most of the windows desktop manager freezes, keyboard is the only thing that responds so you can alt-tab to another app to regain control of the desktop.
    Chrome (32 bit) - Java logo shows with spinner, after a few minutes there is finally an error that a class in the jar was not found
    The only way I have been able to get a Java applet to run on a 64 bit machine are the following ways.
    Firefox 9 nightly (64 bit) works perfectly! Go Firefox!
    Internet Explorer 9 (32 bit) loading directly from drive (c:\...)
    Chrome (32 bit) loading directly from drive (c:\...)
    Firefox 6.0.1 (32 bit) loading directly from drive (c:\....)
    Can someone please help! I've been fighting with this bug for over a week and I can't find anything that will solve it, I have noticed that in some cases if my jar has very little code in it than it will run on the server, but the minute I start adding things to it the jar won't load anymore.

    jschell wrote:
    rritoch wrote:
    I am developing an applet (extends Applet but uses swing components) using JDK 1.6 (Though these problems still happen in JDK 1.7) and I am unable to get the applet to load on a 64 bit machine in most cases.
    To clarify...
    1. You have tried it on 32 bit machine? Exactly which OS?I tested this on Windows Vista Business which is in 32 bit mode and the applets run without any problems
    >
    2. Your only 64 bit tests have involved 2008/Win7?
    If so then I would suspect something with windows not java. Probably permissions.
    The web server(s) are running on localhost and I am connecting on the same machine using a local network ip address (such as 192.168.*.*)
    Yes, I haven't tried running the jars on other operating systems.
    >
    I don't understand that. If you are running on localhost then you should connect to localhost. If running on an IP then you should connect to that. Perhaps you meant that you have tested using both of those?I'm testing using the lan ip address but I'm connecting from the same machine. I've tried localhost and that didn't work so I tried lan ip since that will likely have a different java security context than localhost. At first I was blaming the IIS server but I downloaded the jar directly and using HTTP fox was able to verify that the jar is being sent with the correct mime-type and that the server can upload the jar file without a problem. This leaves me to believe the problem is with Java.

  • Applet refresh with MS-VM in IE fails

    Hi,
    sorry, but I'm a real NEWBIE in java...
    My problem is:
    I use a simple freeware barchart applet on our website
    and when first opened it works fine with IE5.5 or 6 (Microsoft VM!).
    After a reload just a small part of the applet will
    be rebuilt. No error is printed out in the Java Debug Console. With the jre 1.4 used in the IE theres no
    problem!
    Has anybody an idea how to make my applet "compatible" with the MS-VM??
    Thanks in advance,
    Dirk

    Hi,
    thanks for your answer!
    Here's the code of the bar chart applet.
    I've also written a little html-testpage and SURPRISE, after running the html-File locally the Applet works in IE (with MS VM) after Refresh!
    No, I'm really confused :-(
    Any idea?
    Dirk
    the java-source:
    import java.applet.Applet;
    import java.applet.AppletContext;
    import java.awt.*;
    import java.awt.event.MouseEvent;
    import java.awt.event.MouseListener;
    import java.net.MalformedURLException;
    import java.net.URL;
    public class BarChartDK extends Applet
    implements MouseListener {
    private int i;
    private int AnzSaeulen;
    private int Breite;
    private int Hoehe;
    private int Hoehe_diagramm;
    private int Breite_diagramm;
    private int AktKomPos1;
    private int AktKomPos2;
    private int j;
    private int KomPos1;
    private int KomPos2;
    private int P_Rand;
    private int P_Breite;
    private int P_Hoehe;
    private int P_X;
    private int P_Y;
    private int AbsS�ulenBreite;
    private int Max_Farbe;
    private int y_VersatzBeschr;
    private int MaxWert;
    private int AktWert;
    private int MaxSaeulenHoehe;
    private int AktFarbIndex;
    private int Bod1x;
    private int Bod2x;
    private int Bod3x;
    private int Bod4x;
    private int Bod5x;
    private int Bod6x;
    private int Bod7x;
    private int Bod1y;
    private int Bod2y;
    private int Bod3y;
    private int Bod4y;
    private int Bod5y;
    private int Bod6y;
    private int Bod7y;
    private Color SaeulenFarbe;
    private Color Akt_Farbe;
    private Color Farbe[];
    private Color HGFarbe[];
    private Color BeschrFarbe;
    private int Rand[];
    //private int Horny[];
    private String Numbers;
    private String Legend;
    private String myLink;
    private String AktWertStr1;
    private String AktWertStr2;
    private URL myURL;
    private boolean BeschrJN;
    private boolean Mouse;
         public void start() {
    Farbe = new Color[13];
    Farbe[1] = str2col("CCFFFF");
    Farbe[2] = str2col("66FFFF");
    Farbe[3] = str2col("00FFFF");
    Farbe[4] = str2col("CCFF00");
    Farbe[5] = str2col("66FF00");
    Farbe[6] = str2col("00FF00");
    Farbe[7] = str2col("CCFFCC");
    Farbe[8] = str2col("FFFF66");
    Farbe[9] = str2col("FFFF00");
    Farbe[10] = str2col("FFCC00");
    Farbe[11] = str2col("FF6600");
    Farbe[12] = str2col("FF0000");
    HGFarbe = new Color[4];
    HGFarbe[1] = Color.white;
    HGFarbe[2] = Color.gray;
    HGFarbe[3] = Color.black;
    Max_Farbe = DF("BGCOLOR", HGFarbe);
    Max_Farbe = 12;
    Max_Farbe = DF("COLOR", Farbe);
    Mouse = false;
    myLink = getParameter("LINK");
    if(myLink != null) {
    Mouse = true;
    BeschrJN = true;
    Legend = getParameter("HIDENUMBERS");
    if(Legend != null) {
    BeschrJN = false;
    Breite = getSize().width;
    Hoehe = getSize().height;
    Hoehe_diagramm = Hoehe - 50;
    Numbers = getParameter("NUMBERS");
    Legend = getParameter("LEGEND");
    if(Legend == null) {
    Legend = Numbers;
    AnzSaeulen = 0;
    MaxWert = 0;
    AktKomPos1 = 0;
    if(Numbers != null) {
    do
    KomPos1 = Numbers.indexOf(",", AktKomPos1);
    if(KomPos1 < 0) {
    break;
    AnzSaeulen = AnzSaeulen + 1;
    AktWertStr1 = Numbers.substring(AktKomPos1, KomPos1);
    try {
    AktWert = Integer.parseInt(AktWertStr1);
    catch(NumberFormatException numberformatexception) {
    AktWert = 0;
    if(AktWert > MaxWert) {
    MaxWert = AktWert;
    AktKomPos1 = KomPos1 + 1;
    while(KomPos1 > 0); {
    Rand = new int[AnzSaeulen + 1];
    //Horny = new int[AnzSaeulen + 1];
    private Color str2col(String s)
    int k = Integer.decode("0x" + s.substring(0, 2)).intValue();
    int l = Integer.decode("0x" + s.substring(2, 4)).intValue();
    int i1 = Integer.decode("0x" + s.substring(4, 6)).intValue();
    return new Color(k, l, i1);
    private int DF(String s, Color acolor[])
    Numbers = getParameter(s);
    if(Numbers != null)
    AktKomPos1 = 0;
    Max_Farbe = 0;
    do
    KomPos1 = Numbers.indexOf(",", AktKomPos1);
    if(KomPos1 < 0) {
    break;
    Max_Farbe = Max_Farbe + 1;
    if(Max_Farbe == acolor.length) {
    break;
    AktWertStr1 = Numbers.substring(AktKomPos1, KomPos1 + 1);
    acolor[Max_Farbe] = str2col(AktWertStr1);
    AktKomPos1 = KomPos1 + 1;
    while(KomPos1 > 0);
    return Max_Farbe;
    public void mousePressed(MouseEvent mouseevent)
    public void mouseReleased(MouseEvent mouseevent)
    public void mouseEntered(MouseEvent mouseevent)
    public void mouseExited(MouseEvent mouseevent)
    public void mouseClicked(MouseEvent mouseevent)
    int i1 = mouseevent.getX();
    int j1 = mouseevent.getY();
    if(Mouse)
    int l = 0;
    for(int k = 1; k <= AnzSaeulen; k++)
    if(i1 >= Rand[k] && i1 <= Rand[k] + AbsS�ulenBreite && Mouse){
    l = k;
    if(l > 0){
    NewURL(FrontFarbe(l));
    stop();
    start();
    public String FrontFarbe(int SaeulenNr)
    int index1=0;
         int index2;
         String AktuellFarbe = "";
         for(i=1;i<=SaeulenNr;i++) {
    index2=Legend.indexOf(",",index1);
    AktuellFarbe=Legend.substring(index1,index2);
    index1=index2+1;
         return AktuellFarbe;
    public void NewURL(String k)
    boolean flag = true;
    int l = myLink.indexOf("*");
    int i1 = myLink.length();
    if(l > -1){
    myLink = myLink.substring(0, l) + k + myLink.substring(l + 1, i1);
    try {
    myURL = new URL(getDocumentBase(), myLink);
    catch(MalformedURLException malformedurlexception) {
    showStatus("Malformed URL : " + malformedurlexception);
    flag = false;
    if(flag) {
    getAppletContext().showDocument(myURL, "_self");
    public void paint(Graphics g)
    setBackground(HGFarbe[1]);
    P_Rand = 50;
    Breite_diagramm = Breite - P_Rand - 20;
    AbsS�ulenBreite = Breite_diagramm / AnzSaeulen;
    MaxSaeulenHoehe = Hoehe_diagramm - 20;
    y_VersatzBeschr = 1;
    P_Breite = AbsS�ulenBreite - 10;
    P_Hoehe = 100;
    P_X = 10;
    P_Y = 10;
    if(P_Breite < P_X) {
    P_X = P_Breite;
    P_Y = P_Breite;
    g.setColor(HGFarbe[2]);
    for(i = 1; i < Hoehe_diagramm / 20; i++) {
    g.drawLine(40, i * 20, Breite_diagramm + 40, i * 20);
    g.drawLine(40, i * 20, 40 - P_X * 3, i * 20 + P_Y * 3);
    AktFarbIndex = 1;
    AktKomPos1 = 0;
    AktKomPos2 = 0;
    for(i = 1; i <= AnzSaeulen; i++) {
    KomPos1 = Numbers.indexOf(",", AktKomPos1);
    AktWertStr1 = Numbers.substring(AktKomPos1, KomPos1);
    try {
    P_Hoehe = Integer.parseInt(AktWertStr1, 10);
    catch(NumberFormatException numberformatexception) {
    P_Hoehe = 0;
    AktKomPos1 = KomPos1 + 1;
    P_Hoehe = (P_Hoehe * MaxSaeulenHoehe) / MaxWert;
    KomPos2 = Legend.indexOf(",", AktKomPos2);
    AktWertStr2 = Legend.substring(AktKomPos2, KomPos2);
    AktKomPos2 = KomPos2 + 1;
    SaeulenFarbe = Farbe[AktFarbIndex];
    g.setColor(SaeulenFarbe);
    Bod2x = P_Rand;
    Bod2y = Hoehe_diagramm - P_Hoehe;
    Bod3x = Bod2x + P_X;
    Bod3y = Bod2y - P_Y;
    Bod4x = Bod3x + P_Breite;
    Bod4y = Bod3y;
    Bod5x = Bod2x + P_Breite;
    Bod5y = Bod2y;
    Bod6x = Bod5x;
    Bod6y = Hoehe_diagramm;
    Bod7x = Bod4x;
    Bod7y = Hoehe_diagramm - P_Y;
    Rand[i] = P_Rand;
    //Horny[i] = Bod2y + P_Hoehe;
    g.fillRect(Bod2x, Bod2y, P_Breite, P_Hoehe);
    for(j = Bod2x; j <= Bod5x; j = j + 2){
    g.drawLine(j, Bod2y, j + P_X, Bod3y);
    g.setColor(SaeulenFarbe);
    Akt_Farbe = SaeulenFarbe.darker();
    g.setColor(Akt_Farbe);
    for(j = Bod5y; j < Bod6y; j++){
    g.drawLine(Bod5x, j, Bod4x, j - P_Y);
    g.drawLine(Bod7x, Bod7y, Bod6x, Bod6y);
    Akt_Farbe = SaeulenFarbe.darker();
    //g.setColor(Akt_Farbe);
    g.setColor(HGFarbe[3]);
    if(BeschrJN) {
    g.drawString(AktWertStr1, Bod2x+20, Bod2y - 10);
    g.drawString(AktWertStr2, Bod2x+15, Hoehe_diagramm + 10 + 10 * y_VersatzBeschr);
    P_Rand = P_Rand + AbsS�ulenBreite;
    AktFarbIndex = AktFarbIndex + 1;
    if(AktFarbIndex > Max_Farbe){
    AktFarbIndex = 1;
    //y_VersatzBeschr = y_VersatzBeschr + 1;
    //if(y_VersatzBeschr > 3) {
    // y_VersatzBeschr = 1;
    addMouseListener(this);
    and the html testpage:
    <HTML>
    <HEAD>
         <TITLE>
              BarChartDK - Java applet for bar chart
         </TITLE>
    </HEAD>
    <BODY TEXT="white" BGCOLOR="navy" LINK="#FFFF00" ALINK="#FFFF00" VLINK="#FFFF00">
         <H1>
              HTML-Page for bar chart Demo 
         </H1>
         <P>
         <CENTER>
              <applet code=BarChartDK.class name=BarChartDK width=700 height=350 VIEWASTEXT>
                   <param name=numbers value="26,9,9,8,7,6,5,4,4,3,">
                   <param name=legend value="L11,V10,S60,C54,R11,L13,G11,C17,1,D51,">
                   <param name=color value="EEEEEE,FFFFCC,">
                   <param name=bgcolor value="FFFFFF,FFFFFF,">
                   <param name=link value="test.htm?F=*">
              </applet>
              <P>
              <TABLE BORDER=0 CELLSPACING="5">
              <TR><TD>
                   param name=numbers value="26,9,9,8,7,6,5,4,4,3,"
              </TD></TR>
              <TR><TD>
                   param name=legend value="L11,V10,S60,C54,R11,L13,G11,C17,1,D51,"
              </TD></TR>
              <TR><TD>
                   param name=color value="EEEEEE,FFFFCC,"
              </TD></TR>
              <TR><TD>
                   param name=bgcolor value="FFFFFF,FFFFFF,"
              </TD></TR>
              <TR><TD>
                   param name=link value="test.htm?F=*"
              </TD></TR>
              </TABLE>
              <HR>
         </center>
    </BODY>
    </HTML>

  • Applet- Reload

    Applet->Reload result in closing of applet window... It calls....
    stop()->destory()->init()->start() . Still window is not displayed.
    Have i missed something ....
    Applet that i have created is the simplest of Applet with only print statemetns inside init(), start().......

    Hello Roger,
    thanks for your answers. I was talking about FF3 and the java sun 1.6 that
    came with ubuntu 8.04, and iirc fedora. But also epiphany under ubuntu 8.04
    and fedora with FF3 (current version, already removed it again) have troubles.
    Meanwhile I tried the new OpenJDK version and this one does not have the
    reload-problem. I noticed that combinations of FF2/Solaris FF2/Linux FF2+3/Win
    have no problems at all (all running some 1.6 versions).
    Thanks also for telling me about the 6u10 release, I realy wasn't aware of it. But
    my problem is not to make an applet working for myself. I want to develop an
    applet for others, I want to make it work with any version of java - and what I
    want is not so special, just 2 textareas and a bunch of buttons, reliable operational.
    So I will not try the 6u10 for now because even if it would work it wouldn't
    help me.
    Applets dying because of a page reload is - as I think - a horrible bug and I
    don't understand why such bug reports are a week later still marked as
    "unconfirmed" or "new". But I'm talking about mozilla bugs, so I'm probably
    at the wrong place for complaining about that.
    Another thing is that, for instance, opera on ubuntu 8.04 running the sun java
    1.6 has another kind of problems with reloads, the applet looses the focus
    on reload, one must focus another non-opera window and than focus back to
    the opera window in order to give the input focus to the applet.
    All that is very annoying if you just want to develop a little simple applet for anyone.
    Best,
    Leander
    ps.
    Btw, all browsers like FF2+3/IE6+7/Safari/Opera and the sun java 1.6 work perfectly
    under windows :-/ so problems with three popular browsers running under one of the most
    popular distributions lets me think that there is something wrong with the java support
    under linux.
    pps.
    why is there still no 64bit browser plugin?

  • Hacker problems so I reloaded Snow Leopard. Afterwards, Mac had to delete 798 items. Now looping on 4 items to delete for the past 2 weeks. Can't reboot, reload, or restart. I have to let the battery run down for it to turn off. How to fix this, please?

    I had hacker problems so I reloaded Snow Leopard. Afterwards, Mac had to delete 798 items. Now it is looping on 4 items to delete for the past 2 weeks. I can't reboot, reload, or restart. I have to let the battery run down for it to turn off. I think a big part of the problem is that someon one the internet (the hacker) was mirroring my hard drive. It seems to have locked up my system. I could be wrong about this guess, though. All I do know is that it is now looping on the last 4 iems, and I can't do anything.
    Well, I can get it to turn on, but all it does is continously try to delete the last 4 items. When I try to reload Snow Leopard, it tells me my hard drive is full and that I need to delete items.
    Can anyone help? I am so lost without my Mac. I am back on the PC, and though it works, I'm sure many of you will understand when I say it's just not a Mac.
    Thanks.

    I installed Snow Leopard using my Apple external Superdrive. I followed directions I found on the Apple site. Here is the article info:  Mac OS X v10.6 Snow Leopard: How to Erase and Install  
                     Article HT3910
                     located at: http://support.apple.com/kb/HT3910
    Everything was going smoothly until I got to the reinstall part. I had to choose to reinstall on a hard drive or network drive. I've never used a network drive; just the hard drive. It seems that's where the troubles began. I selected the hard drive. It seemed to go well, and then I got the message that I needed to delete some files because I was out of space. I chose to get rid of my music files, but, there were only 636. I don't know what the rest of the files were. I was using the Secure Empty Trash command.
    That was my first time doing an erase and install. I tried to do it again, but I now get a continuous error telling me that my hard drive is full and I must delete files. Only I can't delete files because 4 files are still being deleted and my computer won't let me stop the process.
    I found out about the hackers mostly by the fact that whenever I used to watch something like Hulu or Netflix, I never had problems with internet connection or speed. Lately, I had internet connection problems. I went in to check my settings for my internet provider and found out the settings had been changed to public and all these extra computers were connected to my network.

  • Problem in establishing connection with mysql 5.0

    Hi,
    I am using JCAPS 5.1. I tried to insert data to mysql database table.
    But i got following error
    java.sql.SQLException: Error in allocating a connection. Cause:
    Physical Connection doesn't exist.
    My intention is to read file in which data are comma seperated and to
    populate those values to a mysql 5.0 database table.
    Sample DATA in file [test.txt]
    111,gg,23,MFG
    112,hh,24,MFG
    113,ii,25,RETAIL
    114,jj,26,IT
    Database table: employee
    eno,ename,eage,edept
    While creating JDBC OTD there is no problem in establishing connection with database. But after deploying i got above error.
    I have used Mysql 5.0 Connector/J JDBC driver. Added JDBC driver jar files to following directories as required.
    1) C:\JavaCAPS51\logicalhost\is\lib
    2)C:\JavaCAPS51\logicalhost\is\domains\test\lib
    Steps i have followed as per JDBC-ODBC -eway user guide doc.
    1) Created USerDefined OTD and added necessary fields
    2) Created JDBC OTD.
    3) Created JAVA collaboration and do business process for inserting
    4) Mapped all components by creating in Connectivity MAp
    5) created necessary external systems in envrionment explorer.[JDBC External System and File External System]
    6)Created Deployment profile
    5) Deployed it.
    After deploying it gives error as
    java.sql.SQLException: Error in allocating a connection. Cause: Physical Connection doesn't exist
    Please let me know the solution for problem.
    Message was edited by:
    VenkateshSampoornam

    In the environment definition,
    -> External Application JDBC
    -> Properties
    -> Outbound JDBC Connection
    You have the database URL in the "DriverProperties" field
    Valid URL would be : jdbc:mysql://localhost:3306/caps
    !! The doc says that this field is optional !! Seems to be an error in the doc:
    Hope this helps
    Seb

  • MacBook 2006 w/Snow Leopard; HP B210 printer; print problem; error message: One or more components of the HP printing software are corrupted or missing. Reinstalled software but Mac will not cause printer to print.

    ? MacBook 2006 w/Snow Leopard; HP B210 printer; print problem; error message: "One or more components of the HP printing software are corrupted or missing..." Reinstalled software but Mac will not cause printer to print.  My MacBook Pro works fine with same wireless printer.

    Hi ArielAce , thanks for getting back to me!
    I would recommend downloading and running the HP Print and Scan Doctor.
    Please keep me posted!
    Please click “Accept as Solution " if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks" for helping!
    Jamieson
    I work on behalf of HP
    "Remember, I'm pulling for you, we're all in this together!" - Red Green.

  • How to cause a form to reload with a newly created record?

    I hope this is easy and I'm just missing it.
    I have a form based on a table (a "parent" table.). The parent table uses a trigger to generate the PK.
    When a new parent record is created with the form, I want the page to reload with the newly created record still in the form. Then some conditional regions based upon child-tables would appear, with options to populate the detail records.
    My problem is simple: how can I access the value of the primary key of the newly created record once it is submitted to the database, so I can use it to reload that record into the form?
    Thanks very much for your help!

    John - The DML process (Automatic Row Processing) has a Return Key Into Item option. That's what you need.
    Scott

  • Problem calling applet method using IE

    I've searched through the forum and can't seem to find anything that can help me fix this. I'm trying to call an applet's method using Javascript. This is working fine under Netscape, but not IE. Everything I've read seems to indicate that I'm doing this right, but I'm getting "Object doesn't support this property or method" when I try to call the applet method from IE.
    In this example method, I'm trying to call the applet's countChars method, which should return the length of the string you pass into it. Works under Netscape 6.2, but not IE 6.0
    Here's my applet code:
    import java.lang.String;
    public class test extends java.applet.Applet {
    public static int countChars(String s) {
    return s.length();
    And my HTML
    <HTML>
    <HEAD>
    <script language="Javascript">
    function refreshApplet()
    /*     i = document.forms.myForm.TestApplet.countChars();
         document.forms.myForm.output.value=i; */
         document.forms.myForm.output.value=document.applets["TestApplet"].countChars(document.forms.myForm.input.value);
    </script>
    </HEAD>
    <BODY>
    <APPLET CODE = "test.class" WIDTH = 400 HEIGHT = 400 ALIGN = middle NAME = "TestApplet" scriptable="true">
    </APPLET>
    <br>
    <form name="myForm">
    <input type="text" name="input">
    <input type="button" value="click me" onClick="refreshApplet();">
    <hr>
    <input type="text" name="output">
    </form>
    </BODY>
    </HTML>
    Thanks in advance!
    Craig Drabik
    Sr. Programmer/Analyst
    University at Buffalo

    I have very similar problem, my applet works OK using Netscape (6.2 and 7.0), but with IE 6.0 It only works with windows XP;
    The reported error is "Object doesn't support this property or method"
    Can someone please help me to solve this problem.
    Cheers
    Horus
    This is my code:
    - I call the applet using javaScript and input the method setData with two strings.
    function graphic()
         var dataZenith;
         var dataManual;
         initVariables();
         dataZenith = graphicZENith(); //Call other Javascript functions
         dataManual = graphicManual(); //Call other Javascript functions
         document.AppletOne.setData(dataZenith,dataManual);
    I run the applet with this HTML code:
    <applet NAME="AppletOne" code="Appl.class" width="450" height="450"
    MAYSCRIPT></applet>
    //Applet code/////////////
    import java.awt.*;
    import java.awt.geom.*;
    import java.applet.*;
    import java.util.*;
    public class Appl extends Applet {
         private int [] myArray1 = new int [156];     
         private int [] myArray2 = new int [156];
         private boolean flag = false;
         // maxDataYAxesNumber es usado para dividir el eje de las Y
    public void init()
              setFont(new Font("SansSerif", Font.BOLD, 12));
              setBackground (Color.white);
              setSize(getSize());     
    // Get data and put in an array
    public void setData(String data1, String data2)
              final String DELIMITER = ",";
              final StringTokenizer theTokens1 =
                   new StringTokenizer(data1, DELIMITER);     
              final StringTokenizer theTokens2 =
                   new StringTokenizer(data2, DELIMITER);
              try
                        String dataX = data1;
                        for (int i = 0; i < 156; i++)
                        myArray1[i] = Integer.parseInt(theTokens1.nextToken().trim());
                        myArray2[i] = Integer.parseInt(theTokens2.nextToken().trim());
              catch (NumberFormatException e) {};
              flag = true; //I get the data OK
              repaint();
    public void paint (Graphics g){
    Graphics2D g2d = (Graphics2D)g;
    setData(data1, data2) ;
    if (flag == true)
                   //Call other functions to process the graphic
    else g2d.drawString(" Sorry I can get Data", 100,80);          

  • Layout with 2 components on oposite sides of JFrame

    Hello all,
    I feel like I'm missing something really obvious, but I've been trying to layout a JPanel which extends the whole width of my JFrame and contains a button on either side. i.e.
    left frame edge-> | |button| <empty space here> |button| | <-right frame edge
    I'm pretty sure I could pull this off with SpringLayout, but I need to support Java 1.3.1 in this app.
    I'm also pretty sure that I could do something like this:
    JPanel leftSide = new JPanel( new FlowLayout( FlowLayout.LEFT ) );
    leftSide.add(new JButton("left") );
    JPanel rightSide = new JPanel( new FlowLayout( FlowLayout.RIGHT ) );
    rightSide.add(new JButton("right") );
    CustomSizeAwarePanel magic = new CustomSizeAwarePanel( parentComponent, new BorderLayout() );
    magic.add( leftSide, BorderLayout.WEST );
    magic.add( leftSide, BorderLayout.EAST );where CustomSizeAwarePanel is aware of the parent Components width and resizes itself appropriately.
    ... but I have the nagging feeling that there is an easier way to do this.
    thanks all,
    Steven

    Thanks for the thoughts!
    I have used GridBag extensively in the past and didn't even consider that it would do what I was looking for. Ironically enough, I even have my GridBagHelper classes laying around which could make this a little easier. :)
    I was just typing in psuedo code and fouled up by not specifying the right button. The problem I was having with Border Layout was that the parent component (holding the two buttons) would resize itself to be as small as possible, squishing the two buttons in the middle of the screen. I played around with putting an extremely large component in the BorderLayout.CENTER, but that did not size correctly.
    What I ended up with was implementing the 'magic' class that resized itself to the parent components width and the child components height. This seems to be working well, but if anyone sees issues....
    Anyway, The code is worth a thousand words...
    //simple calling code
         JPanel customPanel = buildCustomByPanel();
         //You need to pass in the tallest component as the child
         ParentWidthComponent northCentralPanel = new ParentWidthComponent( this.getContentPane(), customPanel, new BorderLayout());
         northCentralPanel.add( customPanel, BorderLayout.WEST );
         northCentralPanel.add( viewOtherAttrCheck, BorderLayout.EAST );
         centerPanel.add( BorderLayout.NORTH, northCentralPanel );
    //class code
    import java.awt.Container;
    import java.awt.Dimension;
    import java.awt.BorderLayout;
    import javax.swing.JComponent;
    import javax.swing.JPanel;
    public class ParentWidthComponent extends JPanel {
         protected Container parent;
         protected JComponent child;
         public ParentWidthComponent ( Container componentWidth, JComponent componentHeight ) {
              super();
              parent = componentWidth;
              child = componentHeight;
         public ParentWidthComponent (  Container componentWidth, JComponent componentHeight, BorderLayout manager ) {
              super(manager);
              parent = componentWidth;
              child = componentHeight;
         public Dimension getPreferredSize () {
              return  new Dimension( (int)parent.getSize().getWidth(), (int)child.getPreferredSize().getHeight() );
         }Thanks again for the suggestions.
    -Steven

Maybe you are looking for

  • Setting up SNP with ECC at a macro level

    Hello experts What are the different scenarios that can be set up with SNP - ECC - SNP with respect to Distribution planning ? Meaning stock transfers , assuming PPDS will be active and will only be used for creating PPDS planned orders. We have 10 p

  • Superfluou​s confirm popup in UI editor?

    Hello NI, I have a XY graph with several annotations. If I open the uir file and double click on the graph (-> Edit Graph popup), click on the 'Annotations' button (-> Edit Annotations popup) and change Current Annotation say from 24 to 23 (to see it

  • Photoshop error Creative Suite 5.5

    I recently installed Adobe Creative Suite 5.5 Design Premium (for windows.) While running Photoshop, I will get the following error message: The instruction at "0X6963932b" referenced memory at "0X000000a0"  (or sometimes "0X00000980") The memory cou

  • Fastest method to load external data?

    Hi, Currently we load external xml file and parse it for our internal use. However, parsing take time, is it possible to reduce this step? Such as serialize / de-serialize? thanks.

  • HT201272 Can I still download my previous purchase from my previous country (returning back) without repurchasing it?

    Can I still download my previous purchase from my previous country (returning back) without repurchasing it? I'm curious since my purchase of iPhoto has disappeared on my mac, will I be able to get it again without repurchasing?