Skip to content
Snippets Groups Projects
Commit 887e66fe authored by Dott. Federico Volpini's avatar Dott. Federico Volpini
Browse files

fixed buttons highlighting in Page2.java

parent 7c380195
No related branches found
No related tags found
No related merge requests found
......@@ -196,6 +196,11 @@ public class Page2 extends PageImpl {
});
email.addKeyListener(new QL() {
@Override
public void keyPressed(KeyEvent e) {
//setPageComplete(validate());
}
@Override
public void keyReleased(KeyEvent e) {
FontData[] fD = email.getFont().getFontData();
......@@ -204,10 +209,12 @@ public class Page2 extends PageImpl {
fD[0].setStyle(SWT.BOLD);
email.setFont(new Font(container.getDisplay(), fD[0]));
email.setBackground(new Color(null, 255, 128, 128));
setPageComplete(false);
} else {
fD[0].setStyle(SWT.NORMAL);
email.setFont(new Font(container.getDisplay(), fD[0]));
email.setBackground(new Color(null, 255, 255, 255));
setPageComplete(validate());
}
app.getApplication().getApplicationProvider().setEmail(email.getText());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment