-
Notifications
You must be signed in to change notification settings - Fork 0
/
JoinGroup.java
50 lines (42 loc) · 1.46 KB
/
JoinGroup.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/*
* Copyright (C) 2010 WeaveBytes, Inc.,
*
* Confidential, all rights reserved. No distribution is permitted.
___ _______ ____ ________
\ \ __ / __| / \ / ___|
\ \ / \ / |_ / /\ \ / |_
\ \/ \/ /| _| / /__\ \/ /| _|
\ /\ / | |__/ ______ / | |___
\__/ \__/ |_______/ \ _/ |______|
___ __
______ | | ________ __ __ | |
/ ___| | | / __ \ | | | | _______| |
| | | | | | | | | | | | / ____| |
| |____| |__ | |__| |__| \____/ | \ \____| |
\_______|______\________/__ \________/__ \_________|
*/
//Description: JoinGroup.java is the class which defines GUI for joining a new group.
//Creation Date: September 2, 2011
//Authors : Simranpal Singh, Varinder Pal Singh
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
class JoinGroup {
JDialog d;
JoinGroup(JFrame parent) {
d = new JDialog(parent);
d.setIconImage(Toolkit.getDefaultToolkit().getImage("images/icons/32x32/user.png"));
d.setResizable(false);
JPanel panel=new JPanel(null);
JLabel lblJoin = new JLabel("Under development");
lblJoin.setBounds(50,50,200,20);
panel.add(lblJoin);
d.setModal(true);
d.pack();
d.setSize(500,200);
d.setLocation(400, 400);
d.getContentPane().add(panel);
d.setTitle("Join Group");
d.setVisible(true);
}
}