Package database

Examples of database.DbwDBConnection


  public ChangePassword(String userName) throws SQLException{
    super(TITLE_CHANGE_PASSWORD_FRAME);
    pane = this.getContentPane();
    this.userName=userName;
    this.databaseConnection= new DbwDBConnection();
   
    createComponents();
    createPanels();
    this.setVisible(true);
   
View Full Code Here


  protected Object jMenuItem=new JMenuItem();

  public MainMenu(String userName){
    this.userName=userName;

    dataBaseConnection= new DbwDBConnection();

    createMenu();
  }
View Full Code Here

    panelGlobal.add(statut, BorderLayout.LINE_START);

    pane.add(panelGlobal);
  }
  public static void main (String [] args){
    DbwDBConnection dataBase= new DbwDBConnection();
    //new UserPanel(0, dataBase);



  }
View Full Code Here

    super(title);
    pane = this.getContentPane();
    this.userName=userName;
    this.messageContent=messageContent;

    this.databaseConnection= new DbwDBConnection();
    this.date=new Date();
    createComponentsForNewMessage();
    this.setVisible(true);

    this.pack();
View Full Code Here

    pane = this.getContentPane();
    this.userName=userName;
    this.receiver=receiver;
    this.repliedMessageText=repliedMessageText;
    this.repliedSubject=repliedSubject;
    this.databaseConnection= new DbwDBConnection();
    this.date=new Date();
    createComponentsToReplyAMessage();
    this.setVisible(true);

    this.pack();
View Full Code Here

    super(title);
    pane = this.getContentPane();
    this.userName=userName;
    this.transferedMessageText=transferedMessageText;
    this.transferedSubject=transferedSubject;
    this.databaseConnection= new DbwDBConnection();
    this.date=new Date();
    createComponentsToTransferAMessage();
    this.setVisible(true);

    this.pack();
View Full Code Here

  private Container     pane;
  public User(String userName, String title){
    super(TOP_TITLE + " " +title);
    this.userName=userName;
    pane = this.getContentPane();
    dataBaseConnection=new DbwDBConnection();

    this.setDefaultCloseOperation(JFrame.DO_NOTHING_ON_CLOSE);
    this.addWindowListener(new WindowAdapter(){
      public void windowClosing(WindowEvent e) {
        int retour = JOptionPane.showConfirmDialog(User.this,EXIT_MESSAGE, EXIT_CONFIRMATION,JOptionPane.YES_NO_OPTION,JOptionPane.QUESTION_MESSAGE);
View Full Code Here

    this.passwordLabel.setPreferredSize(new Dimension(155,25));
    this.passwordTextField= new JPasswordField(savedPassword);
    this.passwordTextField.setPreferredSize(new Dimension(155,25));

    this.statut=new JLabel(STATUS);
    databaseConnection= new DbwDBConnection();


    this.cancel=new JButton(CANCEL);
    cancel.setPreferredSize(new Dimension(100,30));
    cancel.addMouseListener(new MouseAdapter(){
View Full Code Here

  public PanelMessage(PanelBottom pb, String userName, int messageNumber, int messageType){
    this.pb=pb;
    this.messageType=messageType;
    this.userName=userName;
    this.messageNumber=messageNumber;
    this.dataBaseConenction=new DbwDBConnection();
   
    createMessage();
   
  }
View Full Code Here

    this.mainWelcomeMessage=new JLabel();
    this.newPrivateMessage=new JLabel();
    this.newPublicMessage=new JLabel();
    this.labelUserName= new JLabel();

    this.databaseConnection = new DbwDBConnection();
    this.createLabels();
  }
View Full Code Here

TOP

Related Classes of database.DbwDBConnection

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.