Skip to content

Commit dac1004

Browse files
committed
최종 수정
1 parent bd89b91 commit dac1004

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

src/view/Login.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public void windowOpened(WindowEvent e) {
8989
contentPane.add(panel);
9090
panel.setLayout(null);
9191

92-
JLabel idLabel = new JLabel("\uC544\uC774\uB514");
92+
JLabel idLabel = new JLabel("\uC774\uBA54\uC77C");
9393
idLabel.setHorizontalAlignment(SwingConstants.CENTER);
9494
idLabel.setFont(new Font("한컴산뜻돋움", Font.BOLD, 16));
9595
idLabel.setBounds(12, 10, 80, 36);

src/view/SignUp.java

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -624,8 +624,8 @@ public void mouseClicked(MouseEvent e) {
624624
Properties props = System.getProperties();
625625
props.put("mail.smtp.host", host);
626626
props.put("mail.smtp.auth", "true");
627-
props.put("mail.smtp.port", port);
628-
props.put("mail.smptp.ssl.enable", "true");
627+
props.put("mail.smptp.port", port);
628+
props.put("mail.smtp.ssl.enable", "true");
629629
props.put("mail.smtp.ssl.trust", host);
630630

631631
Session session = Session.getDefaultInstance(props,new javax.mail.Authenticator() {
@@ -640,7 +640,7 @@ protected PasswordAuthentication getPasswordAuthentication() {
640640
//메세지 작성
641641
try {
642642
MimeMessage message = new MimeMessage(session);
643-
message.setFrom(new InternetAddress(user)); //보내는 사람의 메일
643+
message.setFrom(new InternetAddress("")); //보내는 사람의 메일
644644
message.setRecipient(Message.RecipientType.TO, new InternetAddress(to)); //받을 사람의 메일
645645

646646
//제목
@@ -653,6 +653,7 @@ protected PasswordAuthentication getPasswordAuthentication() {
653653
JOptionPane.showMessageDialog(null, "인증코드가 발송되었습니다. 네이버 메일이 아니라면 0000을 입력해 주세요.", "인증코드 발송 안내", JOptionPane.INFORMATION_MESSAGE);
654654
}catch(MessagingException e1) {
655655
System.out.println("회원가입 메일로 메시지 인증코드 발송 과정에서 오류발생");
656+
JOptionPane.showMessageDialog(null, "네이버 메일이 아니라면 인증코드에 0000을 입력해 주세요.", "인증코드", JOptionPane.INFORMATION_MESSAGE);
656657
e1.printStackTrace();
657658
}
658659
}
@@ -832,6 +833,13 @@ public void mouseClicked(MouseEvent e) {
832833
singUpButton.setBounds(105, 475, 91, 32);
833834
panel.add(singUpButton);
834835

836+
JLabel userEmailLabel_1 = new JLabel("\uC778\uC99D\uCF54\uB4DC");
837+
userEmailLabel_1.setHorizontalAlignment(SwingConstants.LEFT);
838+
userEmailLabel_1.setFont(new Font("한컴산뜻돋움", Font.BOLD, 15));
839+
userEmailLabel_1.setBackground(Color.WHITE);
840+
userEmailLabel_1.setBounds(12, 211, 81, 30);
841+
panel.add(userEmailLabel_1);
842+
835843

836844
}
837845
}

0 commit comments

Comments
 (0)