I have a doubt regarding Swing application. In this image, if the check box is checked and next button is clicked, it need to show the printed text in the next frame as "enter the movie name". Could anyone please help me with this?
Code:
private void nextActionPerformed(java.awt.event.ActionEvent evt){
if (movie.isSelected()== true ){
// code
}
else
{
// code
}
}
What code I need to write to show the text as "enter the movie name:______" in the same window when next button is clicked
Image:
In this panel you can make a textfield invisible. When you clicked button the textfield will enable for input Movie name