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

Status
Not open for further replies.

AnimePahe

Forum Guru
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
  • 721
    Views
  • 3
    Participants
Last reply from:
AnimePahe

Trending Topics

Online now

Members online
646
Guests online
3,176
Total visitors
3,822

Forum statistics

Threads
2,305,963
Posts
29,168,776
Members
1,195,524
Latest member
jjredk221
Back
Top