summaryrefslogtreecommitdiff
path: root/source/com/c2kernel/gui/tabs/AgentPropertiesPane.java
blob: b859c44f7ae542dc19485e47a646b0c3d884ae6f (plain)
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
49
50
package com.c2kernel.gui.tabs;

import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JScrollPane;
import javax.swing.JTable;
import javax.swing.JTextField;

/**************************************************************************
 *
 * $Revision: 1.2 $
 * $Date: 2005/07/05 11:34:17 $
 *
 * Copyright (C) 2003 CERN - European Organization for Nuclear Research
 * All rights reserved.
 **************************************************************************/


public class AgentPropertiesPane extends EntityTabPane {

	JTable roleTable;
	JTextField newPassword;
	JTextField newPasswordConfirm;
	JButton changePassword;
	
    public AgentPropertiesPane() {
        super("Properties", "Agent Details");
        initPanel();
        getGridBagConstraints();
        c.gridy++;
        JLabel roleHeader = new JLabel("Roles held");
        roleHeader.setFont(titleFont);
        roleHeader.setForeground(headingColor);
        gridbag.setConstraints(roleHeader, c);
        add(roleHeader);
        roleTable = new JTable(1,1);
        JScrollPane roleScroll = new JScrollPane(roleTable);
        c.gridy++;
        gridbag.setConstraints(roleScroll, c);
        add(roleScroll);
        
        JLabel passHeader = new JLabel("Change password");
        
    }
    
    public void run() {
    	
    }

}