left justify icon in JTable cell
- From: "farseer" <farseer@xxxxxxxxxxxxx>
- Date: 23 Apr 2005 14:48:17 -0700
Hi,
i'm not well versed in swing as yet and have a question related to
custome cell renderers.
I have a custom cell renerer that adds and icon to in cell based on a
condition. If the condition is met, the cell would contain both text
and the icon. My question is, is there a way to have the icon appear
left justified, while the text remains centered in cell?
My guess is i my might have to create a panel or something, but i was
hoping it was possible with a label or other lightweight
components..(is JPanel light weight)?
thanks much...
.
- Follow-Ups:
- Re: left justify icon in JTable cell
- From: Christian Kaufhold
- Re: left justify icon in JTable cell
- Prev by Date: Re: Cursor in an uneditable textpane? (or getting chars as they are typed)
- Next by Date: Table cell renderer problem - paint problem?
- Previous by thread: Cursor in an uneditable textpane? (or getting chars as they are typed)
- Next by thread: Re: left justify icon in JTable cell
- Index(es):
Relevant Pages
|
|