#Code from visual basic

3 messages · Page 1 of 1 (latest)

olive ore
#

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

ripe ventureBOT
#

Hey, @olive ore!
Please remember to /close this post once your question has been answered!