Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #16259
| From | Lew <lewbloch@gmail.com> |
|---|---|
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: NetBeans Application with sortable Table and pre-existing frame/table code |
| Date | 2012-07-23 12:55 -0700 |
| Organization | http://groups.google.com |
| Message-ID | <2c4cb42d-92d9-48a6-9d69-0f63c5461070@googlegroups.com> (permalink) |
| References | <e4d9d3b6-0457-45c8-9bf3-6f7bbe0da09a@googlegroups.com> |
(unknown) wrote: > 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. Each of those error messages can be solved by analysis and the right code changes. Giving up on error messages is a recipe for failure. > http://www.java-tips.org/java-se-tips/javax.swing/sorting-and-filtering-tables.html Where's *your* code? http://sscce.org/ > 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. Do you have a better example for us? -- Lew
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | 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