Results 1 to 5 of 5

Thread: new screen

  1. #1
    tha_crazy is offline Member
    Join Date
    Aug 2007
    Posts
    3
    Rep Power
    0

    Default new screen

    Hey,

    For my program i want to make a new screen/popup when they go to menu -> Login.
    But how do i do that ?
    i cant find anything on the internet about Java Applications ><

    Vincent

  2. #2
    hardwired's Avatar
    hardwired is offline Senior Member
    Join Date
    Jul 2007
    Posts
    1,576
    Rep Power
    14

  3. #3
    tha_crazy is offline Member
    Join Date
    Aug 2007
    Posts
    3
    Rep Power
    0

    Default

    Hmm ok.
    But can i also use that in an application ?
    because i`m now trying to make a new form using this:

    Java Code:
    private void loginToolStripMenuItem_click(Object sender, EventArgs e)
    	{		
    		loginform = new System.Windows.Forms.Screen();
    		loginform.set_AutoScaleDimensions(new System.Drawing.SizeF(6F, 13F));
    		loginform.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
    		loginform.set_ClientSize(new System.Drawing.Size(200, 200));
    		loginform.get_Controls().Add(this.button1);
    		loginform.get_Controls().Add(this.textBox1);
    		loginform.set_Name("Login");
    		loginform.set_Text("Login");
    		loginform.PerformLayout();
    	}
    This just blanks the screen tho.

  4. #4
    j2me64's Avatar
    j2me64 is offline Senior Member
    Join Date
    Sep 2009
    Location
    Zurich, Switzerland
    Posts
    962
    Rep Power
    11

    Default

    you can find an example for a login in this PasswordDemo.java example.

  5. #5
    goldest's Avatar
    goldest is offline Senior Member
    Join Date
    Oct 2009
    Location
    Pune, India
    Posts
    469
    Rep Power
    11

    Wink

    Quote Originally Posted by j2me64 View Post
    you can find an example for a login in this PasswordDemo.java example.
    j2me64,

    This is a dead thread, resurrected by a spammer. ;)
    Java Is A Funny Language... Really!
    Click on * and add to member reputation, if you find their advices/solutions effective.

Similar Threads

  1. JFrame at Center Screen
    By hiranya in forum AWT / Swing
    Replies: 8
    Last Post: 02-11-2010, 04:29 PM
  2. Replies: 1
    Last Post: 08-07-2007, 05:04 AM
  3. how to set full screen dimensions
    By valery in forum New To Java
    Replies: 1
    Last Post: 08-03-2007, 06:08 PM
  4. Clear screen in java
    By lenny in forum New To Java
    Replies: 1
    Last Post: 07-30-2007, 09:43 AM
  5. Full screen
    By Jack in forum Advanced Java
    Replies: 2
    Last Post: 07-02-2007, 05:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •