Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Java Applet

Empfohlene Antworten

Hi!

Ich hab ein Applet gecoded es funktioniert auch einwandfrei im Applet Viewer aber wenn ich es in den Browser einbinden gibts ne Fehlermeldung:

Class CertMail not found

die Datei CertMail.class liegt im selbem Ordner wie die HTML Datei diese enthällt folgenden code:

...

<APPLET code="CertMail" width="400" height="200">

</APPLET>

...

Das Applet enthällt einen konstruktor

public CertMail()

Deklaration JLabel, JTextField...

und eine ini Methode

public void init()

Design Objecte auf die Panels adden

Ich weiß überhaupt nicht, was ich falsch gemacht haben könnte, weil es ja im Applet Viewer funktioniert...

MfG Spoom

Die Klasse gibt´s so nicht.

Probier´s mal mit:

<APPLET code="CertMail.class" width="400" height="200">

Original geschrieben von Peeter

Die Klasse gibt´s so nicht.

Probier´s mal mit:

<APPLET code="CertMail.class" width="400" height="200">

Hab ich schon geht nicht!

Liegt die .class in genau dem selben Verzeichnis wie die HTML-Datei?

Original geschrieben von Peeter

Liegt die .class in genau dem selben Verzeichnis wie die HTML-Datei?

Ja hab ich oben beschrieben!

Ich habs jetzt im Opera mal Probiert, da kam die Fehlermeldung Ungültiger Bytcode nachdem ich es manuell nochmal compiliert hab , läufts jetzt bedingt im Opera (Man kann nichts in JTextFileds eingeben, JButtons, JChebox, ... funktionieren).

Der Ie meint aber immernoch Class nor found...

MfG Spoom

Ich habs jetzt im Opera mal Probiert, da kam die Fehlermeldung Ungültiger Bytcode nachdem ich es manuell nochmal compiliert hab , läufts jetzt bedingt im Opera (Man kann nichts in JTextFileds eingeben, JButtons, JChebox, ... funktionieren).

Der Ie meint aber immernoch Class nor found...

Unter welche VM lässt du das Applet dennim IE laufen? Wenn es die Original Uralt-Version von Microsoft ist, dann wirst du unter Verwendung von JButton, Jxxx nicht weit kommen, da die unter 1.1 noch nicht verfügbar waren. Da wirst du dann entweder ein aktuelles JRE installieren müssen, oder dich auf die java.awt.* Klassen beschränken.

Ciao

Christian

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.