473,788 Members | 2,893 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Using java Applets

Hi,

I'm having problems with Java applets. I just generated a JApplet (also
tried normal Applet) in Netbeans which is delivered with the newest JDK.
When I compile it in Netbeans it seems to work fine. But when I try outside
Netbeans by opening the html page which is automatically generated I only
see a gray area where the applet was supposed to be... I tried some other
example applets on the internet. Some work but also many won't show up. Has
it something to do with some kind of option / component used in the applet?
The applet I created was just a JApplet with a Jbutton, a panel and a list.
I'm using win98 with IExploder 5.5

Greetings,
Rick
Jul 17 '05 #1
1 2638
Rick,
By default Microsoft uses an older version of JVM, which is compatible
with JDK 1.1.4 and does not support JSwing. If you are using any Swing
in your applet, MS VM won't be able to interpret that. You will have to
install the latest VM from Sun. On the other hand, if you are using
Netscape, it comes with Java 2 and your applet should work fine.

KB

------------------------------------------------------------------------
This email is certified to be Spam free by Spam Marshall

You don't pay to get spam, why pay to clean it?
Visit http://www.spammarshall.com to create an account for free
<http://www.spammarshal l.com>

------------------------------------------------------------------------
Rick wrote:
Hi,

I'm having problems with Java applets. I just generated a JApplet (also
tried normal Applet) in Netbeans which is delivered with the newest JDK.
When I compile it in Netbeans it seems to work fine. But when I try outside
Netbeans by opening the html page which is automatically generated I only
see a gray area where the applet was supposed to be... I tried some other
example applets on the internet. Some work but also many won't show up. Has
it something to do with some kind of option / component used in the applet?
The applet I created was just a JApplet with a Jbutton, a panel and a list.
I'm using win98 with IExploder 5.5

Greetings,
Rick

Jul 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
24743
by: Steven Green | last post by:
I have a java app at work I used when I had Windows 98 and never had a problem. I did a clean install of Windows XP and of course Java was not included. I went to Sun, download Java 2 Runtime Environment, SE v 1.4.2 and Java 2 Runtime Environment SE v 1.4.1_01. The Java app will not work with WinCP. I have installed the Windows XP Service pack 1, IE service pack 1 and I have downloaded Netscape and Opera. The same problem happens in...
1
4691
by: Put 030516 in email subj to get thru | last post by:
I have a nice little applet on my web page at: www.benslade.com/pictures/2003/jul/alaska/images/Ben's_Alaska_Vacation_Slideshow.html (yes, that's an apostrophe in the URL, sorry) It runs fine everywhere except for MS-IE 6.x browsers. There I just get a grey screen where the applet is supposed to go. If I enable the Java console log, I see a "ClassNotFound" exception coming from Microsoft's Java VM (no explicit popup error message...
1
2555
by: Jim Westwood | last post by:
Is it possible to write java applets in the python language. is that what jython does? I would realy like to write an applet but i dont know any java. I do have some python experience. Can you write the applets in pure python or do you have to know a little java? ifso is this done much? and is there any good documentation out there on how to do it thanks.
40
3186
by: Eitan | last post by:
Hello, I know Java-Applet (written for JBuilder). I would like to know about dotnet technology, pros and cons in comparation to Java-Applet technololgy. Can I write a program in dotnet, like Java-Applet, compile it, debug it, and put it as a class on an HTML (like Java-Applet). I would like to introduce to the dot net technology. Give me some samples, please, and a comparation to Java-Applet technology.
1
1842
by: Bradley1234 | last post by:
For some reason, on my win2000 sp4, newly updated generic Intel Pentium system, java applets on web pages stopped working This was about the time I downloaded the Microsoft Web developer beta tool, but am not sure. Ive been over and over the java settings, trying to get weather applets I used to check daily. setting the weather sites to "trusted site" and all permissions to lowest level, no, java applets just do not work.
12
4780
by: Wladimir Borsov | last post by:
On one of my web pages there is an java applets which works fine on my computer. However I noticed on some other computer that the run of java applets are disabled. I got an error message "Classnotfound" Is there a way to detect (with cgi resp. javascript) if java applets are allowed? I would like to show a simple picture instead of the applet pane if applets are not allowed. Wladimir
7
2647
by: Mario | last post by:
I've been reading some Sun Java articles where they say Applets cannot import dlls and cannot write to disk. (This does NOT apply to applications, only to Applets.) Supposedly, this is NOT something you can cotrol with a security manager or in any other way. The dll exclussion is due to the fact that the virtual machine cannot control what a dll is doing, perhaps writting malicious stuff to disk among other things. Is it true that...
30
2513
by: marc | last post by:
>From the book I am using as a reference I understood that applet tag was deprecated, but googling for information, and testing myself, it seems IE does not work properly with this new object tag. So my effort reading about the object tag was for nothing? Is there no way I can make this work for IE and Mozilla? <HTML> <HEAD> </HEAD> <BODY BGCOLOR="FFFFFF">
458
21482
by: wellstone9912 | last post by:
Java programmers seem to always be whining about how confusing and overly complex C++ appears to them. I would like to introduce an explanation for this. Is it possible that Java programmers simply aren't smart enough to understand C++? This is not merely a whimsical hypothesis. Given my experience with Java programmers --- the code they write and the conversations they have --- Occam's Razor points to this explanation. For example,...
0
9498
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10366
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10173
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
7517
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6750
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5536
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4070
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3674
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2894
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.