Results 1 to 4 of 4
  1. #1
    drimades is offline Member
    Join Date
    Mar 2012
    Posts
    27
    Rep Power
    0

    Default Choosing startup form (frame)

    How can I set the startup form (frame), which will appear at the application start?

  2. #2
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,225
    Rep Power
    20

    Default Re: Choosing startup form (frame)

    Have that JFrame be the one you make visible?
    Not sure where the problem is...
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  3. #3
    drimades is offline Member
    Join Date
    Mar 2012
    Posts
    27
    Rep Power
    0

    Default Re: Choosing startup form (frame)

    The problem is that if I run the project none of the frames appear. As I have a bunch of frames in my project, I tried putting this.setVisible(true); after the initComponents(); of the frame I want to see in startup, but nothing happens.

  4. #4
    drimades is offline Member
    Join Date
    Mar 2012
    Posts
    27
    Rep Power
    0

    Default Re: Choosing startup form (frame)

    Solved! Set the class of the wanted startup frame as main class for the project and it worked. Thanks!

Similar Threads

  1. Choosing db option
    By Levian in forum JDBC
    Replies: 6
    Last Post: 03-17-2012, 03:21 AM
  2. Choosing Boosting in Lucene
    By cristh in forum Lucene
    Replies: 0
    Last Post: 04-16-2011, 03:18 AM
  3. Replies: 4
    Last Post: 01-18-2011, 09:22 AM
  4. Java slave Frame access to its owner main frame problem
    By cagdaseckin in forum New To Java
    Replies: 0
    Last Post: 12-10-2010, 11:40 AM
  5. Replies: 1
    Last Post: 10-24-2009, 04:10 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
  •