Reputation: 14318
I am quite novice to Java (re-learning) and I am trying to make a database desktop application. The system will be used for a recording the incoming and outgoing of goods for a wholesaler.
I had done similar kind of application (Student Management System) before as my college project (2 yrs before) without adequate knowledge of OOP.
JFrame
for log in, and when logged, the login frame would close showing the other frame.Abstract table model
class was used for fetching the query and JTable
or some table was used for displaying the result.
To sum up, I simply had lots of frames that would hide and show, and Display table
To be honest, I , at that time, knew nothing more than what was in the book which i didn't bother to scrutinize every line of code, and still haven't seen such an application.
My Question is, how should be a the cascade of JFrames be, everything is managed within a single frame? Also I would be grateful on suggestion of framework (for such kind of application) and any sample project (if any).
Upvotes: 1
Views: 1101
Reputation: 168825
..how should be a the cascade of JFrames be, everything is managed within a single frame?
There are a number of options:
See the Laying Out Components Within a Container lesson of the Java Tutorial for ideas & examples.
Upvotes: 2