0

How should i print the jframe components in javanetbeans using swing..... Anyone please help me?

1st Mar 2017, 4:04 AM
Arpan Singh
Arpan Singh - avatar
5 Respuestas
+ 6
You will need to create all the components first,next add them to one or more panels and finally add the panel to to ur frame
21st Apr 2017, 5:14 AM
Meharban Singh
Meharban Singh - avatar
+ 1
are you just talking about JFrame.setVisible(true); or (in constructer/instance method) this.getContentPane(). add(component); ?
6th Mar 2017, 10:56 AM
William La Flamme
William La Flamme - avatar
0
bro I want to print all the components to generate a slip.how should I? using netbeans
6th Mar 2017, 11:54 AM
Arpan Singh
Arpan Singh - avatar
0
Thnx
15th Sep 2019, 4:58 AM
Arpan Singh
Arpan Singh - avatar
- 1
use print fn provided . ex . JFrameName.print(); you can pass diff parameters like header, footer , page no. etc
21st Apr 2017, 2:23 AM
Yash Tiwari
Yash Tiwari - avatar