Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / First Aid / January 2006

Tip: Looking for answers? Try searching our database.

some help required :  applets blinded

Thread view: 
whitewolf - 29 Jan 2006 12:30 GMT
Hi,

I experienced a strange behaviour  of some applets on mozilla 1.8 / W2K
.

The panels of the applet don't display any of its component. It's an
all blank  panel.

config :
I run W2K
Java config:
CLASSPATH=C:\Program
Files\Java\jre1.5.0_06\lib\ext\QTJava.zip;.
JAVA_HOME=C:\Program Files\Java\jdk1.5.0_02\bin

I also have other jre leftovers :
jre1.5.0_02
jre1.5.0_04

but they don't appear in the evironment.

The jdk is the only one in the environment (eclipse has
a wealth of stuff inside I don't want to know about).

TIA
Rhino - 29 Jan 2006 13:49 GMT
> Hi,
>
[quoted text clipped - 19 lines]
> The jdk is the only one in the environment (eclipse has
> a wealth of stuff inside I don't want to know about).

Does the applet work correctly in any _other_ environment? If yes, which
ones?

I know nothing about you and a lot of the people that ask questions on this
list are new to programming in Java (or programming in general) so this is
the first question that needs to be answered.

If you have seen the applet work fine in other environments, then your
environment may be an issue, as you suspect. Otherwise, especially if you
are new to Java, I'd suspect an error in your code, not your environment. I
can certainly remember applications I wrote which failed to display
components simply because I'd forgotten to do a setVisible() on the
application.

Rhino
whitewolf - 29 Jan 2006 14:28 GMT
It's not my code but applets from companies' sites. For instance the
online scan of trendmicro.com . At the beginning of the process the
applet "displays" the security panel asking the user to verify the
security certificate etc.
For instance, the panel remains completely blank (even though you can
blindly click on areas that appears to be some button's place. You see
what I mean?
Bye,

WW
Roedy Green - 29 Jan 2006 15:14 GMT
>It's not my code but applets from companies' sites. For instance the
>online scan of trendmicro.com . At the beginning of the process the
>applet "displays" the security panel asking the user to verify the
>security certificate etc.

to track down the source of the problem you need to do some
experiments:

1. try with different browsers.  If some work, we have a browser
compatibility bug. See http://mindprod.com/jgloss/browser.html

2. check which version of Java you are using. See
http://mindprod.com/applets/wassup.html to test.
If it is an old version, we need to get you upgraded.

3. turn on the console.  see http://mindprod.com/jgloss/console.html
in the browser and report what you see during the failure. There
should be some clues.

4. try some other applets to se if you problem is applets in general
or just this particular company's.

5. try enabling JavaScript. More and more companies are writing web
pages that require the accursed thing turned on.
Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.

whitewolf - 29 Jan 2006 16:28 GMT
It's not my code but applets from companies' sites. For instance the
online scan of trendmicro.com . At the beginning of the process the
applet "displays" the security panel asking the user to verify the
security certificate etc.
For instance, the panel remains completely blank (even though you can
blindly click on areas that appears to be some button's place. You see
what I mean?
Bye,

Thanks for your reply,
in fact the web page embedded applet run properly ( the big sun shining
etc ;-) but the problem arises with the detached windows which are some
kind of [J]Panel or other component relying on awt/swing package. For
instance when pointing mozilla to
http://mindprod.com/applets/wassup.html, such a dialog box pops up,
asking for authorization : the whole content of the panel is grey.
And surprise! the console itself is of the same blind grey.

Meanwhile the applet itself worked !!!  displaying the following:

browser = sun.plugin
browser.version = 1.1
file.separator = \
java.class.version = 49.0
java.specification.name = Java Platform API Specification
java.specification.vendor = Sun Microsystems Inc.
java.specification.version = 1.5
java.vendor = Sun Microsystems Inc.
java.vendor.url = http://java.sun.com/
java.version = 1.5.0_06
java.vm.name = Java HotSpot(TM) Client VM
java.vm.specification.name = Java Virtual Machine Specification
java.vm.specification.vendor = Sun Microsystems Inc.
java.vm.specification.version = 1.0
java.vm.vendor = Sun Microsystems Inc.
java.vm.version = 1.5.0_06-b05
line.separator = [binary chars: 0x0d 0x0a i.e. CrLf, \r\n]
os.arch = x86
os.name = Windows 2000
os.version = 5.0
path.separator = ;

... and don't know what to say, maybe some of you does... hopefully

WW
whitewolf - 30 Jan 2006 01:10 GMT
Hi,
a short update to let you know that  the problem comes to the
particular mozilla install on my system.  This is the direction  to
solve the problem.

Thanks to all of you  for your attention.

WW


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.