Code Comments
Programming Forum and web based access to our favorite programming groups.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...
Post Follow-up to this message
Show a Printable Version
Email This Page to Someone!
Receive updates to this thread
Powered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.