Java Tutorial/Trail: Java and Javascript: Difference between revisions
Content deleted Content added
m →MozillaPersonaApplet: The JTextArea can show the full assertion even though there are few or no whitespaces in it |
|||
Line 239:
private final static String version = "0.5";
private JButton login, logout;
private
@Override
Line 248:
logout = new JButton ("logout");
logout.addActionListener (this);
textArea.setLineWrap (true);
textArea.setWrapStyleWord (false);
textArea.setText ("[ Version " + version + " ]");
JPanel panel = new JPanel ();
Line 257 ⟶ 260:
setLayout (new BorderLayout ());
add (panel, BorderLayout.NORTH);
add (
}
Line 264 ⟶ 267:
public void callbackLogin (String assertion)
{
}
public void callbackLogout ()
{
}
public void callbackCancel ()
{
}
|