Need some help with java documents if possible

Hello all,
I am trying to decompile .class files ok, i decompile it without any problems but when i open the java source i see weird string codes, and its not readable for the human, i tried lot of decompiling softwares but no software can make the file readable this is the problem that i have:
// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3)
// Source File Name:   b.java
package com.pimpernel.a.a.a;
import com.pimpernel.chatpointclassic.client.a.e;
import java.io.DataOutputStream;
import java.io.PrintStream;
import java.util.*;
// Referenced classes of package com.pimpernel.a.a.a:
//            a, e
public class b
    implements Runnable
    b(a a1, a a2, DataOutputStream dataoutputstream, com.pimpernel.a.a.a.e e1)
        a = a1;
        b = 2000;
        c = 50;
        d = 4;
        o = -1L;
        e = a2;
        f = dataoutputstream;
        g = e1;
        j = new Vector();
        h = c;
    b(a a1, a a2, DataOutputStream dataoutputstream, com.pimpernel.a.a.a.e e1, Properties properties)
        int i1 = a.ev;
        super();
        a = a1;
        b = 2000;
        c = 50;
        d = 4;
        o = -1L;
        b = a(properties, c("-!\001\025R-:\006\024Y\035+\001\037f;+\032\036d\"+\n\013C'#\n6V6"), 20000);
        c = a(properties, c("-!\001\025R-:\006\024Y\035+\001\037f;+\032\036d\"+\n\013C'#\n6^ "), 50);
        d = a(properties, c("-!\001\025R-:\006\024Y\035+\001\037f;+\032\036z' <\036Y*\037\032\036B+\f\n\035X<+?\tX-+\034\b^ )"), 4);
        e = a2;
        f = dataoutputstream;
        g = e1;
        j = new Vector();
        h = c;
        if(e.i != 0)
            a.ev = ++i1;
    public int a(Properties properties, String s, int i1)
        try
            return Integer.parseInt(properties.getProperty(s));
        catch(Exception _ex)
            return i1;
    public void a()
        c();
        j.removeAllElements();
        f = null;
        j = null;
    public void b()
        if(i == null)
            k = System.currentTimeMillis();
            m = 0;
            n = 0;
            i = new Thread(this, c("\007\034,(R *>\016R;+"));
            i.start();
    public void c()
        if(i != null)
            i.stop();
            i = null;
    public void a(String s)
        j.insertElementAt(s, 0);
    public void b(String s)
        a(s.length());
        if((com.pimpernel.a.a.a.a.b(a) & 0x10) == 16)
            System.out.println(c("\036<\006\024E':\026[z+=\034\032P+n<\036Y*tO") + s);
        o = 0L;
        try
            if(f != null)
                synchronized(f)
                    f.writeBytes(s + c("CD"));
                    f.flush();
        catch(Exception exception)
            if(e.eo)
                if((com.pimpernel.a.a.a.a.b(a) & 1) == 1)
                    System.out.println(c("\0136\f\036G:'\000\025\027' O\bR *>\016R;+U[") + exception);
                try
                    com.pimpernel.a.a.a.a.c(e);
                catch(Exception _ex) { }
    public void a(int i1)
        if((com.pimpernel.a.a.a.a.b(a) & 4) == 4)
            m++;
            n += i1;
            l = System.currentTimeMillis();
            if(l - k > 10000L)
                long l1 = l - k;
                k = l;
                if(com.pimpernel.a.a.a.a.a(a) == null)
                    com.pimpernel.a.a.a.a.a(a, new Date());
                com.pimpernel.a.a.a.a.a(a).setTime(l);
                System.out.println(c("ccB") + com.pimpernel.a.a.a.a.a(a).toString() + c("ccB"));
                System.out.println(c("\001;\033\034X' \b[z=)OT\027=+\f[\nn") + (long)m / (l1 / 1000L));
                System.out.println(c("\001;\033\034X' \b[u7:\n\b\027an\034\036TnsO") + (long)n / (l1 / 1000L));
                m = 0;
                n = 0;
    public void run()
        int i1;
        i1 = a.ev;
        o = 0L;
        if(i1 == 0) goto _L2; else goto _L1
_L1:
        try
            Thread.sleep(h);
        catch(Exception _ex) { }
        o += h;
        j.size();
        d;
_L9:
        JVM INSTR icmple 73;
           goto _L3 _L4
_L3:
        if(g != null)
            g.a(j);
_L4:
        if(j.isEmpty()) goto _L6; else goto _L5
_L5:
        String s = (String)j.lastElement();
        a(s.length());
        if((com.pimpernel.a.a.a.a.b(a) & 8) == 8)
            System.out.println(c("\037;\n\016Rn=\006\001RnsO") + (j.size() - 1) + c("n\035\n\025Stn") + s);
        synchronized(f)
            f.writeBytes(s + c("CD"));
            f.flush();
        o = 0L;
        j.removeElement(j.lastElement());
        h = h << 1;
        if(i1 == 0) goto _L7; else goto _L6
_L6:
        h = h >> 1;
_L7:
        if(h > b)
            h = c;
        if(h < c)
            h = c;
        if(e.ed && o >= 10000L)
            a(c("\036\007!<\027="));
            o = 0L;
        continue; /* Loop/switch isn't completed */
        Exception exception;
        exception;
        if(!e.eo)
            continue; /* Loop/switch isn't completed */
        com.pimpernel.a.a.a.a.b(a) & 1;
        1;
        if(i1 != 0) goto _L9; else goto _L8
_L8:
        JVM INSTR icmpne 387;
           goto _L10 _L11
_L10:
        break MISSING_BLOCK_LABEL_362;
_L11:
        break MISSING_BLOCK_LABEL_387;
        System.out.println(c("\0136\f\036G:'\000\025\027' O\bR *>\016R;+U[") + exception);
        try
            com.pimpernel.a.a.a.a.c(e);
        catch(Exception _ex) { }
_L2:
        if(e.eo) goto _L1; else goto _L12
_L12:
    private static String c(String s)
        char ac[] = s.toCharArray();
        int i1 = ac.length;
        int k1;
        for(int j1 = 0; j1 < i1; j1++)
            switch(j1 % 5)
            case 0: // '\0'
                k1 = 0x4e;
                break;
            case 1: // '\001'
                k1 = 78;
                break;
            case 2: // '\002'
                k1 = 111;
                break;
            case 3: // '\003'
                k1 = 123;
                break;
            default:
                k1 = 55;
                break;
            ac[j1] ^= k1;
        return new String(ac);
    a a;
    private int b;
    private int c;
    private int d;
    private a e;
    private DataOutputStream f;
    private com.pimpernel.a.a.a.e g;
    private int h;
    private Thread i;
    private Vector j;
    private long k;
    private long l;
    private int m;
    private int n;
    private long o;
    private final int p = 10000;
}can some body help me and tell me how i can read that strange codes:
System.out.println(c("\037;\n\016Rn=\006\001RnsO")
:S?
i am sorry because i am on the wrong forum.
i hope someone can help me.
Sorry for my bad english!
Greetings,
Nino_M

This forum is for Sun Java Studio Creator questions.

Similar Messages

  • Need some help with Java crashing IE.

    Ok, had this problem for some time now, started when was useing microsofts java, it would crash my IE at random points whenever a java applet is running. Upgraded to sun's java but the problems still here along with errors on HD.
    Changed my HD thinking that was the problem but the errors come back.
    Running Win XP Pro, SP2 with IE6.
    Heres error report:
    Unexpected Signal : EXCEPTION_ILLEGAL_INSTRUCTION (0xc000001d) occurred at PC=0x44DED37
    Function=g.a(I[B)V (compiled Java code)
    Library=(N/A)
    Current Java thread:
    Dynamic libraries:
    0x00400000 - 0x00419000      C:\Program Files\Internet Explorer\iexplore.exe
    0x7C900000 - 0x7C9B0000      C:\WINDOWS\system32\ntdll.dll
    0x7C800000 - 0x7C8F4000      C:\WINDOWS\system32\kernel32.dll
    0x77C10000 - 0x77C68000      C:\WINDOWS\system32\msvcrt.dll
    0x77D40000 - 0x77DD0000      C:\WINDOWS\system32\USER32.dll
    0x77F10000 - 0x77F56000      C:\WINDOWS\system32\GDI32.dll
    0x77F60000 - 0x77FD6000      C:\WINDOWS\system32\SHLWAPI.dll
    0x77DD0000 - 0x77E6B000      C:\WINDOWS\system32\ADVAPI32.dll
    0x77E70000 - 0x77F01000      C:\WINDOWS\system32\RPCRT4.dll
    0x77760000 - 0x778CC000      C:\WINDOWS\system32\SHDOCVW.dll
    0x77A80000 - 0x77B14000      C:\WINDOWS\system32\CRYPT32.dll
    0x77B20000 - 0x77B32000      C:\WINDOWS\system32\MSASN1.dll
    0x754D0000 - 0x75550000      C:\WINDOWS\system32\CRYPTUI.dll
    0x76C30000 - 0x76C5E000      C:\WINDOWS\system32\WINTRUST.dll
    0x76C90000 - 0x76CB8000      C:\WINDOWS\system32\IMAGEHLP.dll
    0x77120000 - 0x771AC000      C:\WINDOWS\system32\OLEAUT32.dll
    0x774E0000 - 0x7761C000      C:\WINDOWS\system32\ole32.dll
    0x5B860000 - 0x5B8B4000      C:\WINDOWS\system32\NETAPI32.dll
    0x771B0000 - 0x77256000      C:\WINDOWS\system32\WININET.dll
    0x76F60000 - 0x76F8C000      C:\WINDOWS\system32\WLDAP32.dll
    0x77C00000 - 0x77C08000      C:\WINDOWS\system32\VERSION.dll
    0x773D0000 - 0x774D2000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
    0x7C9C0000 - 0x7D1D4000      C:\WINDOWS\system32\SHELL32.dll
    0x5D090000 - 0x5D127000      C:\WINDOWS\system32\comctl32.dll
    0x5AD70000 - 0x5ADA8000      C:\WINDOWS\system32\uxtheme.dll
    0x75F80000 - 0x7607C000      C:\WINDOWS\system32\BROWSEUI.dll
    0x20000000 - 0x20012000      C:\WINDOWS\system32\browselc.dll
    0x77B40000 - 0x77B62000      C:\WINDOWS\system32\appHelp.dll
    0x76FD0000 - 0x7704F000      C:\WINDOWS\system32\CLBCATQ.DLL
    0x77050000 - 0x77115000      C:\WINDOWS\system32\COMRes.dll
    0x77260000 - 0x772FE000      C:\WINDOWS\system32\urlmon.dll
    0x77FE0000 - 0x77FF1000      C:\WINDOWS\system32\Secur32.dll
    0x77A20000 - 0x77A74000      C:\WINDOWS\System32\cscui.dll
    0x76600000 - 0x7661D000      C:\WINDOWS\System32\CSCDLL.dll
    0x77920000 - 0x77A13000      C:\WINDOWS\system32\SETUPAPI.dll
    0x10000000 - 0x1001A000      C:\Program Files\Norton AntiVirus\NavShExt.dll
    0x76B20000 - 0x76B31000      C:\WINDOWS\system32\ATL.DLL
    0x76080000 - 0x760E5000      C:\WINDOWS\system32\MSVCP60.dll
    0x00E90000 - 0x00F18000      C:\WINDOWS\system32\shdoclc.dll
    0x00F20000 - 0x011E5000      C:\WINDOWS\system32\xpsp2res.dll
    0x75CF0000 - 0x75D81000      C:\WINDOWS\system32\mlang.dll
    0x71AD0000 - 0x71AD9000      C:\WINDOWS\system32\wsock32.dll
    0x71AB0000 - 0x71AC7000      C:\WINDOWS\system32\WS2_32.dll
    0x71AA0000 - 0x71AA8000      C:\WINDOWS\system32\WS2HELP.dll
    0x71A50000 - 0x71A8F000      C:\WINDOWS\system32\mswsock.dll
    0x662B0000 - 0x66308000      C:\WINDOWS\system32\hnetcfg.dll
    0x76EE0000 - 0x76F1C000      C:\WINDOWS\system32\RASAPI32.DLL
    0x76E90000 - 0x76EA2000      C:\WINDOWS\system32\rasman.dll
    0x76EB0000 - 0x76EDF000      C:\WINDOWS\system32\TAPI32.dll
    0x76E80000 - 0x76E8E000      C:\WINDOWS\system32\rtutils.dll
    0x76B40000 - 0x76B6D000      C:\WINDOWS\system32\WINMM.dll
    0x71A90000 - 0x71A98000      C:\WINDOWS\System32\wshtcpip.dll
    0x77C70000 - 0x77C93000      C:\WINDOWS\system32\msv1_0.dll
    0x76D60000 - 0x76D79000      C:\WINDOWS\system32\iphlpapi.dll
    0x7D1E0000 - 0x7D492000      C:\WINDOWS\system32\msi.dll
    0x769C0000 - 0x76A73000      C:\WINDOWS\system32\USERENV.dll
    0x75E90000 - 0x75F40000      C:\WINDOWS\system32\SXS.DLL
    0x0FFD0000 - 0x0FFF8000      C:\WINDOWS\system32\rsaenh.dll
    0x76F20000 - 0x76F47000      C:\WINDOWS\system32\DNSAPI.dll
    0x76FC0000 - 0x76FC6000      C:\WINDOWS\system32\rasadhlp.dll
    0x7D4A0000 - 0x7D783000      C:\WINDOWS\system32\mshtml.dll
    0x746C0000 - 0x746E7000      C:\WINDOWS\system32\msls31.dll
    0x746F0000 - 0x7471A000      C:\WINDOWS\system32\msimtf.dll
    0x74720000 - 0x7476B000      C:\WINDOWS\system32\MSCTF.dll
    0x76390000 - 0x763AD000      C:\WINDOWS\system32\IMM32.DLL
    0x71B20000 - 0x71B32000      C:\WINDOWS\system32\MPR.dll
    0x75F60000 - 0x75F67000      C:\WINDOWS\System32\drprov.dll
    0x71C10000 - 0x71C1E000      C:\WINDOWS\System32\ntlanman.dll
    0x71CD0000 - 0x71CE7000      C:\WINDOWS\System32\NETUI0.dll
    0x71C90000 - 0x71CD0000      C:\WINDOWS\System32\NETUI1.dll
    0x71C80000 - 0x71C87000      C:\WINDOWS\System32\NETRAP.dll
    0x71BF0000 - 0x71C03000      C:\WINDOWS\System32\SAMLIB.dll
    0x75F70000 - 0x75F79000      C:\WINDOWS\System32\davclnt.dll
    0x73D70000 - 0x73D83000      C:\WINDOWS\system32\shgina.dll
    0x75970000 - 0x75A67000      C:\WINDOWS\system32\MSGINA.dll
    0x76360000 - 0x76370000      C:\WINDOWS\system32\WINSTA.dll
    0x74320000 - 0x7435D000      C:\WINDOWS\system32\ODBC32.dll
    0x763B0000 - 0x763F9000      C:\WINDOWS\system32\comdlg32.dll
    0x020A0000 - 0x020B7000      C:\WINDOWS\system32\odbcint.dll
    0x020C0000 - 0x020DB000      C:\Program Files\Common Files\Symantec Shared\Script Blocking\scrauth.dll
    0x021F0000 - 0x0220E000      C:\Program Files\Common Files\Symantec Shared\Script Blocking\ScrBlock.dll
    0x75E60000 - 0x75E73000      C:\WINDOWS\system32\cryptnet.dll
    0x4D4F0000 - 0x4D548000      C:\WINDOWS\system32\WINHTTP.dll
    0x722B0000 - 0x722B5000      C:\WINDOWS\system32\SensApi.dll
    0x75C50000 - 0x75CBE000      c:\windows\system32\jscript.dll
    0x72D20000 - 0x72D29000      C:\WINDOWS\system32\wdmaud.drv
    0x77BD0000 - 0x77BD7000      C:\WINDOWS\system32\midimap.dll
    0x73300000 - 0x73367000      c:\windows\system32\vbscript.dll
    0x73DD0000 - 0x73ECE000      C:\WINDOWS\system32\MFC42.DLL
    0x03600000 - 0x037A7000      C:\WINDOWS\system32\macromed\flash\Flash.ocx
    0x6D430000 - 0x6D43A000      C:\WINDOWS\system32\ddrawex.dll
    0x73760000 - 0x737A9000      C:\WINDOWS\system32\DDRAW.dll
    0x73BC0000 - 0x73BC6000      C:\WINDOWS\system32\DCIMAN32.dll
    0x76200000 - 0x76271000      C:\WINDOWS\system32\mshtmled.dll
    0x66E50000 - 0x66E8F000      C:\WINDOWS\system32\iepeers.dll
    0x73000000 - 0x73026000      C:\WINDOWS\system32\WINSPOOL.DRV
    0x6D460000 - 0x6D470000      C:\Program Files\Java\j2re1.4.2_05\bin\npjpi142_05.dll
    0x5EDD0000 - 0x5EDE7000      C:\WINDOWS\system32\OLEPRO32.DLL
    0x6D330000 - 0x6D348000      C:\Program Files\Java\j2re1.4.2_05\bin\jpiexp32.dll
    0x76FB0000 - 0x76FB8000      C:\WINDOWS\System32\winrnr.dll
    0x6D3A0000 - 0x6D3B8000      C:\Program Files\Java\j2re1.4.2_05\bin\jpishare.dll
    0x08000000 - 0x08139000      C:\PROGRA~1\Java\J2RE14~1.2_0\bin\client\jvm.dll
    0x04310000 - 0x04317000      C:\PROGRA~1\Java\J2RE14~1.2_0\bin\hpi.dll
    0x04330000 - 0x0433E000      C:\PROGRA~1\Java\J2RE14~1.2_0\bin\verify.dll
    0x04340000 - 0x04359000      C:\PROGRA~1\Java\J2RE14~1.2_0\bin\java.dll
    0x04360000 - 0x0436D000      C:\PROGRA~1\Java\J2RE14~1.2_0\bin\zip.dll
    0x06DE0000 - 0x06EF2000      C:\Program Files\Java\j2re1.4.2_05\bin\awt.dll
    0x06F00000 - 0x06F51000      C:\Program Files\Java\j2re1.4.2_05\bin\fontmanager.dll
    0x73940000 - 0x73A10000      C:\WINDOWS\system32\D3DIM700.DLL
    0x6D310000 - 0x6D324000      C:\Program Files\Java\j2re1.4.2_05\bin\jpicom32.dll
    0x076B0000 - 0x076BF000      C:\Program Files\Java\j2re1.4.2_05\bin\net.dll
    0x076C0000 - 0x076E2000      C:\Program Files\Java\j2re1.4.2_05\bin\dcpr.dll
    0x02340000 - 0x0235E000      C:\Program Files\Java\j2re1.4.2_05\bin\jpeg.dll
    0x74810000 - 0x7497D000      C:\WINDOWS\system32\quartz.dll
    0x59A60000 - 0x59B01000      C:\WINDOWS\system32\DBGHELP.dll
    0x75F40000 - 0x75F51000      C:\WINDOWS\system32\devenum.dll
    0x736B0000 - 0x736B7000      C:\WINDOWS\system32\msdmo.dll
    0x76BF0000 - 0x76BFB000      C:\WINDOWS\system32\PSAPI.DLL
    Heap at VM Abort:
    Heap
    def new generation   total 1152K, used 670K [0x10020000, 0x10160000, 0x10780000)
      eden space 1024K,  53% used [0x10020000, 0x100a7b38, 0x10120000)
      from space 128K, 100% used [0x10120000, 0x10140000, 0x10140000)
      to   space 128K,   0% used [0x10140000, 0x10140000, 0x10160000)
    tenured generation   total 14520K, used 13418K [0x10780000, 0x115ae000, 0x16020000)
       the space 14520K,  92% used [0x10780000, 0x1149ab38, 0x1149ac00, 0x115ae000)
    compacting perm gen  total 5888K, used 5698K [0x16020000, 0x165e0000, 0x1a020000)
       the space 5888K,  96% used [0x16020000, 0x165b0af0, 0x165b0c00, 0x165e0000)
    Local Time = Mon Oct 18 10:09:19 2004
    Elapsed Time = 15
    # HotSpot Virtual Machine Error : EXCEPTION_ILLEGAL_INSTRUCTION
    # Error ID : 4F530E43505002EF
    # Please report this error at
    # http://java.sun.com/cgi-bin/bugreport.cgi
    # Java VM: Java HotSpot(TM) Client VM (1.4.2_05-b04 mixed mode)
    ==========================
    Am I just unlucky or could it be bad power input or bad RAM.
    Sorry if this is wrong forum, could someone direct me to the correct place if needed.
    Thanks.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Thing which made me think it was hardware is that after I download stuff (like leaveing PC d/ling over night) after a week or so I get a load of HD errors and random program will crash.
    Believe that could be a totally different problem which I've got solved, also thought I'd fixed up the java issues with installing 1.5 but appears to have came back. However rather than IE giveing an error report to send to microsoft it either locks up or the window just closes and a hs_err_pid report is created on desktop (currently have 10 of them with different numbers), all of which are 99% the same, just with different numbers in some spots.
    Heres one:
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d6a19d1, pid=3788, tid=4008
    # Java VM: Java HotSpot(TM) Client VM (1.5.0-b64 mixed mode, sharing)
    # Problematic frame:
    # V [jvm.dll+0x619d1]
    --------------- T H R E A D ---------------
    Current thread (0x033535d0): VMThread [id=4008]
    siginfo: ExceptionCode=0xc0000005, reading address 0x00000040
    Registers:
    EAX=0x00000040, EBX=0x22c4cd44, ECX=0x06a1fa98, EDX=0x22d79dd0
    ESP=0x06a1f9e0, EBP=0x06a1fa04, ESI=0x22c4cd34, EDI=0x06a1fa98
    EIP=0x6d6a19d1, EFLAGS=0x00010283
    Top of Stack: (sp=0x06a1f9e0)
    0x06a1f9e0: 22c4cd34 26c72aec 6d6b567e 22c4cd34
    0x06a1f9f0: 22d26cc8 22c4cd08 000397d0 26c729d0
    0x06a1fa00: 26c72af0 06a1fb34 6d72c13e 22c4cd08
    0x06a1fa10: 06a1fa98 06a1fa98 0003c990 03326054
    0x06a1fa20: 6d6b12f4 06a1fa98 00000001 03326008
    0x06a1fa30: 6d6accc3 06a1fa98 00000000 03326008
    0x06a1fa40: 06a1facc 6d6a189f 00000000 06a1fae4
    0x06a1fa50: 06a1fa98 033261d0 6d6a2320 03326008
    Instructions: (pc=0x6d6a19d1)
    0x6d6a19c1: 24 08 57 8b f9 8b 06 85 c0 74 2f 3b 47 1c 73 2a
    0x6d6a19d1: 8b 08 83 e1 03 80 f9 03 75 06 8b 00 24 fc eb 0a
    Stack: [0x06920000,0x06a20000), sp=0x06a1f9e0, free space=1022k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    V [jvm.dll+0x619d1]
    V [jvm.dll+0xec13e]
    V [jvm.dll+0x6c7b0]
    V [jvm.dll+0x5037f]
    V [jvm.dll+0x6c92d]
    V [jvm.dll+0x11768c]
    V [jvm.dll+0x117163]
    V [jvm.dll+0x117303]
    V [jvm.dll+0x117068]
    C [msvcrt.dll+0x2a3b0]
    C [kernel32.dll+0xb50b]
    VM_Operation (0x07a5f2b8): generation collection for allocation, mode: safepoint, requested by thread 0x07b2e068
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x0335ca18 JavaThread "Thread-11" daemon [_thread_blocked, id=360]
    0x07ae2530 JavaThread "Thread-10" daemon [_thread_blocked, id=1764]
    0x070e5db0 JavaThread "Thread-9" daemon [_thread_blocked, id=1768]
    0x07b2e068 JavaThread "Thread-7" daemon [_thread_blocked, id=1468]
    0x07b90ab8 JavaThread "Thread-5" daemon [_thread_blocked, id=1476]
    0x0705ef48 JavaThread "AWT-EventQueue-2" [_thread_blocked, id=168]
    0x07b8acc8 JavaThread "TimerQueue" daemon [_thread_blocked, id=132]
    0x07b86c98 JavaThread "TimerQueue" daemon [_thread_blocked, id=2020]
    0x07b6dc80 JavaThread "AWT-EventQueue-1" [_thread_blocked, id=4088]
    0x07b2e458 JavaThread "thread applet-loader.class" [_thread_blocked, id=4072]
    0x07054b60 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=4060]
    0x07053a50 JavaThread "traceMsgQueueThread" [_thread_blocked, id=4048]
    0x07047280 JavaThread "AWT-Windows" daemon [_thread_in_native, id=4044]
    0x07046e50 JavaThread "AWT-Shutdown" [_thread_blocked, id=4040]
    0x07046030 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=4036]
    0x03358aa8 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=4028]
    0x03357680 JavaThread "CompilerThread0" daemon [_thread_blocked, id=4024]
    0x03356a30 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=4020]
    0x03354008 JavaThread "Finalizer" daemon [_thread_blocked, id=4016]
    0x03328aa0 JavaThread "Reference Handler" daemon [_thread_blocked, id=4012]
    0x032b4410 JavaThread "main" [_thread_in_native, id=3792]
    Other Threads:
    =>0x033535d0 VMThread [id=4008]
    0x03359cb8 WatcherThread [id=4032]
    VM state:at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
    [0x032a0388/0x0000081c] Threads_lock - owner thread: 0x033535d0
    [0x032b4058/0x00000858] Heap_lock - owner thread: 0x07b2e068
    Heap
    def new generation total 4608K, used 4160K [0x20a70000, 0x20f60000, 0x211d0000)
    eden space 4160K, 100% used [0x20a70000, 0x20e80000, 0x20e80000)
    from space 448K, 0% used [0x20e80000, 0x20e80000, 0x20ef0000)
    to space 448K, 100% used [0x20ef0000, 0x20f60000, 0x20f60000)
    tenured generation total 60072K, used 28327K [0x211d0000, 0x24c7a000, 0x26a70000)
    the space 60072K, 47% used [0x211d0000, 0x22d79df0, 0x22d79e00, 0x24c7a000)
    compacting perm gen total 8192K, used 2386K [0x26a70000, 0x27270000, 0x2aa70000)
    the space 8192K, 29% used [0x26a70000, 0x26cc4930, 0x26cc4a00, 0x27270000)
    ro space 8192K, 62% used [0x2aa70000, 0x2af77160, 0x2af77200, 0x2b270000)
    rw space 12288K, 46% used [0x2b270000, 0x2b7fc1c0, 0x2b7fc200, 0x2be70000)
    Dynamic libraries:
    0x00400000 - 0x00419000      C:\Program Files\Internet Explorer\iexplore.exe
    0x7c900000 - 0x7c9b0000      C:\WINDOWS\system32\ntdll.dll
    0x7c800000 - 0x7c8f4000      C:\WINDOWS\system32\kernel32.dll
    0x77c10000 - 0x77c68000      C:\WINDOWS\system32\msvcrt.dll
    0x77d40000 - 0x77dd0000      C:\WINDOWS\system32\USER32.dll
    0x77f10000 - 0x77f56000      C:\WINDOWS\system32\GDI32.dll
    0x77f60000 - 0x77fd6000      C:\WINDOWS\system32\SHLWAPI.dll
    0x77dd0000 - 0x77e6b000      C:\WINDOWS\system32\ADVAPI32.dll
    0x77e70000 - 0x77f01000      C:\WINDOWS\system32\RPCRT4.dll
    0x77760000 - 0x778cc000      C:\WINDOWS\system32\SHDOCVW.dll
    0x77a80000 - 0x77b14000      C:\WINDOWS\system32\CRYPT32.dll
    0x77b20000 - 0x77b32000      C:\WINDOWS\system32\MSASN1.dll
    0x754d0000 - 0x75550000      C:\WINDOWS\system32\CRYPTUI.dll
    0x76c30000 - 0x76c5e000      C:\WINDOWS\system32\WINTRUST.dll
    0x76c90000 - 0x76cb8000      C:\WINDOWS\system32\IMAGEHLP.dll
    0x77120000 - 0x771ac000      C:\WINDOWS\system32\OLEAUT32.dll
    0x774e0000 - 0x7761c000      C:\WINDOWS\system32\ole32.dll
    0x5b860000 - 0x5b8b4000      C:\WINDOWS\system32\NETAPI32.dll
    0x771b0000 - 0x77256000      C:\WINDOWS\system32\WININET.dll
    0x76f60000 - 0x76f8c000      C:\WINDOWS\system32\WLDAP32.dll
    0x77c00000 - 0x77c08000      C:\WINDOWS\system32\VERSION.dll
    0x773d0000 - 0x774d2000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
    0x7c9c0000 - 0x7d1d4000      C:\WINDOWS\system32\SHELL32.dll
    0x5d090000 - 0x5d127000      C:\WINDOWS\system32\comctl32.dll
    0x5ad70000 - 0x5ada8000      C:\WINDOWS\system32\uxtheme.dll
    0x75f80000 - 0x7607c000      C:\WINDOWS\system32\BROWSEUI.dll
    0x20000000 - 0x20012000      C:\WINDOWS\system32\browselc.dll
    0x77b40000 - 0x77b62000      C:\WINDOWS\system32\appHelp.dll
    0x76fd0000 - 0x7704f000      C:\WINDOWS\system32\CLBCATQ.DLL
    0x77050000 - 0x77115000      C:\WINDOWS\system32\COMRes.dll
    0x77260000 - 0x772fe000      C:\WINDOWS\system32\urlmon.dll
    0x77fe0000 - 0x77ff1000      C:\WINDOWS\system32\Secur32.dll
    0x77a20000 - 0x77a74000      C:\WINDOWS\System32\cscui.dll
    0x76600000 - 0x7661d000      C:\WINDOWS\System32\CSCDLL.dll
    0x77920000 - 0x77a13000      C:\WINDOWS\system32\SETUPAPI.dll
    0x10000000 - 0x1001a000      C:\Program Files\Norton AntiVirus\NavShExt.dll
    0x76b20000 - 0x76b31000      C:\WINDOWS\system32\ATL.DLL
    0x76080000 - 0x760e5000      C:\WINDOWS\system32\MSVCP60.dll
    0x01120000 - 0x011a8000      C:\WINDOWS\system32\shdoclc.dll
    0x011b0000 - 0x01475000      C:\WINDOWS\system32\xpsp2res.dll
    0x75cf0000 - 0x75d81000      C:\WINDOWS\system32\mlang.dll
    0x71ad0000 - 0x71ad9000      C:\WINDOWS\system32\wsock32.dll
    0x71ab0000 - 0x71ac7000      C:\WINDOWS\system32\WS2_32.dll
    0x71aa0000 - 0x71aa8000      C:\WINDOWS\system32\WS2HELP.dll
    0x71a50000 - 0x71a8f000      C:\WINDOWS\system32\mswsock.dll
    0x662b0000 - 0x66308000      C:\WINDOWS\system32\hnetcfg.dll
    0x71a90000 - 0x71a98000      C:\WINDOWS\System32\wshtcpip.dll
    0x76ee0000 - 0x76f1c000      C:\WINDOWS\system32\RASAPI32.DLL
    0x76e90000 - 0x76ea2000      C:\WINDOWS\system32\rasman.dll
    0x76eb0000 - 0x76edf000      C:\WINDOWS\system32\TAPI32.dll
    0x76e80000 - 0x76e8e000      C:\WINDOWS\system32\rtutils.dll
    0x76b40000 - 0x76b6d000      C:\WINDOWS\system32\WINMM.dll
    0x7d1e0000 - 0x7d492000      C:\WINDOWS\system32\msi.dll
    0x769c0000 - 0x76a73000      C:\WINDOWS\system32\USERENV.dll
    0x75e90000 - 0x75f40000      C:\WINDOWS\system32\SXS.DLL
    0x77c70000 - 0x77c93000      C:\WINDOWS\system32\msv1_0.dll
    0x76d60000 - 0x76d79000      C:\WINDOWS\system32\iphlpapi.dll
    0x722b0000 - 0x722b5000      C:\WINDOWS\system32\sensapi.dll
    0x76fc0000 - 0x76fc6000      C:\WINDOWS\system32\rasadhlp.dll
    0x76f20000 - 0x76f47000      C:\WINDOWS\system32\DNSAPI.dll
    0x76fb0000 - 0x76fb8000      C:\WINDOWS\System32\winrnr.dll
    0x7d4a0000 - 0x7d783000      C:\WINDOWS\system32\mshtml.dll
    0x746c0000 - 0x746e7000      C:\WINDOWS\system32\msls31.dll
    0x746f0000 - 0x7471a000      C:\WINDOWS\system32\msimtf.dll
    0x74720000 - 0x7476b000      C:\WINDOWS\system32\MSCTF.dll
    0x76390000 - 0x763ad000      C:\WINDOWS\system32\IMM32.DLL
    0x71b20000 - 0x71b32000      C:\WINDOWS\system32\MPR.dll
    0x75f60000 - 0x75f67000      C:\WINDOWS\System32\drprov.dll
    0x71c10000 - 0x71c1e000      C:\WINDOWS\System32\ntlanman.dll
    0x71cd0000 - 0x71ce7000      C:\WINDOWS\System32\NETUI0.dll
    0x71c90000 - 0x71cd0000      C:\WINDOWS\System32\NETUI1.dll
    0x71c80000 - 0x71c87000      C:\WINDOWS\System32\NETRAP.dll
    0x71bf0000 - 0x71c03000      C:\WINDOWS\System32\SAMLIB.dll
    0x75f70000 - 0x75f79000      C:\WINDOWS\System32\davclnt.dll
    0x73d70000 - 0x73d83000      C:\WINDOWS\system32\shgina.dll
    0x75970000 - 0x75a67000      C:\WINDOWS\system32\MSGINA.dll
    0x76360000 - 0x76370000      C:\WINDOWS\system32\WINSTA.dll
    0x74320000 - 0x7435d000      C:\WINDOWS\system32\ODBC32.dll
    0x763b0000 - 0x763f9000      C:\WINDOWS\system32\comdlg32.dll
    0x02450000 - 0x02467000      C:\WINDOWS\system32\odbcint.dll
    0x72d20000 - 0x72d29000      C:\WINDOWS\system32\wdmaud.drv
    0x72d10000 - 0x72d18000      C:\WINDOWS\system32\msacm32.drv
    0x77be0000 - 0x77bf5000      C:\WINDOWS\system32\MSACM32.dll
    0x77bd0000 - 0x77bd7000      C:\WINDOWS\system32\midimap.dll
    0x024a0000 - 0x024bb000      C:\Program Files\Common Files\Symantec Shared\Script Blocking\scrauth.dll
    0x024d0000 - 0x024ee000      C:\Program Files\Common Files\Symantec Shared\Script Blocking\ScrBlock.dll
    0x0ffd0000 - 0x0fff8000      C:\WINDOWS\system32\rsaenh.dll
    0x75e60000 - 0x75e73000      C:\WINDOWS\system32\cryptnet.dll
    0x4d4f0000 - 0x4d548000      C:\WINDOWS\system32\WINHTTP.dll
    0x75c50000 - 0x75cbe000      c:\windows\system32\jscript.dll
    0x76200000 - 0x76271000      C:\WINDOWS\system32\mshtmled.dll
    0x73300000 - 0x73367000      c:\windows\system32\vbscript.dll
    0x73dd0000 - 0x73ece000      C:\WINDOWS\system32\MFC42.DLL
    0x03ed0000 - 0x04077000      C:\WINDOWS\system32\macromed\flash\Flash.ocx
    0x6d430000 - 0x6d43a000      C:\WINDOWS\system32\ddrawex.dll
    0x73760000 - 0x737a9000      C:\WINDOWS\system32\DDRAW.dll
    0x73bc0000 - 0x73bc6000      C:\WINDOWS\system32\DCIMAN32.dll
    0x66e50000 - 0x66e8f000      C:\WINDOWS\system32\iepeers.dll
    0x73000000 - 0x73026000      C:\WINDOWS\system32\WINSPOOL.DRV
    0x6d590000 - 0x6d5a1000      C:\Program Files\Java\jre1.5.0\bin\npjpi150.dll
    0x5edd0000 - 0x5ede7000      C:\WINDOWS\system32\OLEPRO32.DLL
    0x6d400000 - 0x6d417000      C:\Program Files\Java\jre1.5.0\bin\jpiexp32.dll
    0x6d450000 - 0x6d468000      C:\Program Files\Java\jre1.5.0\bin\jpishare.dll
    0x6d640000 - 0x6d7c5000      C:\PROGRA~1\Java\JRE15~1.0\bin\client\jvm.dll
    0x6d280000 - 0x6d288000      C:\PROGRA~1\Java\JRE15~1.0\bin\hpi.dll
    0x76bf0000 - 0x76bfb000      C:\WINDOWS\system32\PSAPI.DLL
    0x6d610000 - 0x6d61c000      C:\PROGRA~1\Java\JRE15~1.0\bin\verify.dll
    0x6d300000 - 0x6d31d000      C:\PROGRA~1\Java\JRE15~1.0\bin\java.dll
    0x6d630000 - 0x6d63f000      C:\PROGRA~1\Java\JRE15~1.0\bin\zip.dll
    0x6d000000 - 0x6d166000      C:\Program Files\Java\jre1.5.0\bin\awt.dll
    0x73940000 - 0x73a10000      C:\WINDOWS\system32\D3DIM700.DLL
    0x6d240000 - 0x6d27d000      C:\Program Files\Java\jre1.5.0\bin\fontmanager.dll
    0x6d1f0000 - 0x6d203000      C:\Program Files\Java\jre1.5.0\bin\deploy.dll
    0x6d5d0000 - 0x6d5ed000      C:\Program Files\Java\jre1.5.0\bin\RegUtils.dll
    0x6d3e0000 - 0x6d3f4000      C:\Program Files\Java\jre1.5.0\bin\jpicom32.dll
    0x6d4c0000 - 0x6d4d3000      C:\Program Files\Java\jre1.5.0\bin\net.dll
    0x6d4e0000 - 0x6d4e9000      C:\Program Files\Java\jre1.5.0\bin\nio.dll
    0x6d1c0000 - 0x6d1e3000      C:\Program Files\Java\jre1.5.0\bin\dcpr.dll
    0x6d3c0000 - 0x6d3df000      C:\Program Files\Java\jre1.5.0\bin\jpeg.dll
    0x71d40000 - 0x71d5c000      C:\WINDOWS\system32\actxprxy.dll
    VM Arguments:
    jvm_args: -Xbootclasspath/a:C:\PROGRA~1\Java\JRE15~1.0\lib\deploy.jar;C:\PROGRA~1\Java\JRE15~1.0\lib\plugin.jar -Xmx96m -Djavaplugin.maxHeapSize=96m -Xverify:remote -Djavaplugin.version=1.5.0 -Djavaplugin.nodotversion=150 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=C:\PROGRA~1\Java\JRE15~1.0 -Djava.protocol.handler.pkgs=sun.plugin.net.protocol -Djavaplugin.vm.options=-Djava.class.path=C:\PROGRA~1\Java\JRE15~1.0\classes -Xbootclasspath/a:C:\PROGRA~1\Java\JRE15~1.0\lib\deploy.jar;C:\PROGRA~1\Java\JRE15~1.0\lib\plugin.jar -Xmx96m -Djavaplugin.maxHeapSize=96m -Xverify:remote -Djavaplugin.version=1.5.0 -Djavaplugin.nodotversion=150 -Dbrowser=sun.plugin -DtrustProxy=true -Dapplication.home=C:\PROGRA~1\Java\JRE15~1.0 -Djava.protocol.handler.pkgs=sun.plugin.net.protocol vfprintf
    java_command: <unknown>
    Environment Variables:
    PATH=C:\PROGRA~1\Java\JRE15~1.0\bin;C:\Program Files\Internet Explorer;;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;.
    USERNAME=Steven
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 6 Model 6 Stepping 2, AuthenticAMD
    --------------- S Y S T E M ---------------
    OS: Windows XP Build 2600 Service Pack 2
    CPU:total 1 family 6, cmov, cx8, fxsr, mmx, sse
    Memory: 4k page, physical 261616k(32540k free), swap 633112k(371620k free)
    vm_info: Java HotSpot(TM) Client VM (1.5.0-b64) for windows-x86, built on Sep 15 2004 03:00:31 by "java_re" with MS VC++ 6.0
    ====================================================
    Have spent countless hours looking for fixes, seems a lot of people have similar looking problems, but the fixes for them either don't apply to me or they are just passed over to another discussion which has no resolve.
    I'm not sure what to look for in Java database of bugs, if anyone can poke me towards a fix or some useful reading I'd be eternally greatful.
    Thanks.

  • Need some help with Java deployment

    Hi everyone. I'm no stranger to Java... I've plenty of experience coding in the language, but little in actually deploying or distributing anything I write.
    Java has me very confused in this respect.
    For instance, say I write an applet that uses Swing or Java3D, no one can use it except me. I assume this is because I have the javax packages on my computer. Does this mean everyone who wants to use it has to download these packages? Do I have to provide them locally to the applet?
    Secondly if I wanted to compile my programs fully into executables, is this possible? I've downloaded things done in java before that ran from an executable. How is this possible?
    Thanks for any help anyone can provide me on this subject.

    >
    OK, at this point I'm speaking outside my area of
    experience ...
    But I think that you're not even allowed to distribute
    those libraries. The licenses say that you can
    download them for personal use, but can't distribute
    them unless you pay someone money.
    So you'd have to distribute your code with a readme
    file that asks the user to download and install those
    packages themselves.This is the 'raison d'etre' for java web-start and JNLP:- check it out, it sounds like the thing you seek.

  • WARNING: LONG POST:  Needing some help with Java Prog

    I hope that this forum can support enough formatting to make the source I'm going to post semi-readable... but here's the problem.
    First, the program is supposed to take a positive numerical input and turn it into a numerical palindrome by reversal. It is also supposed to output the number of reversals along with the palindrome. AND, if the palindrome is going to overflow the data type (int) then, it is supposed to anticipate that, and print out the number of times that the numbers were reversed before it would overflow.
    The problem that I'm having is that when I check if a number is a palindrome or not with isPalindrome(), it is fine for the first run, but after that, it just freaks out and goes into a semi-infinite loop that is only broken by the test for overflow. So, even if it finds a numeric palindrome, it keeps working until it's going to overflow.
    Any ideas are very appreciated, and also, many of the print statements are missing right now because I'm trying to find the problem. There are other print statements that indicate where the execution is in the program, so just ignore them. :)
    Here's the program. (I don't know if the forum will remove the spaces or not, so I'm sorry if it does, because I know that makes it hard to read). Thanks ahead of time. :)
    public class Palindrome
    String input=null;
    int pal=0, rvs=0, diff=0, palcount=0, orig=0, ini=0, countTemp=0;
    int inputTemp=0, powTemp=0;
    boolean overflow=false, boopal=true;
    public Palindrome(String x)
    input=x;
    orig=Integer.parseInt(x);
    ini=Integer.parseInt(x);
    public void isPalindrome()
    System.out.println("isPalindrome()");
    int f=0, t=0;
    String g=null;
    g=input;
    t=Integer.parseInt(g);
    f=g.length();
    if(f==2 && t%11!=0)
    System.out.println("if(f==2 && t%11!=0)");
    boopal=false;
    else if(f>2 && f%2==0)
    System.out.println("if(f>2 && f%2==0)");
    int right=f/2, left=right-1;
    while(left<right && right<f && left>-1)
    if(g.charAt(left)!=g.charAt(right))
    boopal=false;
    left--;
    right++;
    else if(f>1 && f%2==1)
    System.out.println("if(f>1 && f%2==1)");
    int mid=(f-1)/2, left=mid-1, right=mid+1;
    while(left<right && right<f && left>-1)
    if(g.charAt(left)!=g.charAt(right))
    boopal=false;
    left--;
    right++;
    else
    boopal=true;
    if(boopal==true)
    System.out.println("BOOPAL IS TRUE!");
    System.exit(0);
    public void makeReversal()
    System.out.println("makeReversal()");
    int b=0, iniTemp=0;
    String c=ini+"";
    int d=c.length()-1;
    do
    System.out.println("do/while(d>0): d: " + d);
    iniTemp=Integer.parseInt(c);
    b=iniTemp%10;
    iniTemp=iniTemp/10;
    c=iniTemp+"";
    rvs=(int) (rvs+((b*Math.pow(10, d))));
    d=c.length()-1;
    while(d>0);
    public void willOverflow()
    System.out.println("willOverflow()");
    diff=Integer.MAX_VALUE-rvs;
    if(ini<=diff)
    overflow=false;
    System.out.println("WillOverflow (should = false): " + overflow);
    else if(ini>diff)
    overflow=true;
    System.out.println("WillOverflow (should = true): " + overflow);
    System.out.println("The program will overflow before calculating"+
    " your palindrome.");
    System.out.println("Your initial input was: "+orig);
    System.out.println("The program will iterate "+palcount+
    " times before the overflow will occur.");
    System.exit(0);
    public void makePalindrome()
    System.out.println("makePalindrome()");
    isPalindrome();
    if(overflow==false)
    while(boopal==false)
    makeReversal();
    willOverflow();
    System.out.println("makePalindrome: pal: " + pal);
    pal=ini+rvs;
    System.out.println("makePalindrome: pal: " + pal);
    palcount++;
    ini=pal;
    input=""+pal;
    isPalindrome();
    if(boopal==true)
    System.out.println("BOOPAL IS TRUE!! GEORGE!");
    break;
    System.out.println("boopal: " + boopal);

    See http://forum.java.sun.com/thread.jsp?forum=54&thread=372647&tstart=105&trange=15

  • I need some help with the documents on the go application please

    Hi.  I can't seem to figure out how to open my excel file from my Palm Centro.  I'm so lost!  Please help.
    Post relates to: Centro (AT&T)

    User Guide for Documents to Go can be accessed through the help tab on the Documents to Go desktop. Download it via mypalm.com.
    Post relates to: Palm TX

  • Please I need some help with a table

    Hi All
    I need some help with a table.
    My table needs to hold prices that the user can update.
    Also has a total of the column.
    my question is if the user adds in a new price how can i pick up the value they have just entered and then add it to the total which will be the last row in the table?
    I have a loop that gets all the values of the column, so I can get the total but it is when the user adds in a new value that I need some help with.
    I have tried using but as I need to set the toal with something like total
        totalTable.setValueAt(total, totalTable.getRowCount()-1,1); I end up with an infinite loop.
    Can any one please advise on some way I can get this to work ?
    Thanks for reading
    Craig

    Hi there camickr
    thanks for the help the other day
    this is my full code....
    package printing;
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.print.*;
    import javax.swing.*;
    import javax.swing.table.*;
    import java.text.DecimalFormat;
    public class tablePanel
        extends JDialog  implements Printable {
      BorderLayout borderLayout1 = new BorderLayout();
      private boolean printing = false;
      private Dialog1 dialog;
      JPanel jPanel = new JPanel();
      JTable table;
      JScrollPane scrollPane1 = new JScrollPane();
      DefaultTableModel model;
      private String[] columnNames = {
      private Object[][] data;
      private String selectTotal;
      private double total;
      public tablePanel(Dialog1 dp) {
        dp = dialog;
        try {
          jbInit();
        catch (Exception exception) {
          exception.printStackTrace();
      public tablePanel() {
        try {
          jbInit();
        catch (Exception exception) {
          exception.printStackTrace();
      private void jbInit() throws Exception {
        jPanel.setLayout(borderLayout1);
        scrollPane1.setBounds(new Rectangle(260, 168, 0, 0));
        this.add(jPanel);
        jPanel.add(scrollPane1, java.awt.BorderLayout.CENTER);
        scrollPane1.getViewport().add(table);
        jPanel.setOpaque(true);
        newTable();
        addToModel();
        addRows();
        setTotal();
    public static void main(String[] args) {
      tablePanel tablePanel = new  tablePanel();
      tablePanel.pack();
      tablePanel.setVisible(true);
    public void setTotal() {
      total = 0;
      int i = table.getRowCount();
      for (i = 0; i < table.getRowCount(); i++) {
        String name = (String) table.getValueAt(i, 1);
        if (!"".equals(name)) {
          if (i != table.getRowCount() - 1) {
            double dt = Double.parseDouble(name);
            total = total + dt;
      String str = Double.toString(total);
      table.setValueAt(str, table.getRowCount() - 1, 1);
      super.repaint();
      public void newTable() {
        model = new DefaultTableModel(data, columnNames) {
        table = new JTable() {
          public Component prepareRenderer(TableCellRenderer renderer,
                                           int row, int col) {
            Component c = super.prepareRenderer(renderer, row, col);
            if (printing) {
              c.setBackground(getBackground());
            else {
              if (row % 2 == 1 && !isCellSelected(row, col)) {
                c.setBackground(getBackground());
              else {
                c.setBackground(new Color(227, 239, 250));
              if (isCellSelected(row, col)) {
                c.setBackground(new Color(190, 220, 250));
            return c;
        table.addMouseListener(new MouseAdapter() {
          public void mouseClicked(MouseEvent e) {
            if (e.getClickCount() == 2) {
            if (e.getClickCount() == 1) {
              if (table.getSelectedColumn() == 1) {
       table.setTableHeader(null);
        table.setModel(model);
        scrollPane1.getViewport().add(table);
        table.getColumnModel().getColumn(1).setCellRenderer(new TableRenderDollar());
      public void addToModel() {
        Object[] data = {
            "Price", "5800"};
        model.addRow(data);
      public void addRows() {
        int rows = 20;
        for (int i = 0; i < rows; i++) {
          Object[] data = {
          model.addRow(data);
      public void printOut() {
        PrinterJob pj = PrinterJob.getPrinterJob();
        pj.setPrintable(tablePanel.this);
        pj.printDialog();
        try {
          pj.print();
        catch (Exception PrintException) {}
      public int print(Graphics g, PageFormat pageFormat, int pageIndex) throws PrinterException {
        Graphics2D g2 = (Graphics2D) g;
        g2.setColor(Color.black);
        int fontHeight = g2.getFontMetrics().getHeight();
        int fontDesent = g2.getFontMetrics().getDescent();
        //leave room for page number
        double pageHeight = pageFormat.getImageableHeight() - fontHeight;
        double pageWidth =  pageFormat.getImageableWidth();
        double tableWidth = (double) table.getColumnModel().getTotalColumnWidth();
        double scale = 1;
        if (tableWidth >= pageWidth) {
          scale = pageWidth / tableWidth;
        double headerHeightOnPage = 16.0;
        //double headerHeightOnPage = table.getTableHeader().getHeight() * scale;
        //System.out.println("this is the hedder heigth   " + headerHeightOnPage);
        double tableWidthOnPage = tableWidth * scale;
        double oneRowHeight = (table.getRowHeight() +  table.getRowMargin()) * scale;
        int numRowsOnAPage = (int) ( (pageHeight - headerHeightOnPage) / oneRowHeight);
        double pageHeightForTable = oneRowHeight *numRowsOnAPage;
        int totalNumPages = (int) Math.ceil( ( (double) table.getRowCount()) / numRowsOnAPage);
        if (pageIndex >= totalNumPages) {
          return NO_SUCH_PAGE;
        g2.translate(pageFormat.getImageableX(), pageFormat.getImageableY());
    //bottom center
        g2.drawString("Page: " + (pageIndex + 1 + " of " + totalNumPages),  (int) pageWidth / 2 - 35, (int) (pageHeight + fontHeight - fontDesent));
        g2.translate(0f, headerHeightOnPage);
        g2.translate(0f, -pageIndex * pageHeightForTable);
        //If this piece of the table is smaller
        //than the size available,
        //clip to the appropriate bounds.
        if (pageIndex + 1 == totalNumPages) {
          int lastRowPrinted =
              numRowsOnAPage * pageIndex;
          int numRowsLeft =
              table.getRowCount()
              - lastRowPrinted;
          g2.setClip(0,
                     (int) (pageHeightForTable * pageIndex),
                     (int) Math.ceil(tableWidthOnPage),
                     (int) Math.ceil(oneRowHeight *
                                     numRowsLeft));
        //else clip to the entire area available.
        else {
          g2.setClip(0,
                     (int) (pageHeightForTable * pageIndex),
                     (int) Math.ceil(tableWidthOnPage),
                     (int) Math.ceil(pageHeightForTable));
        g2.scale(scale, scale);
        printing = true;
        try {
        table.paint(g2);
        finally {
          printing = false;
        //tableView.paint(g2);
        g2.scale(1 / scale, 1 / scale);
        g2.translate(0f, pageIndex * pageHeightForTable);
        g2.translate(0f, -headerHeightOnPage);
        g2.setClip(0, 0,
                   (int) Math.ceil(tableWidthOnPage),
                   (int) Math.ceil(headerHeightOnPage));
        g2.scale(scale, scale);
        //table.getTableHeader().paint(g2);
        //paint header at top
        return Printable.PAGE_EXISTS;
    class TableRenderDollar extends DefaultTableCellRenderer{
        public Component getTableCellRendererComponent(
          JTable table,
          Object value,
          boolean isSelected,
          boolean isFocused,
          int row, int column) {
            setHorizontalAlignment(SwingConstants.RIGHT);
          Component component = super.getTableCellRendererComponent(
            table,
            value,
            isSelected,
            isFocused,
            row,
            column);
            if( value == null || value .equals("")){
              ( (JLabel) component).setText("");
            }else{
              double number = 0.0;
              number = new Double(value.toString()).doubleValue();
              DecimalFormat df = new DecimalFormat(",##0.00");
              ( (JLabel) component).setText(df.format(number));
          return component;
    }

  • Need some help with putting a folder in users directory

    I'm not sure how to do this, but what I want to do is put this file in C:/My Documents, but I need to be able to verify that C://My Documents exists, if not put it in C:/Program Files.
    Can any one help me out?
    try {
                        String[] contactArray = parseDatFile(fc.getSelectedFile());
                        Document document = createXMLDocument(contactArray);
                        saveToXMLFile(
                        document,
                        new File(
                        "C:/Program Files/xxx/",// looks for directory for list
                        "xxxxxxxxxxxxxxxxxxxxxxxxxxxx"));
                    } catch (Exception exc) {
                        File f = new File("C:/Program Files/xxx/");// setting directory for list if not there
                        boolean yes = true;
                        yes = f.mkdir();// creating directory
                        try {
                            String[] contactArray = parseDatFile(fc.getSelectedFile());
                            Document document = createXMLDocument(contactArray);
                            saveToXMLFile(
                            document,
                            new File(
                            "C:/Program Files/xxx/",// used only if the directory didn't exist
                            "xxxxxxxxxxxxxxxxxxxxxxx"));

    Need some help with putting a folder in users directoryI recomend using System.getProperty( "user.home" ) not a hard-coded value.
    This will use the users home folder ( C:\My Documents ) on Win9X (I guess), C:\Documents and Settings\<current user> on Win2K +, and ~ on Unix-a-likes.

  • Need some help with threads...

    Hello all,
    I am working on a project at work, and I am not the best programmer in the world. I have been trying to get my head around this for a couple of days and just cannot get it to work.
    I am writing an instrumentation control program that will have three threads. One is the GUI, one will receive control information and set up the hardware, and one will check the hardware status and report it to the GUI periodically. I plan on using the invokeLater() method to communicate the status to the GUI and change the status display in the GUI. Communication from the GUI to the controller thread and from the status thread to the controller thread I had planned on being piped input/output stream as appropriate. I have a control class and a status class that need to be communicated over these piped streams. In some trial code I have been unable to wrap the piped input/output streams with object input/output streams. I really need some help with this. Here is the main thread code:
    package playingwiththreads1;
    import java.io.*;*
    *public class PlayingWithThreads1 {*
    public static void main(String[] args) {*
    * PipedOutputStream outputPipe = new PipedOutputStream();*
    * ObjectOutputStream oos = null;*
    * ReceiverThread rt = new ReceiverThread(outputPipe);*
    // Start the thread -- First try*
    * Thread t = new Thread(rt);*
    t.start();*
    // Wrap the output pipe with an ObjectOutputStream*
    try*
    oos = new ObjectOutputStream(outputPipe);*
    catch (IOException e)*
    System.out.println(e);*
    // Start the thread -- Second try*
    //Thread t = new Thread(rt);*
    //t.start();*
    /** Send an object over the pipe. In reality this object will be a
    class that contains control or status information */
    try
    if (!oos.equals(null))
    oos.writeObject(new String ("Test"));
    catch (IOException e)
    try
    Thread.sleep(5000);
    catch (InterruptedException e)
    I read somewhere that it matters where you start the thread relative to where you wrap piped streams with the object streams. So, I tried the two places I felt were obvious to start the thread. These are noted in the comments. Here is the code for the thread.
    package playingwiththreads1;
    import java.io.*;
    public class ReceiverThread implements Runnable {
    private PipedInputStream inputPipe = new PipedInputStream();
    private ObjectInputStream inputObject;
    ReceiverThread (PipedOutputStream outputPipe)
    System.out.println("Thread initialization - start");
    try
    inputPipe.connect(outputPipe);
    inputObject = new ObjectInputStream(inputPipe);
    catch (IOException e)
    System.out.println(e);
    System.out.println("Thread initialization - complete");
    public void run()
    System.out.println("Thread started");
    try
    if (inputObject.available() > 0)
    System.out.println(inputObject.read());
    catch (IOException e)
    System.out.println(e);
    Through testing I have determined that no matter where I start the thread, the thread never gets past the "inputObject = new ObjectInputStream(inputPipe);" assignment.
    Could someone please help me with this? There are other ways for me to write this program, but this is the one that I would like to make work.
    Many thanks in advance,
    Rob Hix
    Edited by: RobertHix on Oct 6, 2009 3:54 AM

    Thanks for the help, but that did not work. I tried flushing the ObjectOutputStream and it is still hanging when initializing the thread.
    Here is a better look at the code since I was helped to figure out how to insert it:
    The main method:
    package playingwiththreads1;
    import java.io.*;
    public class PlayingWithThreads1 {
        public static void main(String[] args) {
            PipedOutputStream outputPipe = new PipedOutputStream();
            ObjectOutputStream oos = null;
            ReceiverThread rt = new ReceiverThread(outputPipe);
            // Start the thread -- First try
            //Thread t = new Thread(rt);
            //t.start();
            // Wrap the output pipe with an ObjectOutputStream
            try
                oos = new ObjectOutputStream(outputPipe);
                oos.flush();
            catch (IOException e)
                System.out.println(e);
            // Start the thread -- Second try
            Thread t = new Thread(rt);
            t.start();
            /* Send an object over the pipe.  In reality this object will be a
             * class that contains control or status information */
            try
                if (!oos.equals(null))
                    oos.writeObject(new String ("Test"));
                    oos.flush();
            catch (IOException e)
                System.out.pringln(e);
            try
                Thread.sleep(5000);
            catch (InterruptedException e)
    }The thread code:
    package playingwiththreads1;
    import java.io.*;
    public class ReceiverThread implements Runnable {
        private PipedInputStream inputPipe = new PipedInputStream();
        private ObjectInputStream inputObject;
        ReceiverThread (PipedOutputStream outputPipe)
            System.out.println("Thread initialization - start");
            try
                inputPipe.connect(outputPipe);
                inputObject = new ObjectInputStream(inputPipe);
            catch (IOException e)
                System.out.println(e);
            System.out.println("Thread initialization - complete");
        public void run()
            System.out.println("Thread started");
            try
                if (inputObject.available() > 0)
                    System.out.println(inputObject.read());
            catch (IOException e)
                System.out.println(e);
    }Does anyone else have and ideas?

  • Need some help with computation

    Hi, I need some help with the following:
    My page 3 is a form thats shows, among other things, a document ID (:P3_DOC_ID). Next to this item I have created a button that calls a document selection form (page 10).
    On selection this forms sets 2 items:
    P10_SELECTED (Y or N)
    P10_DOC_ID (the selected documents ID value)
    When the user selects a document he returns to the calling form.
    On page 3 I now try to capture the selected values. For a test item I managed to do this by defining this items source as:
    [PL/SQL function body]
    begin
    if V('P10_SELECTED') = 'Y'
    then
    return V('P10_DOC_ID'); -- selected value
    else
    return V('P3_TEST'); -- else the original value
    end if;
    end;
    However I want P3_DOC_ID to capture the selected value. I tried using a computation but that did not work. Any ideas?
    thanks Rene

    You might want to check if the "Source Used" attribute for P3_DOC_ID is set to always or to "only when ..." it sounds like you need it set to "only when ..."
    If that does not work try this
    Place the following in a pl/sql anonymous block and turn off your
    computation.
    if :P10_SELECTED = 'Y'
    then
    :P3_DOC_ID := :P10_DOC_ID; -- selected value
    else
    :P3_DOC_ID := :P3_TEST; -- else the original value
    end if;
    Justin

  • Need some help with Flash + Captivate (ActionScript in Flash)

    I have what I think is a fairly simple question.... I have an SWF File embedded in a Captivate 4 Presentation. The SWF requires the user to click on a variety of items, after they have gone through all the required items a "FINISH" button appears... I want the finish button to "close" the SWF file.
    I'll add this info to in case it helps with the "right" answer....
    The reason I am doing this is because Captivate automatically rolls from one "slide" to the next. The only way to stop this is to add a "pause" button to the slide, I want the user to have to finish the SWF before they can see the "next" button in the captivate file...So I was thinking, put the "swf" over the "next" button... then have the "complete" button close the swf revealing the covered "next" button in captivate....
    The short version of what I need is information on closing an SWF file via a button click. Is there a "swf.visible=false" or anything like that?

    Need some help with putting a folder in users directoryI recomend using System.getProperty( "user.home" ) not a hard-coded value.
    This will use the users home folder ( C:\My Documents ) on Win9X (I guess), C:\Documents and Settings\<current user> on Win2K +, and ~ on Unix-a-likes.

  • Error 1603: Need some help with this one

    When installing iTunes I first get an error box saying
    "Error 1406: Could not write value to key \Software\classes\.cdda\OpenWithList\iTunes.exe. Verify that you have sufficient access to that key, or contact your support personnel."
    The second one (after I click on Ignore on the last box) I get it this one:
    "Error: -1603 Fatal error during installation.
    Consult Windows Installer Help (Msi.chm) or MSDN for more information"
    Strange thing is that I do have full access to my computer (or atleast in all other cases I have had since I am the only one with an account on it).
    I have done my best in trying to solve it myself but I'm running out of ideas. I have downloaded latest versions from the website and tried installing Quicktime separately. I have also tried removing Quicktime using add/or remove programs though I just I didn't dare to take full removal because it said something about system files.
    Anyway I really need some help with this, anyone got any ideas?
    Greets,
    Sixten
      Windows XP Pro  

    Do you know how to count backwards? Do you know how to construct a loop? Do you know what an autodecrementor is? Do you know how to use String length? Do you know Java arrays start with index 0 and run to length-1? Do you know you use length on arrays too? Do you know what System.out.println does?
    Show us what you have, there isn't anything here that isn't easily done the same as it would be on paper.

  • Need some help with a Macally enclosure and a spare internal drive

    Need some help with a Macally enclousure
    Posted: Oct 1, 2010 10:55 AM
    Reply Email
    Aloha:
    I have a Macally PHR-S100SUA enclousure that does not recognise,my WD 1001fals hard drive. It has worked just fine with other internal drives, but not this one?
    This is a spare internal drive that I am trying to make an external drive to store back ups for a lot of data. But so far I can not get it recognized by the computer. Maybe I need different drivers?
    Any suggestions?
    Dan Page

    Hi-
    Drivers aren't typically needed for external enclosures.
    Macally has none listed for that enclosure.
    The same is true for the WD drive, internal or external; no drivers.
    With the exception of high end PM multi drive enclosures, I can't think of any that use drivers.
    How is the external connected?
    Have you tried different cables, different ports?
    Bad/damaged cables are fairly common.
    Have you verified connections inside of the enclosure?

  • Need some help with downloading PDF's from the net.

    need some help with downloading PDF's from the net.  Each time I try to click on a link from a website, if it takes me to a new screen to view a pdf, it just comes up as a blank black screen?  any suggestions?

    Back up all data.
    Triple-click the line of text below to select it, the copy the selected text to the Clipboard (command-C):
    /Library/Internet Plug-ins
    In the Finder, select
    Go ▹ Go to Folder
    from the menu bar, or press the key combination shift-command-G. Paste into the text box that opens (command-V), then press return.
    From the folder that opens, remove any items that have the letters “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari, and test.
    The "Silverlight" web plugin distributed by Microsoft can also interfere with PDF display in Safari, so you may need to remove it as well, if it's present.
    If you still have the issue, repeat with this line:
    ~/Library/Internet Plug-ins
    If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari again.

  • Need some help with the Select query.

    Need some help with the Select query.
    I had created a Z table with the following fields :
    ZADS :
    MANDT
    VKORG
    ABGRU.
    I had written a select query as below :
    select single vkorg abgru from ZADS into it_rej.
    IT_REJ is a Work area:
    DATA : BEGIN OF IT_REJ,
            VKORG TYPE VBAK-VKORG,
            ABGRU TYPE VBAP-ABGRU,
           END OF IT_REJ.
    This is causing performance issue. They are asking me to include the where condition for this select query.
    What should be my select query here?
    Please suggest....
    Any suggestion will be apprecaiated!
    Regards,
    Developer

    Hello Everybody!
    Thank you for all your response!
    I had changes this work area into Internal table and changed the select query. PLease let me know if this causes any performance issues?
    I had created a Z table with the following fields :
    ZADS :
    MANDT
    VKORG
    ABGRU.
    I had written a select query as below :
    I had removed the select single and insted of using the Structure it_rej, I had changed it into Internal table 
    select vkorg abgru from ZADS into it_rej.
    Earlier :
    IT_REJ is a Work area:
    DATA : BEGIN OF IT_REJ,
    VKORG TYPE VBAK-VKORG,
    ABGRU TYPE VBAP-ABGRU,
    END OF IT_REJ.
    Now :
    DATA : BEGIN OF IT_REJ occurs 0,
    VKORG TYPE VBAK-VKORG,
    ABGRU TYPE VBAP-ABGRU,
    END OF IT_REJ.
    I guess this will fix the issue correct?
    PLease suggest!
    Regards,
    Developer.

  • Need some help with ".png" image.

    Good day everyone. Here's the run down. I need to add an
    image (image "A") ontop of another image (image"B"). Image "B" is a
    paterned background. And Image "A" a logo with a transparent
    background.
    As it stands I have image "A" as a "png" and as you know....
    they are fri**ing huge! Haveing it as a "gif" only presents me with
    the IE6 problem of it adding a colored background to the image.
    So I'm stuck! Can any one tell me or point me in the
    difection of a tutorial to tell me the best way to add an image
    with a transparent background in Dreamweaver.
    Really need some help with this!
    Thanks all!

    >Right you can see the work in progress here>
    http://www.stclairecreative.com/DoughBoys_Site_Folder/home.html
    Before going much further I'd recommend reconsidering the use
    of a textured background. They are usually included for the benefit
    of the site owner only, and likely to annoy visitors. Studies on
    the subject suggest they often lead to usability problems. I do
    like to header graphic, but at 200K it's kinda heavy and can
    probably be optimized.

Maybe you are looking for

  • Remote interface distribution

    Hi, I am just learning to use RMI, have a typical setup, Server and Client and everything works fine, BUT....... I have compiled my remote classes, ie RmtServer, RmtServerImpl, then run the rmiregistry and then started the service, so far so good. I

  • Lightdm with unity-greeter won't load

    I've been attempting to install lightdm and the unity greeter, and I'm a bit stuck here. I've installed the lightdm-ubuntu and lightdm-unity-greeter packages from the AUR.  It starts up normally, but there is no gear available to choose session type,

  • RMI-server communicates oracle: Exception

    Hallo everybody, My task is: - to implement in oracle Java stored procedure, - to implement RMI server - to load in oracle wrapper for Connection-object (ConnectionImpl), that has a reference at Connection (default oracle Connection), this Connection

  • How to help with battery life in iOS 7

    Some tips to help with battery life -disable location services(for apps that do not need it) -turn off ask to join networks under wifi, so your phone will not keep searching for networks unless you tell it to -turn off airdrop/bluetooth if you don't

  • New ipad 3g just came but all I see is a picture of a plug and an itunes

    icon, how do I get this thing to do anything?