/**
* Create service Selection container
* @param parent window Container
*/
Public Serviceselectcomposite (composite parent)
{
Super (parent, SWT. NONE);
this. Parent = parent;
Createcontents ();
Setcontentsvisible (FALSE);
}
/**
* Create a Service selection dialog window containing controls
*/
private void Createcontents ()
{
TRANSFERACCOUNTLBL = new Label (parent, SWT. BORDER);
TAC = new Transferaccountcomposite (parent);
Transferaccountlbl.addmouselistener (New Mouseadapter ()
{
public void MouseDown (MouseEvent arg0)
{
Tac.setbounds (50, 30, 400, 300);
Tac.setvisible (TRUE);
Setcontentsvisible (FALSE);
}
});
TAC.GETRETURNLBL (). Addmouselistener (New Mouseadapter ()
{
public void MouseDown (MouseEvent arg0)
{
Tac.setvisible (FALSE);
Setcontentsvisible (TRUE);
}
});
Transferaccountlbl.setbackgroundimage (Swtresourcemanager.getimage (
Serviceselectcomposite. Class,
"Selectserviceimages/transferaccounts.jpg"));
Transferaccountlbl.setbounds (11, 36, 80, 18);
PLEASESELECTSERVICELBL = new Label (parent, SWT. NONE);
Pleaseselectservicelbl.settext ("Please select the service you need:");
Pleaseselectservicelbl.setbounds (10, 8, 130, 20);
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.