Java Simple Movie Ticket System Project

The Movie Ticket System system is developed using JavaThis project is suitable for java beginners who wants to improve java skills.

[adToAppearHere]

Paste the code Inside the Add Button

 txtcount.setText("");
        
 int numbers = Integer.parseInt(txtticket.getText());
        
        
 int tot = numbers * 20;
        
 txttotal.setText(String.valueOf(tot));
        
        
 for(int x=1; x <= numbers; x ++)
        {

           txtcount.setText(txtcount.getText()+"Your Ticket No " + x + "\n" );

        }

 

Leave a Comment

Your email address will not be published. Required fields are marked *

8 + sixteen =