Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #16250
| From | clusardi2k@aol.com |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | NetBeans Application with sortable Table and pre-existing frame/table code |
| Date | 2012-07-23 10:54 -0700 |
| Organization | http://groups.google.com |
| Message-ID | <e4d9d3b6-0457-45c8-9bf3-6f7bbe0da09a@googlegroups.com> (permalink) |
I have an NetBeans application with a few controls. To this, I dragged a Swing Table control from the control palette. I'd like to use all of these and not use the below code. The reason I don't want to use the below example is I cannot use the dragged in table above. I unsuccessfully tried to modify this code (the frame and table variable names) to use the above dragged-in table with its pre-existing frame. But, when I try to do that I get error messages such as "non-static method add (...) cannot be referenced from a static context". I even tried instantiating a class object, but received similar error messages. http://www.java-tips.org/java-se-tips/javax.swing/sorting-and-filtering-tables.html This linked example creates a table (columns which are sortable) but the new window is not docked anywhere. Do you have a better example for me. Thanks,
Back to comp.lang.java.programmer | Previous | Next — Next in thread | Find similar | Unroll thread
NetBeans Application with sortable Table and pre-existing frame/table code clusardi2k@aol.com - 2012-07-23 10:54 -0700
Re: NetBeans Application with sortable Table and pre-existing frame/table code Lew <lewbloch@gmail.com> - 2012-07-23 12:55 -0700
Re: NetBeans Application with sortable Table and pre-existing frame/table code clusardi2k@aol.com - 2012-07-25 07:54 -0700
Re: NetBeans Application with sortable Table and pre-existing frame/table code clusardi2k@aol.com - 2012-07-25 08:14 -0700
Re: NetBeans Application with sortable Table and pre-existing frame/table code clusardi2k@aol.com - 2012-07-25 08:37 -0700
Re: NetBeans Application with sortable Table and pre-existing frame/table code Nigel Wade <nmw@ion.le.ac.uk> - 2012-07-25 16:40 +0100
Re: NetBeans Application with sortable Table and pre-existing frame/table code clusardi2k@aol.com - 2012-07-25 09:31 -0700
csiph-web