/*
- * Copyright 2011 GRNET S.A. All rights reserved.
+ * Copyright 2011-2012 GRNET S.A. All rights reserved.
*
* Redistribution and use in source and binary forms, with or
* without modification, are permitted provided that the following
* The widget constructor.
*/
public CredentialsDialog(final Pithos app) {
- Anchor close = new Anchor();
+ Anchor close = new Anchor("close");
close.addStyleName("close");
close.addClickHandler(new ClickHandler() {
// Create the 'OK' button, along with a listener that hides the dialog
// when the button is clicked.
- Button confirm = new Button("Close", new ClickHandler() {
+ Button confirm = new Button("OK", new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
hide();