0
How should i print the jframe components in javanetbeans using swing..... Anyone please help me?
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
+ 1
are you just talking about
JFrame.setVisible(true);
or
(in constructer/instance method)
this.getContentPane(). add(component);
?
0
bro I want to print all the components to generate a slip.how should I? using netbeans
0
Thnx
- 1
use print fn provided .
ex . JFrameName.print();
you can pass diff parameters like header, footer , page no. etc