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.

IE aus einer Swing-Aplikation aufrufen

Empfohlene Antworten

HI,

ich will aus einer Java Swing Anwendung den IE mit einer localen adresse aufrufen, wie funzt das?

:confused:

mfg

trc

Das machst du über die Klasse Runtime. Das sieht dann so aus:

           try {

        Runtime.getRuntime().exec("C:\\Program Files\\Internet Explorer\\IEXPLORE.EXE [url]http://www.retail-sc.com[/url]");

    } catch (java.io.IOException iex) {

        System.out.println("Error during execution of browser : ");

        iex.printStackTrace();

    }

Schön ist natürlich, wenn du vorher noch suchst, wo der Internet Explorer ist...

merzy

wie kann ich in java herausfinden aus welchem verzeichnis das programm gestartet wurde?

mit System.getProperty("user.dir");

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.