private void init() {
		/* UI */
		//setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 362, 391);	
		Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
		Dimension windowSize = this.getSize();
		int windowX = Math.max(0, (screenSize.width  - windowSize.width ) / 2);
		int windowY = Math.max(0, (screenSize.height - windowSize.height) / 2);
		this.setLocation(windowX-750, windowY);
		
		contentPane = new JPanel();
		contentPane.setBorder(new EmptyBorder(5, 5, 5, 5));
		setContentPane(contentPane);
		
		lblID = new JLabel("ID");
		lblID.setFont(new Font("", Font.BOLD, 12));
		txtID = new JTextField();
		txtID.setEditable(false);
		txtID.setFont(new Font("", Font.BOLD, 12));
		txtID.setColumns(10);
		
		lblName = new JLabel("Name");
		lblName.setFont(new Font("", Font.BOLD, 12));
		txtName = new JTextField();
		txtName.setEditable(false);
		txtName.setFont(new Font("", Font.BOLD, 12));
		txtName.setColumns(10);
		
		lblEmail = new JLabel("Email");
		lblEmail.setFont(new Font("", Font.BOLD, 12));
		txtEmail = new JTextField();
		txtEmail.setEditable(false);
		txtEmail.setFont(new Font("", Font.BOLD, 12));
		txtEmail.setColumns(10);
		
		lblPhone = new JLabel("Phone");
		lblPhone.setFont(new Font("", Font.BOLD, 12));
		txtPhone = new JTextField();
		txtPhone.setEditable(false);
		txtPhone.setFont(new Font("", Font.BOLD, 12));
		txtPhone.setColumns(10);
		
		lblPhoto = new JLabel("Photo");
		lblPhoto.setFont(new Font("", Font.BOLD, 14));
		lblPhoto.setBackground(new Color(255, 250, 250));
		lblPhoto.setOpaque(true);
		lblPhoto.setHorizontalAlignment(SwingConstants.CENTER);
		txtSearch = new JTextField();
		txtSearch.setFont(new Font("", Font.BOLD, 12));
		txtSearch.setColumns(10);
		
		txtDay = new JTextField();
		txtDay.setEditable(false);
		txtDay.setColumns(10);
		
		btnSearch = new JButton("Search");
		btnSearch.setFont(new Font("", Font.BOLD, 12));
		
		String data[];
		data=Control_Data.outputListDay();
		list = new JList(data);
		listscrollPane = new JScrollPane(list);
		
		rdbtnDay = new JRadioButton("Day");
		rdbtnDay.setFont(new Font("", Font.BOLD, 12));
		rdbtnDay.setSelected(true);
		rdbtnName = new JRadioButton("Name");
		rdbtnName.setFont(new Font("", Font.BOLD, 12));
		btnLogout = new JButton("Logout");
		btnLogout.setFont(new Font("", Font.BOLD, 12));
		btnDelete = new JButton("Delete");
		btnDelete.setFont(new Font("", Font.BOLD, 12));
		
		group= new ButtonGroup();
		
		group.add(rdbtnDay);
		group.add(rdbtnName);
		
		
		
		GroupLayout groupLayout = new GroupLayout(contentPane);
		groupLayout.setHorizontalGroup(
			groupLayout.createParallelGroup(Alignment.TRAILING)
				.addGroup(groupLayout.createSequentialGroup()
					.addComponent(listscrollPane, GroupLayout.PREFERRED_SIZE, 111, GroupLayout.PREFERRED_SIZE)
					.addGroup(groupLayout.createParallelGroup(Alignment.LEADING)
						.addGroup(groupLayout.createSequentialGroup()
							.addPreferredGap(ComponentPlacement.RELATED)
							.addGroup(groupLayout.createParallelGroup(Alignment.TRAILING)
								.addGroup(groupLayout.createSequentialGroup()
									.addGroup(groupLayout.createParallelGroup(Alignment.TRAILING)
										.addGroup(groupLayout.createParallelGroup(Alignment.LEADING)
											.addComponent(lblPhone)
											.addComponent(lblEmail)
											.addComponent(lblName))
										.addComponent(lblID, GroupLayout.PREFERRED_SIZE, 21, GroupLayout.PREFERRED_SIZE))
									.addGap(15)
									.addGroup(groupLayout.createParallelGroup(Alignment.LEADING)
										.addComponent(txtPhone, 152, 152, Short.MAX_VALUE)
										.addComponent(txtID, 152, 152, 152)
										.addComponent(txtName, 152, 152, 152)
										.addComponent(txtEmail, 152, 152, 152)))
								.addComponent(txtDay, GroupLayout.DEFAULT_SIZE, 208, Short.MAX_VALUE)
								.addGroup(groupLayout.createSequentialGroup()
									.addGroup(groupLayout.createParallelGroup(Alignment.LEADING, false)
										.addComponent(btnLogout, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
										.addGroup(groupLayout.createSequentialGroup()
											.addGap(1)
											.addGroup(groupLayout.createParallelGroup(Alignment.LEADING)
												.addComponent(rdbtnDay)
												.addComponent(rdbtnName)))
										.addComponent(btnDelete, GroupLayout.DEFAULT_SIZE, GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
									.addPreferredGap(ComponentPlacement.RELATED, 30, Short.MAX_VALUE)
									.addComponent(lblPhoto, GroupLayout.PREFERRED_SIZE, 107, GroupLayout.PREFERRED_SIZE))))
						.addGroup(groupLayout.createSequentialGroup()
							.addGap(15)
							.addComponent(txtSearch, GroupLayout.PREFERRED_SIZE, 113, GroupLayout.PREFERRED_SIZE)
							.addPreferredGap(ComponentPlacement.RELATED)
							.addComponent(btnSearch, GroupLayout.DEFAULT_SIZE, 80, Short.MAX_VALUE)))
					.addGap(100))
		);
		groupLayout.setVerticalGroup(
			groupLayout.createParallelGroup(Alignment.TRAILING)
				.addGroup(groupLayout.createSequentialGroup()
					.addContainerGap()
					.addGroup(groupLayout.createParallelGroup(Alignment.BASELINE)
						.addComponent(txtSearch, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
						.addComponent(btnSearch, GroupLayout.PREFERRED_SIZE, 23, GroupLayout.PREFERRED_SIZE))
					.addGap(18)
					.addGroup(groupLayout.createParallelGroup(Alignment.BASELINE)
						.addComponent(txtID, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
						.addComponent(lblID))
					.addGap(18)
					.addGroup(groupLayout.createParallelGroup(Alignment.BASELINE)
						.addComponent(txtName, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
						.addComponent(lblName))
					.addGap(18)
					.addGroup(groupLayout.createParallelGroup(Alignment.BASELINE)
						.addComponent(txtPhone, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
						.addComponent(lblPhone))
					.addGap(18)
					.addGroup(groupLayout.createParallelGroup(Alignment.BASELINE)
						.addComponent(txtEmail, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
						.addComponent(lblEmail))
					.addGap(18)
					.addComponent(txtDay, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)
					.addGap(18)
					.addGroup(groupLayout.createParallelGroup(Alignment.TRAILING, false)
						.addComponent(lblPhoto, GroupLayout.PREFERRED_SIZE, 97, GroupLayout.PREFERRED_SIZE)
						.addGroup(groupLayout.createSequentialGroup()
							.addComponent(btnLogout)
							.addPreferredGap(ComponentPlacement.RELATED)
							.addComponent(btnDelete)
							.addGap(9)
							.addComponent(rdbtnDay)
							.addGap(13)))
					.addGap(10))
				.addComponent(listscrollPane, GroupLayout.DEFAULT_SIZE, 353, Short.MAX_VALUE)
				.addGroup(groupLayout.createSequentialGroup()
					.addContainerGap()
					.addComponent(rdbtnName))
		);
		contentPane.setLayout(groupLayout);
		setVisible(true);
	}