General question about using a JTable from another class
posted 13 years ago
hi guys, I'm starting to write a small application (something like a diary to keep various tasks of the day). There'll be a MainApp, with just a simple main() in it. And a DiaryApp that will call everything. So, my DiaryApp will use a MyDiaryUI class, and a TasksTableUI class. The later extends JPanel. Now, my problem is trying to display the JTable from TasksTableUI in my GUI. Any general ideas tips about how to get this working? PS: I don't post any code because I assume this is more of a design question than trying to repair some specific code. If anybody thinks that looking at the code would be helpfull at all, please let me know. Thanks!