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.

Eclipse Visual Editor- Layouts hinzufügen

Empfohlene Antworten

Hallo zusammen,

Ich verwende Eclipse 3.1M4 mit dem Visual Editor.

Ich habe mir nun eine Testklasse erstellt.

Diese besteht aus einem einfachen JFrame mit einem JPanel darin.

Nun habe ich ja verschiedene Auswahlmöglichkeiten mit JPanel verschiedene Layouts zuzuweisen ( z.B. "FlowLayout", "CardLayout", "BorderLayout",....).

Ich habe mir ein weiteres Layout von community.java.net runtergeladen.

Diese möchte ich nun diese Auswahl hinzufügen.

Wie und wo kann ich das tun?

Danke und Viele Grüße,

Markus

Hallo zusammen,

nach langer suche konnte ich folgendes Feststellen:

In der Datei

"\eclipse\plugins\org.eclipse.ve.jfc_1.0.2\overrides\java\awt\LayoutManager.override "

folgenden Code nach dem letzten Layout (in meinem Fall GridLayout) anfügen:


	<addedEObjects xsi:type="ecore:EAnnotation" source="org.eclipse.ve.LayoutInfo">

		<details key="org.eclipse.ve.internal.jfc.core.layoutManagerClass"

			value="com.jgoodies.forms.layout.FormLayout"/>

		<details key="org.eclipse.ve.internal.jfc.core.layoutManagerDisplayName"

			value="FormLayout"/>

	</addedEObjects>

jetzt ist das Layout zur Auswahl bereit.

Weiterhin müsste nun irgendwo Constructor-Parameter, FormHandling etc. hinterlegt werden.

Das wird nun das 2. Problem geben.....

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

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.