A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Convert an array into Jlist
Joined: Dec 27, 2010
Dec 27, 2010 08:53:32
Hi there i need some help, I am trying to create a GUI
That displays the elements from my array in Jlist inside the GUI
My array is Person  person, I Have two persons in my array
How can i display this array in Jframe ?
I have done some researched, you can use a
to do this not sure how to implemented
how do i convert my array into Jlist ?
Joined: Jan 28, 2003
Dec 27, 2010 09:08:21
There are a couple different ways to do this. The
part of the
Tutorial covers it pretty well:
Tutorial for Swing List components
I agree. Here's the link:
subject: Convert an array into Jlist
Setting JList Selections from String
how to pass the model to JList in netbeans5?
beguinning mediator stuff
converting integer to byte
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015