Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #32588
| Newsgroups | comp.lang.java.programmer |
|---|---|
| Date | 2015-09-15 17:07 -0700 |
| Message-ID | <a3f016f7-b5fa-4c80-8cb0-5ebf0a533298@googlegroups.com> (permalink) |
| Subject | Applets? |
| From | SpreadTooThin <bjobrien62@gmail.com> |
I tried writing a small applet that used swing.
However when I try to run it in my browswer, (firefox, chrome) I get a message saying
"This plugin is not supported."
It's a really simple swing listbox....
// This is the html file
<html>
<head>
<title>"my dpa class"</title>
</head>
<body>
<applet code="dpa.class" widht="45" height="100"></applet>
</body>
</html>
// This is the java file which i compiled into a class...
import javax.swing.JApplet;
import javax.swing.JTextArea;
public class dpa extends JApplet {
@Override
public void init() {
JTextArea area = new JTextArea("Hello World");
this.add(area);
}
}
What have I done wrong?
I looked for some security setting but maybe I'm missing something more fundamental.
Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar | Unroll thread
Applets? SpreadTooThin <bjobrien62@gmail.com> - 2015-09-15 17:07 -0700
Re: Applets? Knute Johnson <nospam@rabbitbrush.frazmtn.com> - 2015-09-15 17:56 -0700
Re: Applets? Jeff Higgins <jeff@invalid.invalid> - 2015-09-15 21:00 -0400
Re: Applets? SpreadTooThin <bjobrien62@gmail.com> - 2015-09-16 07:21 -0700
Re: Applets? e.d.programmer@gmail.com - 2015-09-16 07:28 -0700
Re: Applets? Arne Vajhøj <arne@vajhoej.dk> - 2015-09-16 21:10 -0400
Re: Applets? Arne Vajhøj <arne@vajhoej.dk> - 2015-09-16 21:16 -0400
csiph-web