How To Log Into Dayforce?

How do I make a functional log in screen?

  • I'm creating simple GUI's using Swing in Java, and one project I wanted to try was a simple GUI that you could log in (all log in information would be serialized). Once logged in, a user could log at various stats and other things, however, I don't know how to go from one window to another? Do I close the log in window and open another, separate GUI, or do I somehow transition the GUI's look into something different.

  • Answer:

    Well, to move from one window to another you can create a new jpanel form in the same project by going to Add File -> Swing GUI Forms -> JPanel Form. Let the name of this new class be home. Now, suppose you have a "Button" in your main window (from which you want to go to the other window) and you want to go to the other window by pressing that button, then on the "ActionPerformed" event of that button you can write the following code. home h = new home(); h.setVisible(true); this.dispose(); It will create a new object "h" of class home and set the visibility of class home to true. So now the new window will appear on your screen. this.dispose() will close the current window in the background. I hope this is what you were asking.

Mohit Arora at Quora Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.