Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Java in General and the fly likes Passing a float between jTables Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Passing a float between jTables" Watch "Passing a float between jTables" New topic

Passing a float between jTables

Jamie Wool
Ranch Hand

Joined: May 03, 2004
Posts: 49
I'm trying to pass a float from one jTabel into a float in another jTable, but keep getting semantic errors.

The code i'm trying to use:

Ernest Friedman-Hill
author and iconoclast

Joined: Jul 08, 2003
Posts: 24199

Well, this one line looks OK in isolation. By "semantic errors" I'm assuming you mean "syntax errors" reported by the compiler. Can you show us the actual error messages? And if the stack trace mentions a file and line number, perhaps you could show us the file and mark the offending line with a comment.

[Jess in Action][AskingGoodQuestions]
Jamie Wool
Ranch Hand

Joined: May 03, 2004
Posts: 49
er, sorry sorted it out.

The actual line of code is fine, i just accidentally added 1 to the column number, so was trying to write a float to a boolean.
I agree. Here's the link:
subject: Passing a float between jTables
It's not a secret anymore!