Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / GUI / October 2006

Tip: Looking for answers? Try searching our database.

how to use GUI to customize the index of keyword

Thread view: 
paullin08@gmail.com - 26 Oct 2006 03:04 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?

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



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.