+ 1
How can I put a button that you actually click at in java?
2 odpowiedzi
0
Try to learn about java swing packages and jFrames. It will be helpful.
private javax.swing.JButton Button_name;
private void Button_nameActionPerformed(java.awt.event.ActionEvent evt) {
// add your code here:
}
- 1
Search "Java Swing components".
http://geti.dcc.ufrj.br/cursos/fes_2008_1/javatutorial/uiswing/learn/example1.html