Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Applet doesn't show all its parts on laptop PC's 1

Status
Not open for further replies.

cadoltt

Programmer
Jun 9, 2005
85
CA
Hi everybody,


I've got a weird problem running my applet on laptop computers.

The main applet window has a few buttons, textfields, a table accomodating two columns of numerical data and a graph field. The graph field is a part of the window developed based on JPanel class. Its purpose is to produce simple 2D graphs (dots and lines) from the table data.

The program works all right when running on desktop computers, but on two laptop PC's I tried it does everything but the graph building. The graph area stays clear.

OS: Windows-XP/2000
Browser: IE-6

I can't figure out whether this is a programming problem or, say, there is something wrong with IE settings.

Can anyone tell me what's going on?

Thanks,

Alex
 
Does your applet use external resources?
What about java versions on both cases?
Any error messages shown on Java console?

Cheers,

Dian
 
Hi Dian,

Thanks for your response.


//Does your applet use external resources?
- No. All its data is hardcoded. ... Though, it uses two images (gif) but they are displayed OK.


//What about java versions on both cases?
- The applet has been developed with Java 1.4.2 (on my desktop), then everything was placed in a jar file (including the images). To run the applet on the laptops in both cases I installed JRE 1.3.1.


//Any error messages shown on Java console?
- Hmmm... I am not really sure how I can see the console having installed just JRE. Can we do this?


...Alex
 
Hi Alex.

About the versions, my question is if there's any difference between java versions installed on the PCs and the laptops.

One thing you can try is installinh the JRE 1.4 in one laptop.

The Java console is accesible if you have the Java plugin installed, a coffe cup appears on the bottom rigth part of windows desktop.

Cheers,

Dian
 
Dian,

The thing is I don't have those laptops handy (they are not mine), so it's hard to check what you are suggesting right away. But I will, and then I will let you know the result .

Thanks a lot!

Alex.
 
Temporarily remove 1.4 from your development machine and install 1.3. Then you can see if that is the problem.

Tim
---------------------------
"Your morbid fear of losing,
destroys the lives you're using." - Ozzy
 
timw,

I am sorry, I didn't see your post earlier. Thank you for this tip. I don't have the laptop to try what you advise (that was somebody's) but when I do I'll check the Java versions compatability first thing.

Thanks again!

Alex

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top