How to put certain Data on Column in JTable?

MorsH :

Im Very New in java and im still learning how to put data on notepad. but i want to put one text to the JTable. I Dont know how to put those arrowed text into JTable

bcr666 :

You should make a TableModel then add rows of data to your table model. There is plenty of information here https://docs.oracle.com/javase/tutorial/uiswing/components/table.html

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=316748&siteId=1