a java-swing problem...
hi,
I have a "swing" problem and i thought that
maybe someone can help me.
i wrote a program and i wanted to creat a gui to run it.
as i said i used swing for this pourpse.
i use mozilla in unix as the web browser that loads the applet.
I use jdk1.4.2.
i checked my program and it works fine as an application(the application
doesn't use Swing).
the problems begins when I try to use it as an applet.
when i click the start button, in the frame that i created, the mozilla
window is being closed and the program crashes. in the open shell I see one of these two messages:
1.
INTERNAL ERROR on Browser End: Plugin instance index out of bounds 29248
System error?:: Success
------------------------- or ----------------------------
2.
INTERNAL ERROR on Browser End: Pipe closed during read? State may be corrupt
System error?:: Success
[ i noticed one more strange thing:
the program runs fine as an applet in mozilla, just if i first run it as an
application from the shell.
otherwise it crashes....]
did anybody ever saw such a thing?
does anyone has any idea if this is a common problem or maybe i did something
wrong?
p.s
the applet that i am using is digitally signed - maybe this is the problem?
thanks a lot.
|