I have a short list of keywords, and want to manually pick out some
keywords from one list to another new list, and there are also two
button, UP and DOWN to change index order.
I am new user to Java GUI. Would you please tell me how to code it, or
show me some sample code?
Here is an example figure, which I cut from a tool.
http://www.freefilehosting.net/bin/?id=rdn8kKjZ9A==
Thanks in advance!
Paul
hiwa - 26 Oct 2006 04:26 GMT
> I have a short list of keywords, and want to manually pick out some
> keywords from one list to another new list, and there are also two
[quoted text clipped - 10 lines]
>
> Paul
You could use javax.swing.JList component.
Study the API documentation of the class and read the Swing tutorial at
Sun site.
PJava - 26 Oct 2006 04:34 GMT
Thanks a lot
> > I have a short list of keywords, and want to manually pick out some
> > keywords from one list to another new list, and there are also two
[quoted text clipped - 13 lines]
> Study the API documentation of the class and read the Swing tutorial at
> Sun site.
Thomas A. Russ - 30 Oct 2006 17:32 GMT
> I have a short list of keywords, and want to manually pick out some
> keywords from one list to another new list, and there are also two
> button, UP and DOWN to change index order.
>
> I am new user to Java GUI. Would you please tell me how to code it, or
> show me some sample code?
First off, read the tutorial about using JLists and JButtons from the
Sun Swing website. Then
Use two JLists and several buttons.
Put them in a JPanel, using a layout manager.
Hook them up to do what you want.
Then ask specific questions about the parts that you can't get working
correctly, after trying it.
> Here is an example figure, which I cut from a tool.
>
[quoted text clipped - 3 lines]
>
> Paul

Signature
Thomas A. Russ, USC/Information Sciences Institute