Add printing test for JPasswordField