LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 10-27-2004, 04:14 AM   #1
shosh
LQ Newbie
 
Registered: Oct 2004
Posts: 3

Rep: Reputation: 0
Unhappy 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.
 
Old 10-27-2004, 10:23 AM   #2
pycoucou
Member
 
Registered: Apr 2004
Location: Edinburgh
Posts: 78

Rep: Reputation: 15
I am not acquainted with the applets and I've just done a couple of dirty gui but is it still crashing with appletviewer? It might be easier to debug with that... but I may say crap.
 
Old 06-26-2009, 05:38 AM   #3
rajeshbihade
LQ Newbie
 
Registered: Jun 2009
Posts: 3

Rep: Reputation: 0
Question Fwd: Subject:-Crashing Fire fox browser when running SaneAppletExample.java.

We are using your Scan applet Example for scanning, but we are facing some problem while running the applet on fire fox 3.0 with O/S Linux open Suse & scanner HP 3050.

We face crashing problem when we go through the following steps.



1) Start Application.

2) Call applet.

3) Click on acquire.

4) Click on Start.

5) Scan image (It completely scan selected image & goes to desired path.).

6) When we click on close button.

7) The browser gets crashed.



It will very helpful if you give some solution on above problem.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tightvnc java swing interface linuxmandrake Linux - Software 0 11-30-2005 05:28 AM
Java Swing Card Game kermitthefrog91 Programming 11 08-18-2005 11:46 AM
java swing JTextArea gauravbagga Programming 1 05-23-2005 04:34 AM
Java help! Using Swing and Layouts Mega Man X Programming 7 02-05-2004 05:02 PM
Cannot Get Swing to work in a Java Applet? Checkers Linux - Software 0 03-17-2003 03:23 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration