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.

[swing] Label/ImageIcon in JTable

Empfohlene Antworten

hi,

habe hier eine Tabelle

1. Spalte: Name

2. Spalte: Long-Wert

3. Spalte: Symbol ?

Symbole anzeigen an sich, kein Problem. JLabel mit ImageIcon....leider gibt die JTable aber immer nur Strings aus... oder irre ich ?

Mit JList geht es auch nicht, weil die Liste ja nur eine Spalte hat.

'nur' mit Panels, die ich dann manuell Ausrichte ist blöd, da ich nachher ein Select-Event abfangen will.

ideen ?

würde dir empfehlen einen CellRenderer zu machen.. schau dir dazu einfach mal die beschreibung an oder ein Tutorial ist net schwer ... ne vernüftigen beschreibung (mir hat sie gereicht) findest auch in "Java ist eine Insel"

axo hier der link:

http://www.galileocomputing.de/openbook/javainsel4/javainsel_15_024.htm#Xxx999378

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.