Results 1 to 3 of 3
Thread: Custom JList
- 11-17-2011, 11:58 PM #1
Member
- Join Date
- Nov 2011
- Posts
- 1
- Rep Power
- 0
Custom JList
Hello,
by default we have a JList filled with values which looks something like this:
is it possible to make a custom JList, filled with more values in specified positions as in the picture below (for example "Name" value on the left, "Birth" on the right, "Address" at the bottom)? ("Name", "Birth" and "Address" should count as one element in JList)
-
Re: Custom JList
Yes, this is quite do-able, but you'll need to create your own renderer for the list. The Swing tutorials can help you with this.
- 11-18-2011, 12:57 AM #3
Moderator
- Join Date
- Jul 2010
- Location
- California
- Posts
- 1,638
- Rep Power
- 13
Similar Threads
-
Public API for Custom XML Parts & Custom Parts, Graphics Rendering
By sherazam in forum Java SoftwareReplies: 0Last Post: 09-12-2011, 02:06 PM -
Link one JList to another JList
By mib1bee in forum AWT / SwingReplies: 1Last Post: 12-31-2010, 08:10 PM -
Link one JList to another JList
By mib1bee in forum Advanced JavaReplies: 1Last Post: 12-30-2010, 07:35 PM -
Link one JList to another JList
By mib1bee in forum New To JavaReplies: 1Last Post: 12-30-2010, 07:24 PM -
JList with custom Array
By sony144 in forum Advanced JavaReplies: 1Last Post: 10-09-2010, 07:35 PM
Bookmarks