In vb you can say
and that will stop the function from executing more code, how can I do the same in java?Code:if filename = "" then exit sub
Here is what I got so far but its not compiling
Code:private void jToggleButton1ActionPerformed(java.awt.event.ActionEvent evt) { String filename=jTextArea1.getText(); if filename = "" then return; }
What do i have to put instead of 'return'?




Reply With Quote