This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I seek some swing example/demo, which would show me data from simple database table in JTable interconnected with editable form (preferably on the same panel). Form should browse rows by First/Prev/Next/Last buttons. Form or (and) JTable should be able to insert a new record and delete one.
I found many JTable examples, but I didn't found any with form.
I still dont really understand what you mean by Form. From what I gathered of your requirement, what you require is
1) Paginated table
2) Data to be loaded from the DB
3) Currently displayed data should be editable
4) New data creation.
That helps clarify the requirement.
So what have you got so far and where are you stuck?
Joined: Oct 22, 2002
I am able to code all what I need. But I feel, that I dont't need to define every button's event etc... That I can save some time and work, that some basic behaviour can be generated automatically by few clicks in my development environment (JDeveloper).
Some years ago we did something similar with Struts/ADF. The difference was, that web application was made and table and form were separated on their own respecive pages.
So I seek some tutorial/demo/example which shows me, how to generate simple swing aplication from database table.