🔒 Closed How to add data in JTable using data in notepad?

Status
Not open for further replies.
Pa-help naman po. May project po kami and bank system po 'yung sa amin. Nagawa ko na po 'yung ibang function at ang kulang ko na lang is lalabas sa JTable 'yung transaction. May 3 Rows po ako dun consists of Amount, Account Type and Login Time. Papaano ko ba mapapalabas 'yung mga kailangan kong data? Salamat po sa tutulong.
 
What do you mean in notepad?
Gawa ka ng model ni JTable muna.

DefaultTableModel model = new DefaultTableModel();
jtable.setModel(model);

tapos search mo sa google yung addColumnIdentifiers sa model.
Dun naman sa content ng JTable (yung mga rows), san mo ba ireretrieve yung data? Text File?
 
Status
Not open for further replies.

About this Thread

  • 6
    Replies
  • 701
    Views
  • 3
    Participants
Last reply from:
AnimePahe

Trending Topics

Online now

Members online
349
Guests online
662
Total visitors
1,011

Forum statistics

Threads
2,274,597
Posts
28,957,097
Members
1,234,335
Latest member
Unplugged18
Back
Top