#Code from visual basic
3 messages · Page 1 of 1 (latest)
3 messages · Page 1 of 1 (latest)
does anyone know how to write this specific code from vb to java:
Private Sub command1_click()
//which i know the equivalent in java is: public void actionPerformed(ActionEvent e){
if(e.getSource() == JButton){}
If text1.text = "input" then
label1.caption = "output"
End Sub
pls help