MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / showLogin

Method showLogin

Samples/samples/Oauth2Login/Oauth2Login.java:109–117  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

107 }
108
109 private void showLogin() {
110 Form f = new Form("Login", BoxLayout.y());
111 Button b = new Button("Login");
112 b.addActionListener(evt->{
113 doLogin();
114 });
115 f.add(b);
116 f.show();
117 }
118
119 private void setAccessToken(AccessToken tok) {
120 accessToken = tok;

Callers 1

startMethod · 0.95

Calls 5

yMethod · 0.95
addActionListenerMethod · 0.95
doLoginMethod · 0.95
showMethod · 0.95
addMethod · 0.65

Tested by

no test coverage detected