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.

JLayeredPane Beispiel

Empfohlene Antworten

Hallo,

kennt sich jemand mit JLayeredPane aus?

Problem ist folgendes.

Ich will eine Simple Swing Anwendung Schreiben, in der Controlls auf 2 unterschiedlichen Ebenen angeordnet sind. D.H. das ich z.B. eine in der mitte geteilte Anwendung habe in der ein BasicPanel und ein BottomPanel vorhanden sind. Das Bottompanel soll auf einem anderen Layer liegen als das BasicPanel

Nun hab ich das Prinzip der Layer schon verstanden. Allerdings komme ich mit den Add's und dem Index ein bißchen auseinander.

Hat irgendwer ein HowTo für so eine simple anwendung oder antwort auf die folgenden Fragen?

Wie erzeuge ich 2 Layer aus meinem Applet?

mit JLayeredPane Layer1 = super.getLayeredPane(); ??

Wie weise ich diesem Layer den Index, also die Höhe der Ebene zu?

Wie hebe ich ein Panel auf diesen Layer.

Wie gebe ich dann diesem Panel ein Control z.B. Editfeld?

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.