AUTOR PREGUNTA #1
Buenas tardes,
hace un tiempo hice un programa básico de JAVA en linea y después de terminar el curso decidí poner en practica lo aprendido pero me veo estancado porque no se como hacer un botón de guardar en un programa de java hecho en bloc de notas y código de sistema.
si alguien me puede dar una mano se lo agradecería.
-
3 personas más tuvieron esta duda Yo también
PREGUNTAS SIMILARES
#2
Hello,
If you want to save button thenmake the button by below code
JButton b=new JButton("Click Here");
b.setBounds(10,10,10,10);
f.add(b);
f.setSize(40,40);
f.setLayout(null);
f.setVisible(true);
or
by java swing you cancreate button
After creating buttonthen extends the action listener and action preformed then you canaccess the button .
public void actionPerformed(ActionEvent e) {
// code for button
}