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.

Passwortfeld

Empfohlene Antworten

Und noch eine Frage:

Wie kann ich ein normales AWT Eingabefeld in eins verwandelt das die Eingabe verschlüsselt (für ein Passwortfeld)?

Ich hab dir die passage mal unterstrichen.

<input type=text size=10 id="Username">

<input type=password size=10 id="Password">

und wo trage ich das ein? Ist das wirklich Java? Sieht aus wie Java Script.

Original geschrieben von StarPrinz

Ich hab dir die passage mal unterstrichen.

<input type=text size=10 id="Username">

<input type=password size=10 id="Password">

Das ist HTML!!!!

Bei Swing gibt es die Komponente JPasswortField.

Bei AWT wirst du dir das selber stricken müßen.

Zum Beispiel kannst du jeden eingegeben Buchstaben abfragen und durch ein * ersetzen.

Gruß Jaraz

Das Textfeld in AWT hat eine Methode setechochar(char)

(so oder so ähnlich, ich bin mir nicht 100%ig sicher) mit der kannst du angeben mit welchem Zeichen der Text im Textfeld verschlüsselt wird. Mehr brauchts nicht.

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.