CODEFETCH™
            Examples
Searched for 2 expression(s): login   screen  
Java API
javax.security.auth.login.LoginContext search codefetch
The LoginContext class describes the basic methods used to authenticate Subjects and provides a way to develop an application...
javax.security.auth.login.AppConfigurationEntry search codefetch
This class represents a single LoginModule entry configured for the application specified in the getAppConfigurationEntry(Str...
javax.security.auth.login.Configuration search codefetch
This is an abstract class for representing the configuration of LoginModules under an application.
java.security.AuthProvider.login search codefetch
javax.swing.SwingUtilities.convertPointFromScreen search codefetch
javax.swing.SwingUtilities.convertPointToScreen search codefetch
java.awt.Robot.createScreenCapture search codefetch
Creates an image containing pixels read from the screen.
javax.swing.JDialog.dialogInit search codefetch
Called by the constructors to init the JDialog properly.
Most relevant API matches shown. View All.
Source code below from:
Professional Java User Interfaces
By Mauro Marinilli
Published 26 May, 2006
Average rating

      Powells     Alibris

PJUI/com/marinilli/b1/c8/cakes/test/delivery/content/DeliveryPanel0TTGTest.java (81 lines)
65  
66 //    12:   finder.setName( "PasswordTextField" ); 
67 //    13:   JTextField passwordField = ( JTextField ) finder.find( loginScreen, 0 );
68 //    14:   assertNotNull( "Could not find the passwordField", passwordField ); 
69 //    15:   assertEquals( "Password field is empty", "", passwordField.getText( ) ); 
70 // 
71 //    16:   getHelper().enterClickAndLeave( new MouseEventData( this, enterButton ) ); 
72 //    17:   DialogFinder dFinder = new DialogFinder( loginScreen );
73 //    18:   showingDialogs = dFinder.findAll(); 
74 //    19:   assertEquals( "Number of dialogs showing is wrong", 1, showingDialogs.size( ) ); 
Additional matches viewable in cache of PJUI/com/marinilli/b1/c8/cakes/test/delivery/content/DeliveryPanel0TTGTest.java.
Source code below from:
Java Enterprise in a Nutshell (In a Nutshell)
By Jim Farley, William Crawford, Prakash Malani, John Norman, and Justin Gehtland
Published 22 November, 2005
Average rating

      Powells     Alibris

ch12-WebServices/src/java/com/oreilly/jent/people/servlet/LoginFilter.java (129 lines)
38  
39 public class LoginFilter implements Filter {
40     // Some constants used for session variables and request parameters 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
47 {"jane", "janepw"} }; 48 49 // URL location of the login entry screen 50 private String mLoginURI = "login"; 51
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
69 HttpSession session = request.getSession(); 70 71 // If the target is the login entry screen, let the 72 // request pass through 73 if (request.getRequestURI().endsWith(getLoginURI())) {
Additional matches viewable in cache of ch12-WebServices/src/java/com/oreilly/jent/people/servlet/LoginFilter.java.
ch18-JUnitCactus/src/java/com/oreilly/jent/people/servlet/LoginFilter.java (129 lines)
38  
39 public class LoginFilter implements Filter {
40     // Some constants used for session variables and request parameters 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
47 {"jane", "janepw"} }; 48 49 // URL location of the login entry screen 50 private String mLoginURI = "login"; 51
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
69 HttpSession session = request.getSession(); 70 71 // If the target is the login entry screen, let the 72 // request pass through 73 if (request.getRequestURI().endsWith(getLoginURI())) {
Additional matches viewable in cache of ch18-JUnitCactus/src/java/com/oreilly/jent/people/servlet/LoginFilter.java.
Source code below from:
Java Cookbook, Second Edition
By Ian Darwin
Published 14 June, 2004
Average rating

      Powells     Alibris

gui/cardlayout/CardLayDemo.java (139 lines)
2  
3 /* CardLayout Demo: Login Applet */
4  
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
112 public void init() { 113 // Main panel (managed by CardLayout) is details 114 // for either Login, Passwd or Welcome! screen. 115 116 setLayout(cardlay = new CardLayout());
Additional matches viewable in cache of gui/cardlayout/CardLayDemo.java.
network/chat/ChatRoom.java (223 lines)
46     protected TextArea ta; 
47     /** The Login button */
48     protected Button lib; 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
126 // After packing the Frame, centre it on the screen. 127 Dimension us = cp.getSize(), 128 them = Toolkit.getDefaultToolkit().getScreenSize(); 129 int newX = (them.width - us.width) / 2; 130 int newY = (them.height- us.height)/ 2; 131 cp.setLocation(newX, newY); 132 cp.setVisible(true); 133 paintMessage = "Window should now be visible"; 134 repaint(); 135 } 136 137 protected String serverHost = "localhost"; 138 139 /** LOG ME IN TO THE CHAT */ 140 public void login() { 141 showStatus("In login!"); 142 if (loggedIn)
Additional matches viewable in cache of network/chat/ChatRoom.java.

Not satisfied? Try this search biased towards software and programming:
Google