Total members 9946 | Gratitudes |It is currently Thu Feb 09, 2012 3:01 am Login / Join Codemiles


All times are UTC [ DST ]




Post new topic Reply to topic  Quick reply  [ 3 posts ] 
Author Question
 Question subject: need help with Create USER and Password in JAVA
PostPosted: Fri Apr 10, 2009 12:37 pm 
Offline
Newbie
User avatar

Joined: Fri Apr 10, 2009 12:01 pm
Posts: 1
Has thanked: 0 time
Have thanks: 0 time

Hi
I really need for Someone help me with create user og password in JAVA, I am also upload how should system looking be...
I will be thanksful if someone can help me with this...
this is my msn ID: k.yalda@hotmail.com
plzzzzzzzzzzzz if someone can help me contact me....
I hope someone help me...
bye bye


TOP
 Profile Send private message  
Reply with quote  
 Question subject: Re: need help with Create USER and Password in JAVA
PostPosted: Mon Apr 20, 2009 12:22 pm 
Offline
Newbie
User avatar

Joined: Sat Jan 17, 2009 7:51 pm
Posts: 13
Has thanked: 0 time
Have thanks: 1 time
hey
if you can use java netbeans 6 point something.you can do it in design mode.just drag jlabel1 for user name then drag jtextfield ,then drag jpasswordfield for password.and drag a button for action.if you double click in button then created jButton1ActionPerformed. At last you can run this code in JButton1ActionPerformed

Code:
private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
//// Action submit button for main form submit//
       
    String user_name=jTextField1.getText();
        String pasword=jPasswordField1.getText();
    if(user_name==" " || pasword==" ")
{
  JOptionPane.showMessageDialog(null,"Invalid User Name or Password","Error",JOptionPane.ERROR_MESSAGE);
}

if you want file upload as like text file.you can see this code for file chooser

private JFileChooser fileChooser;

try
           {
            fileChooser = new JFileChooser();
            int result= fileChooser.showOpenDialog(this);                   
            if(result==JFileChooser.CANCEL_OPTION)
                 {
                   JOptionPane.showMessageDialog(null,"You Cancel it.","Warning",JOptionPane.ERROR_MESSAGE);
                 }
             else
                 {
              your work
                }
catch(FileNotFoundException exception)
           {
           }


TOP
 Profile Send private message  
Reply with quote  
 Question subject: Re: need help with Create USER and Password in JAVA
PostPosted: Tue Aug 11, 2009 9:32 am 
Offline
Newbie
User avatar

Joined: Tue Aug 11, 2009 9:25 am
Posts: 3
Has thanked: 0 time
Have thanks: 0 time
Thankyou for this hint. By setting both expirePassword to true and pwdLastSet to 0 I can force the user of the new AD account I create to change his password immediately the first time he logs in... which what I want. pay day loan payday advance loans I notice this WS_PasswordExpired attribute is mentioned in the IDM 7.1 documentation. However, ALL Microsoft TechNet articles about this subject only mention pwdLastSet. I hope this helps others in AD account creation.


TOP
 Profile Send private message  
Reply with quote  
Post new topic Reply to topic Quick reply  [ 3 posts ] 
Quick reply


  


 Similar topics
 Topic title   Forum   Author   Comments 
 Java seminar topic with demo  Java  Anonymous  1
 java project code  Java  Anonymous  0
 change Font of text in java  Java examples  msi_333  1
 Read your gmail using Java code  Java examples  msi_333  5
 project source code in java  Java  Anonymous  0

All times are UTC [ DST ]


Users browsing similar posts

Users browsing this forum: No registered users and 3 guests



Jump to:  
Previous Question | Next Question 




Home
General Talks
Finished Projects
Code Library
Games
Tutorials

Java
C/C++
C-sharp
php
Script
JSP/Servlets
Ajax
ASP/ASP.net
Google SEO
Database
Communications
Phpbb3 styles
Photoshop tutorials
Flash tutorials
Find a job






Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All copyrights reserved to codemiles.com 2007-2011
mileX v1.0 designed by codemiles team