Results 1 to 6 of 6
Thread: QueryTableModel question
- 07-05-2011, 08:15 AM #1
Senior Member
- Join Date
- Jun 2011
- Posts
- 100
- Rep Power
- 0
QueryTableModel question
I created a QueryTableModel in a separate class called QueryTableModel.java
Then my first UI call it in and yes, it can populate the table.
Then I make another UI, as it also has table...I just call the same model to populate it, however I find error as the type can't be resolved.
So I tried to see with import stuff...
in the first one I can put import package.class;
as the class is in the list
however on the second one I can't see the class name when I press on the . after package name.
First question is...one tablemodel can be called more than once (from 2 different view class or more) as long as the way handling the data from database (behavior) is the same, right ?
Just trying to see where I should look for the problem is
Thanks in advance
- 07-05-2011, 08:43 AM #2
And don't you think you need to tell us about your development environment? We're not mind readers here.however on the second one I can't see the class name when I press on the . after package name.
db
- 07-05-2011, 08:47 AM #3
You shouldn't have taken the trouble. 6,100 results on Google for "QueryTableModel java"I created a QueryTableModel in a separate class called QueryTableModel.java
db
- 07-05-2011, 08:48 AM #4
Senior Member
- Join Date
- Jun 2011
- Posts
- 100
- Rep Power
- 0
I'm using Eclipse in XP with JRE System Library 1.6.0_02 also Windows Builder Pro plugin
- 07-05-2011, 09:36 AM #5
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,375
- Blog Entries
- 7
- Rep Power
- 17
How can you run your code (as you wrote in your OP) while you're having compilation problems?
kind regards,
JosWhen people rob a bank they get a penalty; when banks rob people they get a bonus.
- 07-05-2011, 09:46 AM #6
Senior Member
- Join Date
- Jun 2011
- Posts
- 100
- Rep Power
- 0
Similar Threads
-
Question concerning question marks and colons
By jim01 in forum New To JavaReplies: 17Last Post: 01-14-2011, 12:05 AM -
Question mark colon operator question
By orchid in forum Advanced JavaReplies: 9Last Post: 12-19-2010, 08:49 AM -
MVC question
By Tom_ in forum Advanced JavaReplies: 1Last Post: 08-12-2010, 12:01 PM -
help question
By 99w210 in forum NetBeansReplies: 0Last Post: 03-08-2010, 05:23 AM -
JSP Question
By maheshkumarjava in forum JavaServer Pages (JSP) and JSTLReplies: 1Last Post: 03-29-2008, 10:51 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks