Skip to main content

Model / Table

No replies

Let's try to trow a rope again:

Just like Flash based on Sun MVC, above is how we did SwingX based
A table model and a form model. Both have init(Collection) to get DTO/STO.
JXTable has a
Long getClickedRow(MouseEvent evt, String pkColName);
that gets the cliked pk for master/detail.
push/pull to get data in/out (to bound forms fields/formatedtextfields) and reduce overhead of listeners.

Currently... the newbies will get confused. Swing w/o MVC is hard.


---------------------------------------------------------------- is broadband internet. ~~1127863788318~~