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 / General / March 2007

Tip: Looking for answers? Try searching our database.

GUI controls collections

Thread view: 
Kisu - 26 Feb 2007 12:42 GMT
Hello

I'm beggining programming in java and I'm looking for collection of
java gui controls ( I need something more advanced that default swing
controls ). Do You know any popular controls collection ? I'm
interested especialy in free  solutions.

Thanks
Andrew Thompson - 26 Feb 2007 14:39 GMT
..
> I'm beggining programming in java and I'm looking for collection of
> java gui controls ( I need something more advanced that default swing
> controls ).

What more do you need a button* to do?

* Or text area, or scrollpane, or..

> ..Do You know any popular controls collection ? I'm
> interested especialy in free  solutions.

Of course you are.

Andrew T.
josh - 01 Mar 2007 22:41 GMT
Kisu napisał(a):
> Hello
>
[quoted text clipped - 4 lines]
>
> Thanks

Maybe Glazed Lists are something you could be interested in? Basically
Glazed Lists is a project that introduces the EventList interface.
EventList extends List interface with events (this is just what its name
states :) There are really lot of implementations of EventList in that
project and they also have a special classes that can create JTable's
model or JList's model based on EventList implementation.
For example:
Class Person: firstName/lastName/age

EventList<Person> myList = new BasicList<Person>()

TableFormat<Person> format = GlazedLists.TableFormat(Person.class,
  new String[] {"firstName","lastName","age"},
  new String[] {"First Name", "Last Name", "Age"});
TableModel<Person> tableModel = new TableModel(myList,format);
JTable myTable = new JTable(tableModel);

Now, when you add/remove something to/from that list or do whatever you
can with any other List - this will be reflected in that JTable.
Just take a look at API - look how many things can implement EventList
interface. Take a look at tutorial as well...


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.