Class LoginDialog

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public class LoginDialog extends JDialog
Server login dialog.
See Also:
Serialized Form
  • Constructor Details

    • LoginDialog

      public LoginDialog(Frame owner, StendhalClient client)
      Create a new LoginDialog.
      Parameters:
      owner - parent window
      client - client
  • Method Details

    • setEnabled

      public void setEnabled(boolean b)
      Overrides:
      setEnabled in class Component
    • connect

      public void connect(Profile profile)
      Connect to a server using a given profile.
      Parameters:
      profile - profile used for login