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 Applicationen Transparent?

Empfohlene Antworten

Veröffentlicht

Hi zusammen, ist es möglich Java Aplicationen teilweise transparent zu machen?

So das z.B. das Fenster an verschiedenen stellen durchsichtig ist und nur die Buttons bzw. Steuerelement sichtbar sind?

Schau Dir mal die Methode setOpaque von JComponent an, damit sollte es machbar sein.

Peter

Schau Dir mal die Methode setOpaque von JComponent an, damit sollte es machbar sein.
Damit erreichst du nur, dass die Komponenten selber durchsichtig sind - das Hauptfenster, dass vom OS bereitgestellt wird erreichst du so aber nicht.

SWT kann wohl Transparency, oder war mal angedacht gewesen, aber das letzte Mal als ich das gesehen habe war's noch im Beta-Stadium. Swing kann's definitiv nicht.

Servus perdi!

Alles klar, danke! Ich wusste nur, dass es die Methode zum opaque setzen gibt, aber das der Frame das nicht kann, habe ich eben erst gelernt. Bei SWT hat Stefan Matthias Aust auf http://www.3plus4software.de mal ein Beispiel für einen transparenten Splashscreen gehabt. Aber wahrscheinlich ist für den Threadersteller SWT keine Alternative.

Peter

thx ich werd mir das mal ansehen

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.