How to print a JTable object in the Java application

前端 未结 3 651
一整个雨季
一整个雨季 2020-11-30 15:36

Question Now once the data is fetched from the database and shown in the JTable object \"table\" embedded in the scrollPane, how do we create a print job th

3条回答
  •  攒了一身酷
    2020-11-30 16:28

    just use JTable.print() method. here is an article about sending JTable into printer and another one with more parameters

提交回复
热议问题