Laxman2809 0 Newbie Poster

just like my title says my loop won't work

import java.util.Scanner;



public class TestSocialEvent {
	

	static String title, attire, dayweek,input,time;
	static int day,month,year;
	public static void main(String[] args) {

		Scanner k = new Scanner(System.in);
		System.out.println("Social Planner");
		SocialEventController sec = new SocialEventController();
		while(true){
			SocialEvent ev = new SocialEvent(attire, dayweek, title, day, month, year,time);
			System.out.println("Please enter the type of party you are attending \n(Party, Club Meeting, Dance Class, Display,Quit)");
			String input = k.nextLine();
			input = input.toLowerCase();
			if(input.equals("party")){
				Party p = new Party(attire, dayweek, title, day, month, year,time);
				System.out.println("Choosen a Party");
				Party party = new Party(title, attire, time, year,day,month,dayweek);
				System.out.println("Please enter a description of your event: ");
				title=k.nextLine();
				System.out.println("Please Enter an attire: ");
				attire = k.nextLine();
				System.out.println("Please Enter an time: ");
				time=k.nextLine();
				System.out.println("Please enter the date input the day first: ");
				day=k.nextInt();
				System.out.println("Month: ");
				month=k.nextInt();
				System.out.println("Year: ");
				year=k.nextInt();
				System.out.println("Please enter the day it occurs on(Monday,Tuesday,etc): ");
				dayweek=k.nextLine();
				party.setPartyTime(time);
				party.setPartyTitle(title);
				party.setPartyAttire(attire);
				party.setPartyMonth(month);
				party.setPartyYear(year);
				party.setPartyDay(day);
				sec.addParty(attire,dayweek,title,day,month,year,time);
				sec.display();
			}
			else if(input.equals("club meeting")){
				System.out.println("Choosen a Club Meeting");

				System.out.println("Please enter a description of your event: ");
				title=k.nextLine();
				System.out.println("Please Enter an attire: ");
				attire = k.nextLine();
				System.out.println("Please Enter an time (hhmm): ");
				time=k.nextLine();
				System.out.println("Please enter the date input the day first: ");
				day=k.nextInt();
				System.out.println("Month: ");
				month=k.nextInt();
				System.out.println("Year: ");
				year=k.nextInt();
				System.out.println("Please enter the day it occurs on(Monday,Tuesday,etc): ");
				dayweek=k.next();
				ClubMeeting club = new ClubMeeting(title, attire, time, year,day,month,dayweek);
				club.setClubTitle(title);
				club.setClubAttire(attire);
				club.setClubTime(time);
				club.setClubDay(day);
				club.setClubMonth(month);
				club.setClubYear(year);
				club.setClubDayweek(dayweek);
				sec.addClubMeeting(attire,dayweek,title,day,month,year,time);
			}
			else if (input.equals("dance class")){
				System.out.println("Choosen a Dance Class");
				System.out.println("Please enter a description of your event: ");
				title=k.nextLine();
				System.out.println("Please Enter an attire: ");
				attire = k.nextLine();
				System.out.println("Please Enter an time: ");
				time=k.nextLine();
				System.out.println("Please enter the date input the day first: ");
				day=k.nextInt();
				System.out.println("Month: ");
				month=k.nextInt();
				System.out.println("Year: ");
				year=k.nextInt();
				System.out.println("Please enter the day it occurs on: ");
				dayweek=k.next();
				DanceClass dance = new DanceClass(attire, title, time, day, month, year, dayweek);
				dance.setDanceTitle(title);
				dance.setDanceAttire(attire);
				dance.setDanceTime(time);
				dance.setDanceDay(day);
				dance.setDanceMonth(month);
				dance.setDanceYear(year);
				dance.setDanceDayweek(dayweek);
				sec.addDanceClass(attire, dayweek, title, day, month, year,time);
			}
			else if(input.equals("display")){
				System.out.println("Choosen to Display Social Planner");
				sec.display();
			}
			else if(input.equals("quit"));
			break;
		}	
}
}